diff --git a/bk7231tools/analysis/kvstorage.py b/bk7231tools/analysis/kvstorage.py index 1460713..5f68708 100644 --- a/bk7231tools/analysis/kvstorage.py +++ b/bk7231tools/analysis/kvstorage.py @@ -220,7 +220,7 @@ def find_storage(data: bytes) -> Optional[Tuple[int, bytes]]: pos -= 32 # rewind to block start except ValueError: return None - return pos, data[pos:] + return pos, data[pos:pos+0x8000] @staticmethod def find_user_param_key(data: bytes) -> Optional[Tuple[int, str]]: