Skip to content

Commit

Permalink
Reword documentation (#206)
Browse files Browse the repository at this point in the history
  • Loading branch information
jxdv committed Jun 15, 2024
1 parent 33c8430 commit ef7b77d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ Execute the `grapheneX` command in order to start the interactive shell.
![GrapheneX Interactive Shell](https://user-images.githubusercontent.com/24392180/61892273-16e7af80-af14-11e9-91d8-8c7682439f06.gif)

• Animated gifs and screenshots added for demonstration and include the test execution of the unversioned grapheneX. Use `grapheneX` or `python -m graphenex` command for the execution.
• grapheneX currently supports [Python3.10](https://www.python.org/)
• grapheneX currently supports [Python 3.10](https://www.python.org/)

### Web Interface

Expand Down
4 changes: 2 additions & 2 deletions graphenex/core/cli/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -452,9 +452,9 @@ def do_harden(self, arg):
except PermissionError:
err_msg = "Insufficient permissions for hardening."
if check_os():
err_msg += " Get admin rights and rerun the grapheneX."
err_msg += " Get admin rights and rerun grapheneX."
else:
err_msg += " Try running the grapheneX with sudo."
err_msg += " Try running grapheneX with sudo."
logger.error(err_msg)
except Exception as e:
logger.error(f"Failed to execute hardening command: {e}")
Expand Down
4 changes: 2 additions & 2 deletions graphenex/core/utils/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,11 @@ def is_admin():
if check_os():
if not is_admin():
logger.warn("Some functions won't work without admin rights, " +
"try running the graphenex with admin access.")
"try running graphenex with admin access.")
else:
if not is_root():
logger.warn("Some functions won't work without root access, " +
"try running the grapheneX with sudo.")
"try running grapheneX with sudo.")


def get_modules():
Expand Down

0 comments on commit ef7b77d

Please sign in to comment.