mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 09:36:35 +03:00
Minor minor fix
This commit is contained in:
parent
5014475637
commit
1e1f429668
|
@ -63,7 +63,7 @@ def tamper(payload):
|
||||||
randomStr = ''.join(random.choice(string.ascii_uppercase + string.lowercase) for x in range(random.randint(6, 12)))
|
randomStr = ''.join(random.choice(string.ascii_uppercase + string.lowercase) for x in range(random.randint(6, 12)))
|
||||||
retVal += "%%23%s%%0A" % randomStr
|
retVal += "%%23%s%%0A" % randomStr
|
||||||
elif payload[i] == '#' or payload[i:i+3] == '-- ':
|
elif payload[i] == '#' or payload[i:i+3] == '-- ':
|
||||||
retVal += payload[i]
|
retVal += payload[i:]
|
||||||
break
|
break
|
||||||
else:
|
else:
|
||||||
retVal += payload[i]
|
retVal += payload[i]
|
||||||
|
|
|
@ -49,7 +49,7 @@ def tamper(payload):
|
||||||
randomStr = ''.join(random.choice(string.ascii_uppercase + string.lowercase) for x in range(random.randint(6, 12)))
|
randomStr = ''.join(random.choice(string.ascii_uppercase + string.lowercase) for x in range(random.randint(6, 12)))
|
||||||
retVal += "%%23%s%%0A" % randomStr
|
retVal += "%%23%s%%0A" % randomStr
|
||||||
elif payload[i] == '#' or payload[i:i+3] == '-- ':
|
elif payload[i] == '#' or payload[i:i+3] == '-- ':
|
||||||
retVal += payload[i]
|
retVal += payload[i:]
|
||||||
break
|
break
|
||||||
else:
|
else:
|
||||||
retVal += payload[i]
|
retVal += payload[i]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user