mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 05:01:30 +00:00
Accept [RANDNUM] as <char> in payloads.xml and handle it accordingly
This commit is contained in:
@@ -74,7 +74,7 @@ def __oneShotUnionUse(expression, unpack=True):
|
||||
|
||||
def configUnion(char=None, columns=None):
|
||||
def __configUnionChar(char):
|
||||
if char.isdigit() or char == "NULL":
|
||||
if char.isdigit() or char == "NULL" or char.startswith("[RANDNUM"):
|
||||
conf.uChar = char
|
||||
elif not char.startswith("'") or not char.endswith("'"):
|
||||
conf.uChar = "'%s'" % char
|
||||
|
||||
Reference in New Issue
Block a user