Skip to content

Commit

Permalink
Fixes #928
Browse files Browse the repository at this point in the history
  • Loading branch information
stasinopoulos committed Jul 4, 2024
1 parent e086401 commit 186000c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/core/injections/controller/checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def check_waf(url, http_request_method):
settings.print_data_to_stdout(settings.print_info_msg(info_msg))
if settings.VERBOSITY_LEVEL >= 1:
settings.print_data_to_stdout(settings.print_payload(payload))
payload = "".join(random.choices(string.ascii_uppercase, k=4)) + "=" + payload
payload = "".join(random.sample(string.ascii_uppercase, k=4)) + "=" + payload
if not "?" in url:
payload = "?" + payload
else:
Expand Down Expand Up @@ -1997,7 +1997,7 @@ def inappropriate_format(multi_parameters):
def check_similarities(all_params):
if settings.IS_JSON:
try:
_ = "".join(random.choices(string.ascii_uppercase, k=6))
_ = "".join(random.sample(string.ascii_uppercase, k=6))
all_params = ','.join(all_params)
json_data = json.loads(all_params, object_pairs_hook=OrderedDict)
all_params = flatten(json_data)
Expand Down
2 changes: 1 addition & 1 deletion src/utils/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ def sys_argv_errors():
DESCRIPTION = "The command injection exploiter"
AUTHOR = "Anastasios Stasinopoulos"
VERSION_NUM = "4.0"
REVISION = "82"
REVISION = "83"
STABLE_RELEASE = False
VERSION = "v"
if STABLE_RELEASE:
Expand Down

0 comments on commit 186000c

Please sign in to comment.