mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-08 05:31:32 +00:00
Minor fix
This commit is contained in:
@@ -142,7 +142,8 @@ def _oneShotErrorUse(expression, field=None):
|
|||||||
retVal = output
|
retVal = output
|
||||||
break
|
break
|
||||||
except:
|
except:
|
||||||
hashDBWrite(expression, "%s%s" % (retVal, PARTIAL_VALUE_MARKER))
|
if retVal is not None:
|
||||||
|
hashDBWrite(expression, "%s%s" % (retVal, PARTIAL_VALUE_MARKER))
|
||||||
raise
|
raise
|
||||||
|
|
||||||
retVal = decodeHexValue(retVal) if conf.hexConvert else retVal
|
retVal = decodeHexValue(retVal) if conf.hexConvert else retVal
|
||||||
@@ -152,7 +153,8 @@ def _oneShotErrorUse(expression, field=None):
|
|||||||
|
|
||||||
retVal = _errorReplaceChars(retVal)
|
retVal = _errorReplaceChars(retVal)
|
||||||
|
|
||||||
hashDBWrite(expression, retVal)
|
if retVal is not None:
|
||||||
|
hashDBWrite(expression, retVal)
|
||||||
|
|
||||||
else:
|
else:
|
||||||
_ = "%s(?P<result>.*?)%s" % (kb.chars.start, kb.chars.stop)
|
_ = "%s(?P<result>.*?)%s" % (kb.chars.start, kb.chars.stop)
|
||||||
|
|||||||
Reference in New Issue
Block a user