mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 20:51:31 +00:00
Patch regarding #4066
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user