Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 83387d9

Browse files
committed
minor bug fix
1 parent c89a416 commit 83387d9

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

doc/THANKS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -339,6 +339,9 @@ Enrico Milanese <[email protected]>
339339
Liran Mimoni <[email protected]>
340340
for reporting a minor bug
341341

342+
Marco Mirandola <[email protected]>
343+
for reporting a minor bug
344+
342345
Devon Mitchell <[email protected]>
343346
for reporting a minor bug
344347

lib/utils/resume.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
from lib.core.data import queries
2525
from lib.core.enums import DBMS
2626
from lib.core.enums import CHARSET_TYPE
27-
from lib.core.enums import EXPECTED
2827
from lib.core.unescaper import unescaper
2928
from lib.techniques.blind.inference import bisection
3029

@@ -71,7 +70,7 @@ def queryOutputLength(expression, payload):
7170

7271
start = time.time()
7372
lengthExprUnescaped = unescaper.unescape(lengthExpr)
74-
count, length = bisection(payload, lengthExprUnescaped, expected=EXPECTED.INT, charsetType=CHARSET_TYPE.DIGITS)
73+
count, length = bisection(payload, lengthExprUnescaped, charsetType=CHARSET_TYPE.DIGITS)
7574

7675
debugMsg = "performed %d queries in %d seconds" % (count, calculateDeltaSeconds(start))
7776
logger.debug(debugMsg)

0 commit comments

Comments
 (0)