mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-05-10 10:43:44 +03:00
Minor output bug fix
This commit is contained in:
parent
457d32c73e
commit
8b74c405f5
|
@ -55,10 +55,6 @@ def __goInference(payload, expression, charsetType=None, firstChar=None, lastCha
|
||||||
|
|
||||||
count, value = bisection(payload, expression, length, charsetType, firstChar, lastChar)
|
count, value = bisection(payload, expression, length, charsetType, firstChar, lastChar)
|
||||||
|
|
||||||
if conf.eta and length:
|
|
||||||
infoMsg = "retrieved: %s" % value
|
|
||||||
logger.info(infoMsg)
|
|
||||||
|
|
||||||
debugMsg = "performed %d queries in %d seconds" % (count, int(time.time() - start))
|
debugMsg = "performed %d queries in %d seconds" % (count, int(time.time() - start))
|
||||||
logger.debug(debugMsg)
|
logger.debug(debugMsg)
|
||||||
|
|
||||||
|
|
|
@ -353,7 +353,7 @@ def bisection(payload, expression, length=None, charsetType=None, firstChar=None
|
||||||
if conf.verbose >= 1 or showEta:
|
if conf.verbose >= 1 or showEta:
|
||||||
dataToStdout("\n")
|
dataToStdout("\n")
|
||||||
|
|
||||||
if ( conf.verbose in ( 1, 2 ) and showEta and len(str(progress)) >= 64 ) or conf.verbose >= 3:
|
if ( conf.verbose in ( 1, 2 ) and showEta ) or conf.verbose >= 3:
|
||||||
infoMsg = "retrieved: %s" % finalValue
|
infoMsg = "retrieved: %s" % finalValue
|
||||||
logger.info(infoMsg)
|
logger.info(infoMsg)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user