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

Skip to content

Commit 8b74c40

Browse files
committed
Minor output bug fix
1 parent 457d32c commit 8b74c40

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

lib/request/inject.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,6 @@ def __goInference(payload, expression, charsetType=None, firstChar=None, lastCha
5555

5656
count, value = bisection(payload, expression, length, charsetType, firstChar, lastChar)
5757

58-
if conf.eta and length:
59-
infoMsg = "retrieved: %s" % value
60-
logger.info(infoMsg)
61-
6258
debugMsg = "performed %d queries in %d seconds" % (count, int(time.time() - start))
6359
logger.debug(debugMsg)
6460

lib/techniques/blind/inference.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ def downloadThread():
353353
if conf.verbose >= 1 or showEta:
354354
dataToStdout("\n")
355355

356-
if ( conf.verbose in ( 1, 2 ) and showEta and len(str(progress)) >= 64 ) or conf.verbose >= 3:
356+
if ( conf.verbose in ( 1, 2 ) and showEta ) or conf.verbose >= 3:
357357
infoMsg = "retrieved: %s" % finalValue
358358
logger.info(infoMsg)
359359

0 commit comments

Comments
 (0)