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

Skip to content

Commit 556b349

Browse files
committed
minor fix for retrieving non-printable chars in inference and non-multi threading mode
1 parent 33bb9c5 commit 556b349

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

lib/techniques/blind/inference.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ def blindThread():
460460
if showEta:
461461
etaProgressUpdate(time.time() - charStart, len(commonValue))
462462
elif conf.verbose in (1, 2):
463-
dataToStdout(commonValue[index-1:])
463+
dataToStdout(filterControlChars(commonValue[index-1:]))
464464

465465
finalValue = commonValue
466466

@@ -508,7 +508,7 @@ def blindThread():
508508
if showEta:
509509
etaProgressUpdate(time.time() - charStart, index)
510510
elif conf.verbose in (1, 2):
511-
dataToStdout(val)
511+
dataToStdout(filterControlChars(val))
512512

513513
if len(partialValue) > INFERENCE_BLANK_BREAK and partialValue[-INFERENCE_BLANK_BREAK:].isspace():
514514
finalValue = partialValue

lib/techniques/union/use.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
from lib.core.common import parseUnionPage
3333
from lib.core.common import removeReflectiveValues
3434
from lib.core.common import singleTimeWarnMessage
35-
from lib.core.common import unArrayizeValue
3635
from lib.core.common import wasLastRequestDBMSError
3736
from lib.core.convert import htmlunescape
3837
from lib.core.data import conf

0 commit comments

Comments
 (0)