Skip to content

Commit

Permalink
Minor update
Browse files Browse the repository at this point in the history
  • Loading branch information
stasinopoulos committed May 9, 2024
1 parent ebeb131 commit daf9ec8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
10 changes: 4 additions & 6 deletions src/core/injections/controller/checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -2145,14 +2145,12 @@ def print_users(sys_users, filename, _, separator, TAG, cmd, prefix, suffix, whi
if not menu.options.no_logging:
output_file.write(" " + sys_users)
else:
# print(settings.SINGLE_WHITESPACE)
warn_msg = "It seems that you don't have permissions to read the '"
warn_msg += settings.PASSWD_FILE + "'."
warn_msg = "It seems that you don't have permissions "
warn_msg += "to read the content of the file '" + settings.PASSWD_FILE + "'."
print(settings.print_warning_msg(warn_msg))
except TypeError:
pass
except IndexError:
# print(settings.SINGLE_WHITESPACE)
warn_msg = "Some kind of WAF/IPS probably blocks the attempt to read '"
warn_msg += settings.PASSWD_FILE + "' to enumerate operating system users."
print(settings.print_warning_msg(warn_msg))
Expand Down Expand Up @@ -2201,8 +2199,8 @@ def print_passes(sys_passes, filename, _, alter_shell):
if not menu.options.no_logging:
output_file.write(" " + fields[0])
else:
warn_msg = "It seems that you don't have permissions to read the '"
warn_msg += settings.SHADOW_FILE + "' file."
warn_msg = "It seems that you don't have permissions "
warn_msg += "to read the content of the file '" + settings.SHADOW_FILE + "'."
print(settings.print_warning_msg(warn_msg))

"""
Expand Down
2 changes: 1 addition & 1 deletion src/utils/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def sys_argv_errors():
DESCRIPTION = "The command injection exploiter"
AUTHOR = "Anastasios Stasinopoulos"
VERSION_NUM = "4.0"
REVISION = "43"
REVISION = "44"
STABLE_RELEASE = False
VERSION = "v"
if STABLE_RELEASE:
Expand Down

0 comments on commit daf9ec8

Please sign in to comment.