mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
improvement of heuristic check (now original value is included too)
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user