minor revisit of encoding tampering scripts

This commit is contained in:
Miroslav Stampar
2011-04-04 08:11:11 +00:00
parent e957c4400c
commit 33d987805d
2 changed files with 4 additions and 4 deletions

View File

@@ -16,8 +16,8 @@ __priority__ = PRIORITY.LOWEST
def tamper(value):
"""
Replaces value with urlencode of non-encoded chars in value
Example: 'SELECT%20FIELD%20FROM%20TABLE' becomes '%53%45%4c%45%43%54%20%46%49%45%4c%44%20%46%52%4f%4d%20%54%41%42%4c%45'
Urlencodes all characters in a given value (not processing already encoded)
Example: 'SELECT FIELD FROM%20TABLE' becomes '%53%45%4c%45%43%54%20%46%49%45%4c%44%20%46%52%4f%4d%20%54%41%42%4c%45'
"""
retVal = value