Loading repository data…
Loading repository data…
FilipRokita / repository
BCrack is a basic tool designed to crack Bcrypt hashed passwords using brute-force methods. Written in C, it highlights the importance of strong passwords and the effectiveness of Bcrypt for password hashing. Ideal for educational purposes and ethical security testing with permission.
This C program prompts the user for a file path to a wordlist containing potential passwords and a bcrypt hash to crack. It reads each password from the wordlist, generates a bcrypt hash for each password, and compares it with the provided hash. If a match is found, it prints the password. The program assumes the presence of bcrypt-compatible hash and uses the crypt() function for hash generation. If successful, it terminates after finding the password.
<unistd.h> for crypt)make bcrack
./bcrack
$ ./bcrack
Enter the path to the wordlist: example_wordlist.txt
Enter the bcrypt hash to crack: $2a$12$g/Ee8Hm1g1/5spm2V733euokwUNVkOYqLvX8YPCcYBIQohj79L5KO
Password found: 123456
This tool is intended for educational purposes only. Use it responsibly and at your own risk.
For licensing information, refer to the LICENSE.