mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
minor justin case fix
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user