mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-25 19:13:48 +03:00
Minor fix (templatePayload had duplicate string patterns for where==NEGATIVE)
This commit is contained in:
parent
ac2d40e259
commit
c9d3974205
|
@ -335,7 +335,7 @@ def checkSqlInjection(place, parameter, value):
|
||||||
origValue = "%d.%d" % (randomInt(6), randomInt(1))
|
origValue = "%d.%d" % (randomInt(6), randomInt(1))
|
||||||
else:
|
else:
|
||||||
origValue = "-%s" % randomInt()
|
origValue = "-%s" % randomInt()
|
||||||
templatePayload = agent.payload(place, parameter, newValue=origValue, where=where)
|
templatePayload = agent.payload(place, parameter, value="", newValue=origValue, where=where)
|
||||||
elif where == PAYLOAD.WHERE.REPLACE:
|
elif where == PAYLOAD.WHERE.REPLACE:
|
||||||
origValue = ""
|
origValue = ""
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user