Skip to content

Latest commit

 

History

28 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pwnkit — Password Security Toolkit

A Python command-line tool that tests how safe a password is with the option to generate a PNG report. Built as a cybersecurity portfolio project to demonstrate knowledge of hashing algorithms and their efficiency.


What it does

Command What it checks
hash Shows the password hashed in MD5, SHA-1, SHA-256, bcrypt, and Argon2id
crack Tests whether the password appears in a common password wordlist
breach Checks whether the password appears in a known data breach database
report Runs all checks and saves a full analysis as a PNG file

Requirements

  • Python 3.10 or higher
  • The following packages: -bcrypt -argon2 -matploitlib
pip install bcrypt argon2-cffi matplotlib

Setup

  1. Clone or download this repository
  2. Install dependencies:
    pip install -r requirements.txt
  3. Already included are demo data files that I've modified and trimmed down for demo or educational purposes as the SHA keybase is larger than Github can handle, but you can find your own on the internet and add them to these folders:

Usage

Open a terminal in the project folder and run:

python main.py hash    "yourpassword"
hash_samp
python main.py crack   "yourpassword"
crack_samp
python main.py breach  "yourpassword"
breach_samp
python main.py report  "yourpassword"
report_samp

How The Checks Work

Hashing
Converts the password into a scrambled string using different algorithms. MD5 and SHA-256 are fast — an attacker can test millions per second. bcrypt and Argon2id are intentionally slow, making brute-force attacks impractical. This is why modern systems use them for password storage.

Crack test
Checks whether the password appears as-is in a wordlist of commonly used passwords. If it does, an attacker would find it almost instantly.

Breach check
Converts the password to a SHA-1 hash and checks it against a local copy of known breached password hashes. Nothing is sent over the internet — the check runs entirely offline.

Report
Combines all three checks into a single PNG file with a colour-coded verdict: low risk, moderate risk, or high risk.


Ethical use

This tool is for authorised security testing only.
Only test passwords that belong to you.
Do not use this tool to test or crack passwords without explicit permission.


About

A command-line tool that tests the safety of a password using hashing algorithms and lazy-loaded database lookups. Built with Python, 2026.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages