mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-03-14 15:14:31 +03:00
minor patch
This commit is contained in:
parent
6d64f87190
commit
cd00c0d084
|
@ -94,7 +94,9 @@ class Agent:
|
|||
else:
|
||||
value = "-%s" % randomInt()
|
||||
else:
|
||||
value = "%s AND %s=%s" % (origValue, randomInt(2), randomInt(2))
|
||||
match = re.search(r'\A[^ ]+', newValue)
|
||||
newValue = newValue[len(match.group() if match else ""):]
|
||||
value = "%s%s AND %s=%s" % (origValue, match.group() if match else "", randomInt(2), randomInt(2))
|
||||
elif where == PAYLOAD.WHERE.REPLACE:
|
||||
value = ""
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue
Block a user