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