mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
Changing --invalid-bignum from float producing to int producing
This commit is contained in:
@@ -333,7 +333,7 @@ def checkSqlInjection(place, parameter, value):
|
||||
_ = int(kb.data.randomInt[:2])
|
||||
origValue = "%s AND %s=%s" % (value, _, _ + 1)
|
||||
elif conf.invalidBignum:
|
||||
origValue = "%s.%s" % (kb.data.randomInt[:6], kb.data.randomInt[0])
|
||||
origValue = kb.data.randomInt[:6]
|
||||
else:
|
||||
origValue = "-%s" % kb.data.randomInt[:4]
|
||||
templatePayload = agent.payload(place, parameter, value="", newValue=origValue, where=where)
|
||||
|
||||
Reference in New Issue
Block a user