John the Ripper (JtR) एक very fast and powerful offline password cracking tool है। इसका काम है password hashes को crack करना — यानी hash से original password find करना।
👉 Offline password cracking का सबसे popular tool — various hash types को crack कर सकता है।
🔑 John क्या-क्या कर सकता है
Hash Cracking
MD5, SHA1, SHA256 आदि hashes crack
Shadow File
Linux /etc/shadow passwords crack
Windows Hashes
NTLM, LM hashes crack करना
Wordlist Attack
Dictionary attack mode
Incremental Mode
All possible combinations try
Format Detection
Auto hash type detect करता है
⚙️ Kali NetHunter / Termux में John install
System Update
apt updateInstall John the Ripper
apt install johnVerify Installation
john --version💻 Basic Commands (Use)
👉 Commands को एक-एक करके use कर सकते हो:
Basic Wordlist Attack
john --wordlist=/usr/share/wordlists/rockyou.txt hashes.txtShow Cracked Passwords
john --show hashes.txtIncremental Mode (Brute Force)
john --incremental hashes.txtSpecify Hash Type (MD5)
john --format=raw-md5 --wordlist=/usr/share/wordlists/rockyou.txt hashes.txtSingle Crack Mode (User Info Based)
john --single hashes.txt🌐 Real Example (Practical समझ)
First, create hash file:
echo "5f4dcc3b5aa765d61d8327deb882cf99" > hashes.txt(This is MD5 hash of "password")
Crack the hash:
john --wordlist=/usr/share/wordlists/rockyou.txt --format=raw-md5 hashes.txt👉 यह hash file में दिए गए hashes को wordlist से match करके passwords find करता है
मान लो output कुछ ऐसा आता है:
🧠 इसका मतलब:
Password Found!
hash: 5f4dcc3b5aa765d61d8327deb882cf99 → password: "password"
Success Rate
1 hash cracked out of 1 total hashes
Processing Speed
23,600 passwords per second थे test किए गए
👉 Cracking speed depends on:
- • Hash type complexity (MD5 fast, bcrypt slow)
- • CPU power और system performance
- • Wordlist size और password complexity
🔥 Advanced Options
Custom Rules Mode
john --wordlist=/usr/share/wordlists/rockyou.txt --rules hashes.txtSession Save & Resume
john --session=my_session --wordlist=/usr/share/wordlists/rockyou.txt hashes.txtResume Previous Session
john --restore=my_sessionFormat List
john --list=formatsCrack Windows Hashes (NTLM)
john --format=nt --wordlist=/usr/share/wordlists/rockyou.txt ntlm_hashes.txt👉 यह advanced options आपको flexible cracking strategies देते हैं → success rate बढ़ती है
बिना permission किसी भी hash को crack करना illegal है
Practice के लिए use करो:
- अपने own passwords के hashes test करो
- Practice hash generators (online MD5 tools से)
- CTF challenges और practice labs
⚡ Time Complexity: Complex passwords (special characters, length 12+) बहुत time लेते हैं। Patience required!
🧩 Related Tools
Hydra
Online password attacks
Hashcat
GPU-accelerated cracking
CeWL
Custom wordlist generator
Crunch
Pattern-based generator
John = "Hash का Decoder"
यह scrambled code (hash) को original password में convert करता है — जैसे एक puzzle solve करके hidden picture दिखाई देती है।