Skip to content

Simple password cracker parallelized for HPC and GPUs

Notifications You must be signed in to change notification settings

salamaaya/password-cracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Project Title

Password Cracker - CS810

Description

A dictionary-attack password cracker designed for GPU experimentation — parallelizable kernels for high-throughput cracking and easy benchmarking.

Dependencies

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

CPU Usage

./dictioanry <password> [maximum length]

To create an executable, run:

cd cpu
make

Examples:

./dictionary password1234 8
./dictionary strongpassword

GPU Usage

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

About

Simple password cracker parallelized for HPC and GPUs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published