mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-07-23 22:49:50 +03:00
minor fix regarding last commit
This commit is contained in:
parent
c24ed6e622
commit
9479a68eb5
|
@ -78,6 +78,7 @@ def __oneShotErrorUse(expression, field):
|
||||||
if threadData.lastRedirectMsg and threadData.lastRedirectMsg[0] == \
|
if threadData.lastRedirectMsg and threadData.lastRedirectMsg[0] == \
|
||||||
threadData.lastRequestUID else None, re.DOTALL | re.IGNORECASE)
|
threadData.lastRequestUID else None, re.DOTALL | re.IGNORECASE)
|
||||||
|
|
||||||
|
if output:
|
||||||
output = getUnicode(output, kb.pageEncoding)
|
output = getUnicode(output, kb.pageEncoding)
|
||||||
|
|
||||||
if isinstance(output, basestring):
|
if isinstance(output, basestring):
|
||||||
|
|
|
@ -65,6 +65,7 @@ def __oneShotUnionUse(expression, unpack=True):
|
||||||
or extractRegexResult(check, removeReflectiveValues(listToStrValue(headers.headers \
|
or extractRegexResult(check, removeReflectiveValues(listToStrValue(headers.headers \
|
||||||
if headers else None), payload), re.DOTALL | re.IGNORECASE)
|
if headers else None), payload), re.DOTALL | re.IGNORECASE)
|
||||||
|
|
||||||
|
if output:
|
||||||
output = getUnicode(output, kb.pageEncoding)
|
output = getUnicode(output, kb.pageEncoding)
|
||||||
|
|
||||||
return output
|
return output
|
||||||
|
|
Loading…
Reference in New Issue
Block a user