Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4b8a3c commit 4f2981fCopy full SHA for 4f2981f
1 file changed
lib/techniques/error/use.py
@@ -142,7 +142,8 @@ def _oneShotErrorUse(expression, field=None):
142
retVal = output
143
break
144
except:
145
- hashDBWrite(expression, "%s%s" % (retVal, PARTIAL_VALUE_MARKER))
+ if retVal is not None:
146
+ hashDBWrite(expression, "%s%s" % (retVal, PARTIAL_VALUE_MARKER))
147
raise
148
149
retVal = decodeHexValue(retVal) if conf.hexConvert else retVal
@@ -152,7 +153,8 @@ def _oneShotErrorUse(expression, field=None):
152
153
154
retVal = _errorReplaceChars(retVal)
155
- hashDBWrite(expression, retVal)
156
157
+ hashDBWrite(expression, retVal)
158
159
else:
160
_ = "%s(?P<result>.*?)%s" % (kb.chars.start, kb.chars.stop)
0 commit comments