From 83387d92bbd9b393f0a2a4b2e7fc8e4c4efa05af Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Wed, 4 Apr 2012 23:32:20 +0000 Subject: [PATCH] minor bug fix --- doc/THANKS | 3 +++ lib/utils/resume.py | 3 +-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/THANKS b/doc/THANKS index 12d5e7907..bba26de2f 100644 --- a/doc/THANKS +++ b/doc/THANKS @@ -339,6 +339,9 @@ Enrico Milanese Liran Mimoni for reporting a minor bug +Marco Mirandola + for reporting a minor bug + Devon Mitchell for reporting a minor bug diff --git a/lib/utils/resume.py b/lib/utils/resume.py index a421d588a..47573d352 100644 --- a/lib/utils/resume.py +++ b/lib/utils/resume.py @@ -24,7 +24,6 @@ from lib.core.data import logger from lib.core.data import queries from lib.core.enums import DBMS from lib.core.enums import CHARSET_TYPE -from lib.core.enums import EXPECTED from lib.core.unescaper import unescaper from lib.techniques.blind.inference import bisection @@ -71,7 +70,7 @@ def queryOutputLength(expression, payload): start = time.time() lengthExprUnescaped = unescaper.unescape(lengthExpr) - count, length = bisection(payload, lengthExprUnescaped, expected=EXPECTED.INT, charsetType=CHARSET_TYPE.DIGITS) + count, length = bisection(payload, lengthExprUnescaped, charsetType=CHARSET_TYPE.DIGITS) debugMsg = "performed %d queries in %d seconds" % (count, calculateDeltaSeconds(start)) logger.debug(debugMsg)