mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-16 19:40:37 +03:00
fix of a wrong assumption (e.g. decodeIntToUnicode(12345) has been returning a "09" instead of a single unicode character)
This commit is contained in:
parent
4d9dcbf5db
commit
2589521ecf
|
@ -2682,7 +2682,7 @@ def decodeIntToUnicode(value):
|
|||
Decodes inferenced integer value with usage of current page encoding
|
||||
"""
|
||||
try:
|
||||
return struct.pack('B' if value<256 else '>H', value).decode(kb.pageEncoding or UNICODE_ENCODING)
|
||||
return unichr(value)
|
||||
except:
|
||||
return INFERENCE_UNKNOWN_CHAR
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user