Scans entire directory where find_keybox_v2.py is located

Usage: python find_keybox.py --all
This commit is contained in:
SuperUserek 2026-02-24 07:09:17 +00:00
parent 8b307ad021
commit 39da11609e

View File

@ -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: