mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-03 05:04:11 +03:00
minor fix related to a bug reported by warninggp@gmail.com
This commit is contained in:
parent
cbfb10cbd1
commit
c24ed6e622
|
@ -16,6 +16,7 @@ from lib.core.common import calculateDeltaSeconds
|
|||
from lib.core.common import dataToSessionFile
|
||||
from lib.core.common import dataToStdout
|
||||
from lib.core.common import extractRegexResult
|
||||
from lib.core.common import getUnicode
|
||||
from lib.core.common import initTechnique
|
||||
from lib.core.common import isNumPosStrValue
|
||||
from lib.core.common import listToStrValue
|
||||
|
@ -77,6 +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 isinstance(output, basestring):
|
||||
output = htmlunescape(output).replace("<br>", "\n")
|
||||
|
||||
|
|
|
@ -65,6 +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)
|
||||
|
||||
return output
|
||||
|
||||
def configUnion(char=None, columns=None):
|
||||
|
|
Loading…
Reference in New Issue
Block a user