mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
Patch regarding #4066
This commit is contained in:
parent
71b33e5956
commit
eb3a3b4825
3 changed files with 7 additions and 4 deletions
|
|
@ -26,6 +26,6 @@ class Syntax(GenericSyntax):
|
|||
if all(_ < 128 for _ in getOrds(value)):
|
||||
return "0x%s" % getUnicode(binascii.hexlify(getBytes(value)))
|
||||
else:
|
||||
return "CONVERT(0x%s USING utf8)" % getUnicode(binascii.hexlify(getBytes(value)))
|
||||
return "CONVERT(0x%s USING utf8)" % getUnicode(binascii.hexlify(getBytes(value, "utf8")))
|
||||
|
||||
return Syntax._escape(expression, quote, escaper)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue