mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-02 20:54:13 +03:00
major fix for heuristic check
This commit is contained in:
parent
749e25a217
commit
5cc1bd8a12
|
@ -104,10 +104,7 @@ def heuristicCheckSqlInjection(place, parameter, value):
|
|||
postfix = conf.postfix
|
||||
|
||||
payload = "%s%s%s" % (prefix, randomStr(length=10, alphabet=['"', '\'', ')', '(']), postfix)
|
||||
|
||||
if place == "URI":
|
||||
payload = conf.paramDict[place][parameter].replace('*', payload)
|
||||
|
||||
payload = agent.payload(place, parameter, value, payload)
|
||||
Request.queryPage(payload, place)
|
||||
result = wasLastRequestError()
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user