mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
Update for an Issue #1531 (MySQL quirk with international letters)
This commit is contained in:
parent
f7cae68378
commit
2c1bd7f034
2 changed files with 5 additions and 2 deletions
|
|
@ -3046,7 +3046,10 @@ def decodeIntToUnicode(value):
|
|||
_ = "0%s" % _
|
||||
raw = hexdecode(_)
|
||||
|
||||
if Backend.isDbms(DBMS.MSSQL):
|
||||
if Backend.isDbms(DBMS.MYSQL):
|
||||
# https://github.com/sqlmapproject/sqlmap/issues/1531
|
||||
retVal = getUnicode(raw, conf.charset or UNICODE_ENCODING)
|
||||
elif Backend.isDbms(DBMS.MSSQL):
|
||||
retVal = getUnicode(raw, "UTF-16-BE")
|
||||
elif Backend.getIdentifiedDbms() in (DBMS.PGSQL, DBMS.ORACLE):
|
||||
retVal = unichr(value)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue