minor cosmetics on tamper scripts

This commit is contained in:
Miroslav Stampar
2011-04-04 08:18:26 +00:00
parent 33d987805d
commit 3253882071
9 changed files with 75 additions and 76 deletions

View File

@@ -15,15 +15,15 @@ from lib.core.enums import PRIORITY
__priority__ = PRIORITY.NORMAL
def tamper(value):
def tamper(payload):
"""
Replaces each character with random case value
Example: 'INSERT' might become 'InsERt'
"""
retVal = value
retVal = payload
if value:
if payload:
for match in re.finditer(r"[A-Za-z_]+", retVal):
word = match.group()