mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-29 04:53:48 +03:00
decodeHexValue
This commit is contained in:
parent
5b6c01d739
commit
4595b2c287
|
@ -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")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user