Password Cracker - CS810
A dictionary-attack password cracker designed for GPU experimentation — parallelizable kernels for high-throughput cracking and easy benchmarking.
Visit rockyou to install a dataset of most commonly used passwords into the project's root. Alternatively, can use any dataset of your choosing as long as it's formatted as a single password per line.
Once you've installed the rockyou dataset, run the following in the project's root:
gunzip rockyou.txt.gz
./dictioanry <password> [maximum length]
To create an executable, run:
cd cpu
make
Examples:
./dictionary password1234 8
./dictionary strongpassword
mpiexec -np 6 ./dictioanry <password> [maximum length]
To create an executable, run:
module load openmpi/gcc/64/4.1.5
module load cuda12.4
cd gpu
make
Examples:
mpiexec -np 6 ./dictionary password1234 28
mpiexec -np 6 ./dictionary strongpassword
Note: If the maximum is not set, the default will be set to 128