mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-16 19:40:37 +03:00
removed that ugly hack
This commit is contained in:
parent
8212b7b745
commit
08c88495d0
|
@ -445,7 +445,7 @@ def heuristicCheckSqlInjection(place, parameter, value):
|
|||
payload = "%s%s%s%s" % (value, prefix, randomStr(length=10, alphabet=['"', '\'', ')', '(']), suffix)
|
||||
payload = agent.payload(place, parameter, value, payload)
|
||||
page, _ = Request.queryPage(payload, place, content=True, raise404=False)
|
||||
result = wasLastRequestDBMSError() or getCompiledRegex('(Error)|(Warning)|(Exception)', re.I|re.M).search(page)
|
||||
result = wasLastRequestDBMSError()
|
||||
|
||||
infoMsg = "heuristic test shows that %s " % place
|
||||
infoMsg += "parameter '%s' might " % parameter
|
||||
|
|
Loading…
Reference in New Issue
Block a user