mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
Adding a switch --invalid-string
This commit is contained in:
@@ -122,6 +122,8 @@ class Agent(object):
|
||||
value = "%s%s AND %s=%s" % (origValue, match.group() if match else "", _, _ + 1)
|
||||
elif conf.invalidBignum:
|
||||
value = randomInt(6)
|
||||
elif conf.invalidString:
|
||||
value = randomStr(6)
|
||||
else:
|
||||
if newValue.startswith("-"):
|
||||
value = ""
|
||||
|
||||
Reference in New Issue
Block a user