Skip to content

Commit 725f647

Browse files
committed
Fixed handling of parameter names containing non-ASCII characters.
1 parent e131789 commit 725f647

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

doc/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
## Version 4.1 (TBA)
22
* Fixed: Multiple bug-fixes regarding several reported unhandled exceptions.
3+
* Fixed: Handling of parameter names containing non-ASCII characters.
34
* Fixed: Handling of non-ASCII characters in URLs to ensure proper request encoding.
45
* Revised: Refactored with improved page decompression and safer HTTP response handling.
56
* Revised: Refactored OS looping to respect user-specified targets or automatically iterate over supported OSes if none are specified or detected.

src/core/injections/controller/controller.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ def is_valid_param_name(name):
545545
name = name.strip()
546546
if not name:
547547
return False
548-
return bool(re.match(r'^[a-zA-Z0-9._\-\[\]]+$', name))
548+
return bool(re.match(r'^[\w._\-\[\]]+$', name, re.UNICODE))
549549

550550
"""
551551
Define the check parameter based on the data type (POST, GET, COOKIE).

src/utils/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ def sys_argv_errors():
261261
DESCRIPTION = "The command injection exploiter"
262262
AUTHOR = "Anastasios Stasinopoulos"
263263
VERSION_NUM = "4.1"
264-
REVISION = "124"
264+
REVISION = "125"
265265
STABLE_RELEASE = False
266266
VERSION = "v"
267267
if STABLE_RELEASE:

0 commit comments

Comments
 (0)