mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 09:36:35 +03:00
Minor bug fix
This commit is contained in:
parent
6f3511dcc3
commit
b427f6c03e
|
@ -197,6 +197,11 @@ def _oneShotErrorUse(expression, field=None, chunkTest=False):
|
|||
_ = "%s(?P<result>.*?)%s" % (kb.chars.start, kb.chars.stop)
|
||||
retVal = extractRegexResult(_, retVal, re.DOTALL | re.IGNORECASE) or retVal
|
||||
|
||||
try:
|
||||
retVal = re.sub(r"&#x([^;]+);", lambda match: chr(int(match.group(1), 16)), retVal)
|
||||
except ValueError:
|
||||
pass
|
||||
|
||||
return safecharencode(retVal) if kb.safeCharEncode else retVal
|
||||
|
||||
def _errorFields(expression, expressionFields, expressionFieldsList, num=None, emptyFields=None, suppressOutput=False):
|
||||
|
|
Loading…
Reference in New Issue
Block a user