mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-02-04 12:36:36 +00:00
improvement of url encoding technique (implemented failsafe routine for shortening too long GET queries)
This commit is contained in:
@@ -271,3 +271,9 @@ REFLECTED_VALUE_MARKER = '__REFLECTED_VALUE__'
|
||||
|
||||
# Regular expression used for marking non-alphanum characters
|
||||
REFLECTED_NON_ALPHA_NUM_REGEX = r'[^<>\\r\\n]+?'
|
||||
|
||||
# chars which can be used as a failsafe values in case of too long URL encoding value
|
||||
URLENCODE_FAILSAFE_CHARS = '()|,'
|
||||
|
||||
# maximum length of urlencoded value after which failsafe procedure takes away
|
||||
URLENCODE_CHAR_LIMIT = 4000
|
||||
|
||||
Reference in New Issue
Block a user