First commit for Issue #120

This commit is contained in:
Miroslav Stampar
2018-09-05 00:16:35 +02:00
parent 95be19a692
commit ad5a731999
3 changed files with 14 additions and 1 deletions

View File

@@ -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)