mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-04-01 07:44:18 +03:00
minor patch
This commit is contained in:
parent
6d64f87190
commit
cd00c0d084
|
@ -94,7 +94,9 @@ class Agent:
|
||||||
else:
|
else:
|
||||||
value = "-%s" % randomInt()
|
value = "-%s" % randomInt()
|
||||||
else:
|
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:
|
elif where == PAYLOAD.WHERE.REPLACE:
|
||||||
value = ""
|
value = ""
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user