mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-26 03:23:48 +03:00
Merge branch 'master' of github.com:sqlmapproject/sqlmap
This commit is contained in:
commit
318fcee49c
|
@ -2501,13 +2501,7 @@ def decodeIntToUnicode(value):
|
|||
|
||||
if isinstance(value, int):
|
||||
try:
|
||||
# http://dev.mysql.com/doc/refman/5.0/en/string-functions.html#function_ord
|
||||
if Backend.getIdentifiedDbms() in (DBMS.MYSQL,):
|
||||
retVal = getUnicode(struct.pack('B' if value < 256 else '<H', value))
|
||||
elif value > 255:
|
||||
retVal = unichr(value)
|
||||
else:
|
||||
retVal = getUnicode(chr(value))
|
||||
except:
|
||||
retVal = INFERENCE_UNKNOWN_CHAR
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user