mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-25 11:03:47 +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)))
|
||||
retVal += "%%23%s%%0A" % randomStr
|
||||
elif payload[i] == '#' or payload[i:i+3] == '-- ':
|
||||
retVal += payload[i]
|
||||
retVal += payload[i:]
|
||||
break
|
||||
else:
|
||||
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)))
|
||||
retVal += "%%23%s%%0A" % randomStr
|
||||
elif payload[i] == '#' or payload[i:i+3] == '-- ':
|
||||
retVal += payload[i]
|
||||
retVal += payload[i:]
|
||||
break
|
||||
else:
|
||||
retVal += payload[i]
|
||||
|
|
Loading…
Reference in New Issue
Block a user