Minor minor fix

This commit is contained in:
Bernardo Damele 2011-07-11 09:22:47 +00:00
parent 5014475637
commit 1e1f429668
2 changed files with 2 additions and 2 deletions

View File

@ -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]

View File

@ -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]