mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 21:21:33 +00:00
Bug fix for boolean (multithreaded Ctrl+C) resumed values
This commit is contained in:
@@ -43,7 +43,7 @@ ASTERISK_MARKER = "__ASTERISK_MARK__"
|
||||
|
||||
PAYLOAD_DELIMITER = "\x00"
|
||||
CHAR_INFERENCE_MARK = "%c"
|
||||
PRINTABLE_CHAR_REGEX = r"[^\x00-\x1f\x7e-\xff]"
|
||||
PRINTABLE_CHAR_REGEX = r"[^\x00-\x1f\x7f-\xff]"
|
||||
|
||||
# Regular expression used for recognition of generic permission messages
|
||||
PERMISSION_DENIED_REGEX = r"(command|permission|access)\s*(was|is)?\s*denied"
|
||||
|
||||
@@ -444,7 +444,8 @@ def bisection(payload, expression, length=None, charsetType=None, firstChar=None
|
||||
abortedFlag = True
|
||||
|
||||
finally:
|
||||
value = [partialValue[_] if _ < len(partialValue) else threadData.shared.value[_] for _ in xrange(length)]
|
||||
value = [_ for _ in partialValue]
|
||||
value.extend(_ for _ in threadData.shared.value)
|
||||
|
||||
infoMsg = None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user