From 1e1f4296681403822bd8ba40c71fe39d52abd266 Mon Sep 17 00:00:00 2001 From: Bernardo Damele Date: Mon, 11 Jul 2011 09:22:47 +0000 Subject: [PATCH] Minor minor fix --- tamper/space2morepound.py | 2 +- tamper/space2pound.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tamper/space2morepound.py b/tamper/space2morepound.py index 63a8003e4..a94d80ab6 100644 --- a/tamper/space2morepound.py +++ b/tamper/space2morepound.py @@ -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] diff --git a/tamper/space2pound.py b/tamper/space2pound.py index bd0d25612..b717b2e58 100644 --- a/tamper/space2pound.py +++ b/tamper/space2pound.py @@ -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]