mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 13:11:29 +00:00
Minor fix (templatePayload had duplicate string patterns for where==NEGATIVE)
This commit is contained in:
@@ -335,7 +335,7 @@ def checkSqlInjection(place, parameter, value):
|
||||
origValue = "%d.%d" % (randomInt(6), randomInt(1))
|
||||
else:
|
||||
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:
|
||||
origValue = ""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user