Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31daefc commit 0121921Copy full SHA for 0121921
1 file changed
lib/techniques/blind/inference.py
@@ -496,7 +496,6 @@ def blindThread():
496
dataToStdout(filterControlChars(commonValue[index - 1:]))
497
498
finalValue = commonValue
499
-
500
break
501
502
# If there is a common pattern starting with partialValue,
@@ -549,7 +548,9 @@ def blindThread():
549
548
550
551
if (lastChar > 0 and index >= lastChar):
552
- finalValue = partialValue
+ finalValue = "" if length == 0 else partialValue
+ finalValue = finalValue.rstrip() if len(finalValue) > 1 else finalValue
553
+ partialValue = None
554
555
556
except KeyboardInterrupt:
0 commit comments