mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-03 05:04:11 +03:00
Minor bug fix (getting ? in < 0xf char cases)
This commit is contained in:
parent
093a93938c
commit
c75560ba69
|
@ -2590,7 +2590,10 @@ def decodeIntToUnicode(value):
|
|||
try:
|
||||
# http://dev.mysql.com/doc/refman/5.0/en/string-functions.html#function_ord
|
||||
if Backend.getIdentifiedDbms() in (DBMS.MYSQL,):
|
||||
retVal = getUnicode(hexdecode(hex(value)))
|
||||
_ = "%x" % value
|
||||
if len(_) % 2 == 1:
|
||||
_ = "0%s" % _
|
||||
retVal = getUnicode(hexdecode(_))
|
||||
elif value > 255:
|
||||
retVal = unichr(value)
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue
Block a user