添加"3.9.7.15"偏移 #12

This commit is contained in:
xaoyo committed 2023-10-16 10:46:21 +08:00
1 parent de8cbdc431
commit 1e443c687d
4 files changed
+27 -6

No files matched your search

+2 -1
View File
@@ -20,7 +20,8 @@ def decrypt(key: str, db_path, out_path):
return f"[-] db_path:'{db_path}' File not found!"
if not os.path.exists(os.path.dirname(out_path)):
return f"[-] out_path:'{out_path}' File not found!"
if len(key) != 64:
return f"[-] key:'{key}' Error!"
password = bytes.fromhex(key.strip())
with open(db_path, "rb") as file:
blist = file.read()