From ad5a73199927b388e313eeb3c63eb89a32156487 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Wed, 5 Sep 2018 00:16:35 +0200 Subject: [PATCH] First commit for Issue #120 --- lib/core/agent.py | 3 ++- xml/boundaries.xml | 11 +++++++++++ xml/errors.xml | 1 + 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/lib/core/agent.py b/lib/core/agent.py index ebdbb6e41..63c7e4851 100644 --- a/lib/core/agent.py +++ b/lib/core/agent.py @@ -301,7 +301,8 @@ class Agent(object): ("[SPACE_REPLACE]", kb.chars.space), ("[DOLLAR_REPLACE]", kb.chars.dollar), ("[HASH_REPLACE]", kb.chars.hash_), - ("[GENERIC_SQL_COMMENT]", GENERIC_SQL_COMMENT) + ("[GENERIC_SQL_COMMENT]", GENERIC_SQL_COMMENT), + ("[ORIGINAL]", origValue or "") ) payload = reduce(lambda x, y: x.replace(y[0], y[1]), replacements, payload) diff --git a/xml/boundaries.xml b/xml/boundaries.xml index b61dcb6e0..cd954ebcf 100644 --- a/xml/boundaries.xml +++ b/xml/boundaries.xml @@ -488,6 +488,17 @@ Formats: + + + 4 + 1 + 1 + 1 + ` + AND `[ORIGINAL] + + + 4 diff --git a/xml/errors.xml b/xml/errors.xml index a4c95b2a5..5889f842e 100644 --- a/xml/errors.xml +++ b/xml/errors.xml @@ -9,6 +9,7 @@ +