diff --git a/lib/core/agent.py b/lib/core/agent.py index 9b6e3b4fe..a3c6355d7 100644 --- a/lib/core/agent.py +++ b/lib/core/agent.py @@ -232,7 +232,7 @@ class Agent: payload = payload.replace(_, randomStr()) if origValue is not None: - payload = payload.replace("[ORIGVALUE]", origValue) + payload = payload.replace("[ORIGVALUE]", origValue if origValue.isdigit() else "'%s'" % origValue) if "[INFERENCE]" in payload: if Backend.getIdentifiedDbms() is not None: