Skip to content

smottoms/password-cracking-playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

🔑 Password Cracking Playground

📌 Overview

Password Cracking Playground is a cybersecurity learning project that demonstrates how weak passwords can be cracked using different password attack techniques.

This project is designed for educational purposes to help cybersecurity students and developers understand:

  • How password cracking works
  • Why strong password policies are important
  • How attackers exploit weak password practices

The playground simulates common password cracking techniques in a safe learning environment.


🎯 Objectives

This project helps demonstrate:

  • Weak password vulnerabilities
  • Password cracking techniques
  • Importance of strong passwords
  • Password hashing concepts
  • Defensive security practices

🔍 Password Cracking Techniques Demonstrated

1️⃣ Dictionary Attack

Uses a predefined list of common passwords to guess the correct password.

Example wordlist:

password
123456
admin
qwerty
letmein

The attacker tries each password until the correct one is found.


2️⃣ Brute Force Attack

Tries every possible combination of characters until the password is discovered.

Example:

a
aa
ab
ac
...

This method is powerful but very slow for strong passwords.


3️⃣ Hybrid Attack

Combines dictionary words with numbers or symbols.

Example:

password123
admin2024
welcome@123

This is commonly used by attackers because many users modify simple passwords.


🔐 Password Hashing Concept

Passwords should never be stored in plain text.

Instead, they should be stored using hashing algorithms such as:

  • bcrypt
  • SHA-256
  • Argon2

Example hash:

$2b$10$3Kj2f9s9sJj38sdf8sd8sdf8sd8f9sdf

Hashing protects passwords even if the database is compromised.


🧰 Technologies Used

  • Python / Node.js (depending on your implementation)
  • Wordlists
  • Hashing libraries
  • CLI simulation
  • Security testing concepts

📂 Project Structure

password-cracking-playground
│
├── wordlists/
│   └── common-passwords.txt
│
├── scripts/
│   ├── brute_force.py
│   ├── dictionary_attack.py
│   └── hybrid_attack.py
│
├── hashes/
│   └── sample_hashes.txt
│
└── README.md

⚙️ Installation

Clone the repository:

git clone https://github.com/YOUR_USERNAME/password-cracking-playground.git

Go to the project folder:

cd password-cracking-playground

Install dependencies (if required):

pip install -r requirements.txt

▶️ Example Usage

Run dictionary attack:

python dictionary_attack.py

Run brute force attack:

python brute_force.py

Run hybrid attack:

python hybrid_attack.py

📚 Educational Purpose

This project is intended to help learners understand:

  • Password attack methodologies
  • How attackers crack weak passwords
  • How to defend against password cracking

It is useful for:

  • Cybersecurity students
  • Ethical hackers
  • Penetration testers
  • Security researchers

⚠️ Disclaimer

This project is for educational and ethical security research purposes only.

Do NOT use this tool against systems without proper authorization.

Unauthorized password cracking is illegal.


👨‍💻 Author

Toms Johnson

Cybersecurity Enthusiast
Future Penetration Tester

About

A cybersecurity learning project demonstrating password cracking techniques like dictionary attacks, brute force attacks, and hybrid attacks in a safe educational environment.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors