mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-10-22 03:33:57 +00:00
Implementation for #2552 (sorry @mg98)
This commit is contained in:
parent
e47c1aa61b
commit
2c95b65eac
7 changed files with 61 additions and 42 deletions
|
|
@ -600,7 +600,7 @@ def paramToDict(place, parameters=None):
|
|||
|
||||
if condition:
|
||||
testableParameters[parameter] = "=".join(parts[1:])
|
||||
if not conf.multipleTargets and not (conf.csrfToken and parameter == conf.csrfToken):
|
||||
if not conf.multipleTargets and not (conf.csrfToken and re.search(conf.csrfToken, parameter, re.I)):
|
||||
_ = urldecode(testableParameters[parameter], convall=True)
|
||||
if (_.endswith("'") and _.count("'") == 1 or re.search(r'\A9{3,}', _) or re.search(r'\A-\d+\Z', _) or re.search(DUMMY_USER_INJECTION, _)) and not parameter.upper().startswith(GOOGLE_ANALYTICS_COOKIE_PREFIX):
|
||||
warnMsg = "it appears that you have provided tainted parameter values "
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue