mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-11-12 02:01:25 -10:00
minor fix regarding last commit
This commit is contained in:
1 parent
c24ed6e622
commit
9479a68eb5
2 files changed
+4
-2
No files matched your search
@@ -78,7 +78,8 @@ def __oneShotErrorUse(expression, field):
|
||||
if threadData.lastRedirectMsg and threadData.lastRedirectMsg[0] == \
|
||||
threadData.lastRequestUID else None, re.DOTALL | re.IGNORECASE)
|
||||
|
||||
output = getUnicode(output, kb.pageEncoding)
|
||||
if output:
|
||||
output = getUnicode(output, kb.pageEncoding)
|
||||
|
||||
if isinstance(output, basestring):
|
||||
output = htmlunescape(output).replace("<br>", "\n")
|
||||
|
||||
@@ -65,7 +65,8 @@ def __oneShotUnionUse(expression, unpack=True):
|
||||
or extractRegexResult(check, removeReflectiveValues(listToStrValue(headers.headers \
|
||||
if headers else None), payload), re.DOTALL | re.IGNORECASE)
|
||||
|
||||
output = getUnicode(output, kb.pageEncoding)
|
||||
if output:
|
||||
output = getUnicode(output, kb.pageEncoding)
|
||||
|
||||
return output
|
||||
|
||||
|
||||
Reference in new issue
Block a user