Scans entire directory where find_keybox_v2.py is located
Usage: python find_keybox.py --all
This commit is contained in:
parent
8b307ad021
commit
39da11609e
@ -63,7 +63,6 @@ def hexview(data: bytes, base_offset: int = 0, width: int = 16) -> str:
|
||||
def best_postfix_window(postfixes: List[bytes]) -> int:
|
||||
return max((len(p) for p in postfixes if p), default=0)
|
||||
|
||||
|
||||
def find_postfix_after_extract(mm: mmap.mmap, postfixes: List[bytes], prefix_pos: int, file_size: int) -> Tuple[int, bytes]:
|
||||
start = prefix_pos + EXTRACT_LEN
|
||||
if start >= file_size:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user