Skip to content

Commit 8293514

Browse files
committed
Minor cosmetics
1 parent 5020269 commit 8293514

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/techniques/union/use.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
from thirdparty.odict.odict import OrderedDict
5757

5858
def _oneShotUnionUse(expression, unpack=True, limited=False):
59-
retVal = hashDBRetrieve("%s%s" % (conf.hexConvert, expression), checkConf=True) # as union data is stored raw unconverted
59+
retVal = hashDBRetrieve("%s%s" % (conf.hexConvert or False, expression), checkConf=True) # as union data is stored raw unconverted
6060

6161
threadData = getCurrentThreadData()
6262
threadData.resumed = retVal is not None
@@ -102,7 +102,7 @@ def _(regex):
102102
if Backend.isDbms(DBMS.MSSQL) and wasLastResponseDBMSError():
103103
retVal = htmlunescape(retVal).replace("<br>", "\n")
104104

105-
hashDBWrite("%s%s" % (conf.hexConvert, expression), retVal)
105+
hashDBWrite("%s%s" % (conf.hexConvert or False, expression), retVal)
106106
else:
107107
trimmed = _("%s(?P<result>.*?)<" % (kb.chars.start))
108108

0 commit comments

Comments
 (0)