Skip to content
Sahan Pramuditha edited this page Mar 31, 2026 · 1 revision

πŸ” Python Password Cracker

Welcome to the Python Password Cracker Wiki.

This project is a simple educational tool built with Python to demonstrate how password cracking works using a dictionary attack.


πŸ” Overview

The Python Password Cracker uses a list of possible passwords (wordlist) to try and match a target password. This method is known as a dictionary attack.

⚠️ Disclaimer: This project is strictly for educational purposes. Do not use it on systems without proper authorization.


βš™οΈ Features

  • Dictionary-based password cracking
  • Custom wordlist support
  • Simple and beginner-friendly
  • Lightweight and fast to run

🧠 How It Works

The script passwordCracker.py works by:

  1. Loading passwords from a text file (wordlist)
  2. Asking the user for a target password
  3. Comparing each password from the list
  4. Stopping when a match is found

▢️ Usage

git clone https://github.com/SahanPramuditha-Dev/Python-Password-Cracker.git
cd Python-Password-Cracker
python passwordCracker.py

πŸ“ Project Structure

Python-Password-Cracker/
│── passwordCracker.py
│── passwords.txt
│── README.md

πŸ” Learning Outcomes

  • Understanding dictionary attacks
  • Importance of strong passwords
  • Basics of cybersecurity concepts

🚫 Limitations

  • Cannot crack strong or complex passwords
  • No support for hashed passwords
  • Performance depends on wordlist size

πŸ“ˆ Future Improvements

  • Add brute-force attack option
  • Support for hash cracking (MD5, SHA)
  • Improve speed using multi-threading
  • Add graphical user interface (GUI)

πŸ‘¨β€πŸ’» Author

Sahan Pramuditha