mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-02 20:54:13 +03:00
improvement of heuristic check (now original value is included too)
This commit is contained in:
parent
06a872fc99
commit
84849316b3
|
@ -125,7 +125,7 @@ def heuristicCheckSqlInjection(place, parameter, value):
|
|||
if conf.postfix:
|
||||
postfix = conf.postfix
|
||||
|
||||
payload = "%s%s%s" % (prefix, randomStr(length=10, alphabet=['"', '\'', ')', '(']), postfix)
|
||||
payload = "%s%s%s%s" % (value, prefix, randomStr(length=10, alphabet=['"', '\'', ')', '(']), postfix)
|
||||
payload = agent.payload(place, parameter, value, payload)
|
||||
Request.queryPage(payload, place, raise404=False)
|
||||
result = wasLastRequestError()
|
||||
|
|
Loading…
Reference in New Issue
Block a user