mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-26 03:23:48 +03:00
minor justin case fix
This commit is contained in:
parent
086c3a3662
commit
0478e4166a
|
@ -3118,9 +3118,15 @@ def decodeHexValue(value):
|
|||
value = value[2:]
|
||||
value = value.decode("hex")
|
||||
if len(value) > 1 and value[1] == '\x00':
|
||||
value = value.decode("utf-16-le")
|
||||
try:
|
||||
value = value.decode("utf-16-le")
|
||||
except UnicodeDecodeError:
|
||||
pass
|
||||
elif value and value[0] == '\x00':
|
||||
value = value.decode("utf-16-be")
|
||||
try:
|
||||
value = value.decode("utf-16-be")
|
||||
except UnicodeDecodeError:
|
||||
pass
|
||||
return value
|
||||
|
||||
return applyFunctionRecursively(value, _)
|
||||
|
|
|
@ -20,7 +20,6 @@ from lib.core.common import expandAsteriskForColumns
|
|||
from lib.core.common import extractExpectedValue
|
||||
from lib.core.common import getPublicTypeMembers
|
||||
from lib.core.common import initTechnique
|
||||
from lib.core.common import isNoneValue
|
||||
from lib.core.common import isNumPosStrValue
|
||||
from lib.core.common import isTechniqueAvailable
|
||||
from lib.core.common import parseUnionPage
|
||||
|
|
Loading…
Reference in New Issue
Block a user