mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
periodical commit
This commit is contained in:
parent
9c1d82c9f7
commit
68e13c3872
6 changed files with 113 additions and 7 deletions
|
|
@ -340,7 +340,14 @@ def bisection(payload, expression, length=None, charsetType=None, firstChar=None
|
|||
while True:
|
||||
index += 1
|
||||
charStart = time.time()
|
||||
val = getChar(index, asciiTbl)
|
||||
|
||||
if conf.useCommonPrediction:
|
||||
commonTbl, otherTbl = getCommonPredictionTables(finalValue, asciiTbl)
|
||||
val = getChar(index, commonTbl) if commonTbl else None
|
||||
if not val:
|
||||
val = getChar(index, otherTbl)
|
||||
else:
|
||||
val = getChar(index, asciiTbl)
|
||||
|
||||
if val is None or ( lastChar > 0 and index > lastChar ):
|
||||
break
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue