mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-03 13:14:13 +03:00
Minor refactoring
This commit is contained in:
parent
a927d94d39
commit
6210ddfbd6
|
@ -638,7 +638,7 @@ def heuristicCheckSqlInjection(place, parameter):
|
||||||
|
|
||||||
if _ and _.isdigit():
|
if _ and _.isdigit():
|
||||||
randInt = int(randomInt())
|
randInt = int(randomInt())
|
||||||
payload = "%s%s%s" % (prefix, "%s-%s" % (int(_) + randInt, randInt), suffix)
|
payload = "%s%s%s" % (prefix, "%d-%d" % (int(_) + randInt, randInt), suffix)
|
||||||
payload = agent.payload(place, parameter, newValue=payload, where=PAYLOAD.WHERE.REPLACE)
|
payload = agent.payload(place, parameter, newValue=payload, where=PAYLOAD.WHERE.REPLACE)
|
||||||
result = Request.queryPage(payload, place, raise404=False)
|
result = Request.queryPage(payload, place, raise404=False)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user