mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-10-21 03:03:50 +00:00
Finally working inference against MySQL/international letters (even chinese)
This commit is contained in:
parent
0037d52098
commit
92e338251a
2 changed files with 3 additions and 3 deletions
|
|
@ -2503,7 +2503,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,):
|
||||
retVal = getUnicode(struct.pack('B' if value < 256 else '>H', value))
|
||||
retVal = getUnicode(hexdecode(hex(value)))
|
||||
elif value > 255:
|
||||
retVal = unichr(value)
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue