mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-25 11:03:47 +03:00
Fixes #1437
This commit is contained in:
parent
1fd6b007ab
commit
ac467bc453
|
@ -232,8 +232,10 @@ def bisection(payload, expression, length=None, charsetType=None, firstChar=None
|
||||||
# Used for gradual expanding into unicode charspace
|
# Used for gradual expanding into unicode charspace
|
||||||
shiftTable = [2, 2, 3, 3, 5, 4]
|
shiftTable = [2, 2, 3, 3, 5, 4]
|
||||||
|
|
||||||
if CHAR_INFERENCE_MARK in payload and ord('\n') in charTbl:
|
if "'%s'" % CHAR_INFERENCE_MARK in payload:
|
||||||
charTbl.remove(ord('\n'))
|
for char in ('\n', '\r'):
|
||||||
|
if ord(char) in charTbl:
|
||||||
|
charTbl.remove(ord(char))
|
||||||
|
|
||||||
if not charTbl:
|
if not charTbl:
|
||||||
return None
|
return None
|
||||||
|
|
Loading…
Reference in New Issue
Block a user