mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 01:26:42 +03:00
minor fixes pointed by RS
This commit is contained in:
parent
f5e45bf113
commit
7a6bddf811
|
@ -62,6 +62,9 @@ def tamper(payload):
|
|||
if payload[i].isspace():
|
||||
randomStr = ''.join(random.choice(string.ascii_uppercase + string.lowercase) for x in range(random.randint(6, 12)))
|
||||
retVal += "%%23%s%%0A" % randomStr
|
||||
elif payload[i] == '#' or payload[i:i+3] == '-- ':
|
||||
retVal += payload[i]
|
||||
break
|
||||
else:
|
||||
retVal += payload[i]
|
||||
|
||||
|
|
|
@ -48,6 +48,9 @@ def tamper(payload):
|
|||
if payload[i].isspace():
|
||||
randomStr = ''.join(random.choice(string.ascii_uppercase + string.lowercase) for x in range(random.randint(6, 12)))
|
||||
retVal += "%%23%s%%0A" % randomStr
|
||||
elif payload[i] == '#' or payload[i:i+3] == '-- ':
|
||||
retVal += payload[i]
|
||||
break
|
||||
else:
|
||||
retVal += payload[i]
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user