CompreC is a command-line utility written in C that allows you to work with zip archives. It provides various options for browsing, extracting, bruteforcing, and manipulating zip files.
To use CompreC, make sure you have make
installed on your system. Then, follow these steps:
-
Clone the repository:
git clone https://github.com/Dourin/compreC.git
-
Navigate to the project directory:
cd CompreC
-
Run the
make
command to compile the source code:make
-
Run the executable:
./programme.exe [options]
CompreC supports the following command-line options:
-h, --help
: Display the help message.-o, --open
: Open a zip file for browsing.-b, --bruteforce
: Try to bruteforce the password for the zip file.-d, --dictionary <filename>
: Try to bruteforce the password with a dictionary file.-e, --extract <filename>
: Extract a specific file from the zip archive.-i, --include <filename>
: Include a file in the zip archive.
Please note that some options require additional arguments or user input.
Here are some examples of how to use CompreC:
-
Open a zip file for browsing:
./programme.exe -o
-
Try to bruteforce the password for the zip file:
./programme.exe -b
-
Try to bruteforce the password with a dictionary file:
./programme.exe -d dictionary.txt
-
Extract a specific file from the zip archive:
./programme.exe -e file.txt
-
Include a file in the zip archive:
./programme.exe -i file.txt
If you would like to contribute to CompreC, please follow the guidelines in the CONTRIBUTING file.
CompreC is an open-source project released under a ESGI school project.
This project is intended for educational and learning purposes only. Neither the team members nor the project are responsible for any misuse or illegal activities conducted with the code.