mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-09 08:00:36 +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:
|
if conf.postfix:
|
||||||
postfix = 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)
|
payload = agent.payload(place, parameter, value, payload)
|
||||||
Request.queryPage(payload, place, raise404=False)
|
Request.queryPage(payload, place, raise404=False)
|
||||||
result = wasLastRequestError()
|
result = wasLastRequestError()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user