mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
decodeHexValue
This commit is contained in:
@@ -3448,7 +3448,11 @@ def decodeHexValue(value):
|
|||||||
retVal = retVal.decode("utf-16-le")
|
retVal = retVal.decode("utf-16-le")
|
||||||
except UnicodeDecodeError:
|
except UnicodeDecodeError:
|
||||||
pass
|
pass
|
||||||
|
elif Backend.isDbms(DBMS.HSQL):
|
||||||
|
try:
|
||||||
|
retVal = retVal.decode("utf-16-be")
|
||||||
|
except UnicodeDecodeError:
|
||||||
|
pass
|
||||||
if not isinstance(retVal, unicode):
|
if not isinstance(retVal, unicode):
|
||||||
retVal = getUnicode(retVal, "utf8")
|
retVal = getUnicode(retVal, "utf8")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user