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

Skip to content

Commit f4b8a3c

Browse files
committed
Bug fix for boolean (multithreaded Ctrl+C) resumed values
1 parent 5e4e863 commit f4b8a3c

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343

4444
PAYLOAD_DELIMITER = "\x00"
4545
CHAR_INFERENCE_MARK = "%c"
46-
PRINTABLE_CHAR_REGEX = r"[^\x00-\x1f\x7e-\xff]"
46+
PRINTABLE_CHAR_REGEX = r"[^\x00-\x1f\x7f-\xff]"
4747

4848
# Regular expression used for recognition of generic permission messages
4949
PERMISSION_DENIED_REGEX = r"(command|permission|access)\s*(was|is)?\s*denied"

lib/techniques/blind/inference.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,8 @@ def blindThread():
444444
abortedFlag = True
445445

446446
finally:
447-
value = [partialValue[_] if _ < len(partialValue) else threadData.shared.value[_] for _ in xrange(length)]
447+
value = [_ for _ in partialValue]
448+
value.extend(_ for _ in threadData.shared.value)
448449

449450
infoMsg = None
450451

0 commit comments

Comments
 (0)