This project was created specifically to solve the BND challenge (https://github.com/bndchallenge/takur_medicine), aiming to provide a robust solution for brute force tasks, with the primary focus on decrypting specific data. Even though there was a simpler solution for this challenge.
Although the project was initially developed for the BND challenge, its architecture is designed to be flexible, allowing it to be easily adapted for other brute force tasks. The key adaptation that needs to be made involves the decryption algorithm, which is implemented in the decrypt.cpp
file. By modifying this algorithm, the project can be tailored to various encryption scenarios.
Another way to customize this project is by implementing additional verification logics in fileChecker
. This component serves to verify the integrity and authenticity of decrypted data. magic_number.h
already includes bytes from common file formats, which facilitates the implementation of new verification tests.
To adapt the project for a new task, follow these steps:
- Customize the Decryption Algorithm: Edit
decrypt.cpp
to modify the algorithm according to your specific requirements. - Expand File Checks: Add additional checking logics in
fileChecker
to validate the validity of the decrypted data against other file types. - Compile and Test: Ensure that your modified code compiles correctly and delivers the desired results.