mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
Expanding capabilities of MySQL to correctly retrieve UTF8MB4 chars
This commit is contained in:
parent
69108bcf01
commit
ec58f57fa9
6 changed files with 18 additions and 3 deletions
|
|
@ -672,8 +672,8 @@ def bisection(payload, expression, length=None, charsetType=None, firstChar=None
|
|||
shiftTable = None
|
||||
elif continuousOrder and shiftTable is None:
|
||||
# Used for gradual expanding into unicode charspace (Note: leading value covers MySQL's
|
||||
# 3-byte ORD() range up to 0xEFBFBF, restoring CJK/non-Latin extraction - see issue #5171)
|
||||
shiftTable = [4, 2, 2, 3, 3, 3]
|
||||
# 4-byte ORD() range for emoji/supplementary-plane, then 3-byte for CJK - see issue #5171)
|
||||
shiftTable = [8, 4, 2, 2, 3, 3, 3]
|
||||
|
||||
if "'%s'" % CHAR_INFERENCE_MARK in payload:
|
||||
for char in ('\n', '\r'):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue