Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resuming a cancelled password recovery ? #35

Closed
cxzstuff opened this issue May 27, 2021 · 5 comments · Fixed by #112
Closed

Resuming a cancelled password recovery ? #35

cxzstuff opened this issue May 27, 2021 · 5 comments · Fixed by #112
Assignees
Milestone

Comments

@cxzstuff
Copy link

cxzstuff commented May 27, 2021

If one cancels the recovery, bkcrack now starts from the beginning. It would be nice if recovery could be resumed...

@kimci86
Copy link
Owner

kimci86 commented May 27, 2021

You are right, thank you for the suggestion. I will work on it.

@kimci86 kimci86 self-assigned this May 27, 2021
@cxzstuff
Copy link
Author

Got a password, correct but not correct. How about continuing the recovery even if a password is found?
Has the correct one the same length?
https://forum.xda-developers.com/t/file-encrypted-how-can-i-open-it-help.4194779/post-85091353

@kimci86
Copy link
Owner

kimci86 commented May 27, 2021

Has the correct one the same length?

Not necessarily.

How about continuing the recovery even if a password is found?

I will also work on that, it was requested yesterday in #34.

@cxzstuff
Copy link
Author

Pkcrack has this possibility, or its tool findkey. Haven't tested it.
findkey key0 key1 key2 pwdlen initvalue

@kimci86
Copy link
Owner

kimci86 commented Jan 2, 2024

It is now possible to resume an interrupted password recovery.

Example, running this command:

bkcrack -k c4490e28 b414a23d 91404b31 --bruteforce ?a --length 12

and hitting Ctrl+C will print an option to resume the password recovery:

[15:10:35] Recovering password
length 12...
33.7 % (1295 / 3844) 
Operation interrupted by user.
You may resume the password recovery with the option: --continue-recovery 4b7342303030
[15:10:36] Could not recover password

Then, adding the printed option to the command will resume where it was stopped:

bkcrack -k c4490e28 b414a23d 91404b31 --bruteforce ?a --length 12 --continue-recovery 4b7342303030

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants