Skip to content

Commit

Permalink
Potential fix for #979
Browse files Browse the repository at this point in the history
  • Loading branch information
stasinopoulos committed Nov 11, 2024
1 parent 7d4db1a commit 75dee55
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/core/injections/controller/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def invalid_data(request):

try:
if os.stat(request_file).st_size != 0:
with open(request_file, 'r') as file:
with open(request_file, encoding=settings.DEFAULT_CODEC) as file:
request = file.read()
else:
invalid_data(request_file)
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 = "110"
REVISION = "111"
STABLE_RELEASE = False
VERSION = "v"
if STABLE_RELEASE:
Expand Down

0 comments on commit 75dee55

Please sign in to comment.