Add support for decrypting contact db from crypt15 backup

This commit is contained in:
KnugiHK
2023-12-03 13:40:21 +08:00
parent 3847836ed6
commit 0d626519ec
3 changed files with 38 additions and 14 deletions

View File

@@ -172,6 +172,11 @@ class Crypt(IntEnum):
CRYPT12 = 12
class DbType(StrEnum):
MESSAGE = "message"
CONTACT = "contact"
def brute_force_offset(max_iv=200, max_db=200):
for iv in range(0, max_iv):
for db in range(0, max_db):