From f92385771349a2443d0bce61a4d946ad66549510 Mon Sep 17 00:00:00 2001 From: Tobias Gruetzmacher Date: Tue, 17 Jun 2025 21:14:13 +0200 Subject: [PATCH] Add a hint on how to recover the password with hashcat --- tibudecrypt.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tibudecrypt.py b/tibudecrypt.py index 62245b2..f15b7c6 100755 --- a/tibudecrypt.py +++ b/tibudecrypt.py @@ -164,6 +164,8 @@ def read_file(self): self.pass_hmac_result = base64.b64decode(pass_hmac_result) self.enc_privkey_spec = base64.b64decode(enc_privkey_spec) self.enc_sesskey_spec = base64.b64decode(enc_sesskey_spec) + print('Password forgotten? hashcat -O -m 160 --hex-salt --increment -a 3 {result}:{salt}'.format( + salt=self.pass_hmac_key.hex(), result=self.pass_hmac_result.hex())) except binascii.Error: # Raised if the b64decode fails. raise