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

Choose a prefix for the password recovery #56

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Conversation

kimci86
Copy link
Owner

@kimci86 kimci86 commented Jan 24, 2022

This is a quick hack to be able to set a prefix for the password recovery.
This will be replaced by a proper mask feature.

Example:
./bkcrack -k f27e56a8 91e5b1ea 709073e0 -r 12 ?p -m "I remember the beginning but then"

[23:53:36] Recovering password
length 0-6...
length 7...
length 8...
length 9...
[23:53:36] Password
as bytes: 49 20 72 65 6d 65 6d 62 65 72 20 74 68 65 20 62 65 67 69 6e 6e 69 6e 67 20 62 75 74 20 74 68 65 6e 20 49 20 66 6f 72 67 6f 74 
as text: I remember the beginning but then I forgot

@linux-mining This should work for you.
Related to #55

@kimci86
Copy link
Owner Author

kimci86 commented Jan 24, 2022

@linux-mining
You can download compiled binaries from GitHub Actions to test this branch, or compile from source yourself if you prefer.

To make the recovery fast, choose the minimal charset.
For example, if you know the characters left to be recovered are in set abcd1234, use option -r 12 abcd1234.
You might want to increase the value 12 in this example if there are more than 12 characters left to be recovered after the known prefix.

@linux-mining
Copy link

linux-mining commented Jan 25, 2022

Once again thank you for the binary files, this makes it easy as my source control and compiling is a bit rusty. I'm on Ubuntu.
I will report back.

Thanks

@linux-mining
Copy link

Already recovered the password in less than a minute.

Kimci86 I owe you a big thanks. I think this is a great addition to an already great project.

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

Successfully merging this pull request may close these issues.

None yet

2 participants