minor bug fix

This commit is contained in:
Miroslav Stampar 2012-04-04 23:32:20 +00:00
parent c89a4162e2
commit 83387d92bb
2 changed files with 4 additions and 2 deletions

View File

@ -339,6 +339,9 @@ Enrico Milanese <enricomilanese@gmail.com>
Liran Mimoni <reactor.leet@gmail.com>
for reporting a minor bug
Marco Mirandola <mmmccc0@gmail.com>
for reporting a minor bug
Devon Mitchell <devon.mitchell1988@yahoo.com>
for reporting a minor bug

View File

@ -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)