From a71fcfbcc9d0f6c78559b837cacd72376c0c62c5 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Wed, 13 Oct 2010 14:29:53 +0000 Subject: [PATCH] one more tampering module --- tamper/doubleencode.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 tamper/doubleencode.py diff --git a/tamper/doubleencode.py b/tamper/doubleencode.py new file mode 100644 index 000000000..311eb10e9 --- /dev/null +++ b/tamper/doubleencode.py @@ -0,0 +1,11 @@ +import re + +from lib.core.convert import urlencode + +""" +Tampering value -> urlencode(value) +""" +def tamper(place, value): + if value: + value = urlencode(value) + return value