From b913e2123dc5c78a2e8dce582a505b15b19a0756 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Mon, 22 Oct 2012 14:39:11 +0200 Subject: [PATCH] Displaying hex-decoded resulting output in --hex mode --- lib/core/agent.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/core/agent.py b/lib/core/agent.py index 6f0ec0fa4..b877d9ab3 100644 --- a/lib/core/agent.py +++ b/lib/core/agent.py @@ -770,6 +770,8 @@ class Agent: return limitedQuery def forgeQueryOutputLength(self, expression): + import pdb + pdb.set_trace() lengthQuery = queries[Backend.getIdentifiedDbms()].length.query select = re.search("\ASELECT\s+", expression, re.I) selectTopExpr = re.search("\ASELECT\s+TOP\s+[\d]+\s+(.+?)\s+FROM", expression, re.I)