mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-29 04:53:48 +03:00
minor update
This commit is contained in:
parent
4ac3794e80
commit
367de838c1
|
@ -2538,7 +2538,7 @@ def decodeIntToUnicode(value):
|
|||
"""
|
||||
try:
|
||||
# http://dev.mysql.com/doc/refman/5.0/en/string-functions.html#function_ord
|
||||
if Backend.getIdentifiedDbms() in (DBMS.MYSQL,):
|
||||
if Backend.getIdentifiedDbms() in (DBMS.MYSQL,) or conf.charset:
|
||||
return struct.pack('B' if value < 256 else '<H', value).decode(kb.pageEncoding or UNICODE_ENCODING)
|
||||
else:
|
||||
return unichr(value)
|
||||
|
|
Loading…
Reference in New Issue
Block a user