remove faulty bytes filter
@@ -166,13 +166,11 @@ def extract_strings(buffer: bytes, min_length: int, exclude: Set[str] = None) ->
FP_FILTER_REP_BYTES = re.compile(rb"(.)\1{3,}") # any string containing the same char 4 or more consecutive times
FP_STACK_FILTER_1 = rb"...VA.*\x00\x00\x00\x00"
-FP_STACK_FILTER_2 = rb"...VA.*VA$"
def strip_bytes(b):
b = re.sub(FP_FILTER_REP_BYTES, b"\x00\x00", b)
b = re.sub(FP_STACK_FILTER_1, b"\x00\x00", b)
- b = re.sub(FP_STACK_FILTER_2, b"\x00\x00", b)
return b
