From 9ca8bc4d51909c994b481ef62a701cc3a5389f34 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Thu, 8 Mar 2012 09:52:33 +0000 Subject: [PATCH] minor bug fix --- lib/techniques/union/use.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/techniques/union/use.py b/lib/techniques/union/use.py index 6af0bb1a9..c246ddeaf 100644 --- a/lib/techniques/union/use.py +++ b/lib/techniques/union/use.py @@ -47,7 +47,7 @@ from lib.core.unescaper import unescaper from lib.request.connect import Connect as Request def __oneShotUnionUse(expression, unpack=True, limited=False): - retVal = hashDBRetrieve(expression, checkConf=True) + retVal = hashDBRetrieve("%s%s" % (conf.hexConvert, expression), checkConf=True) # as inband data is stored raw unconverted threadData = getCurrentThreadData() threadData.resumed = retVal is not None @@ -100,7 +100,7 @@ def __oneShotUnionUse(expression, unpack=True, limited=False): warnMsg += "issues) or switch '--hex'" singleTimeWarnMessage(warnMsg) - hashDBWrite(expression, retVal) + hashDBWrite("%s%s" % (conf.hexConvert, expression), retVal) return retVal