From 87b5262ef7e8e287f5b71894222ccf9c7722f3ee Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Mon, 1 Jun 2015 14:18:21 +0200 Subject: [PATCH] Minor patch --- tamper/symboliclogical.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tamper/symboliclogical.py b/tamper/symboliclogical.py index a14198748..cb8e91630 100644 --- a/tamper/symboliclogical.py +++ b/tamper/symboliclogical.py @@ -25,6 +25,6 @@ def tamper(payload, **kwargs): retVal = payload if payload: - retVal = re.sub(r"(?i)\bAND\b", "&&", re.sub(r"(?i)\bOR\b", "||", payload)) + retVal = re.sub(r"(?i)\bAND\b", "%26%26", re.sub(r"(?i)\bOR\b", "%7C%7C", payload)) return retVal