Great job cracking the first two hashes! You're almost there. Let's focus on Password 3, which was made "leet" by replacing only vowels with their leet equivalents.
🔐 Password 3 Details:
- The original password was hashed with SHA256.
- It was then mutated using leet speak, but only vowels were leetified (i.e., only
a, e, i, o, u might have been replaced).
- Vowel replacements usually look like this:
- a → 4 or @
- e → 3
- i → 1 or !
- o → 0 or ()
- u → µ, ^, or maybe left as-is
The hash is:
4ac53d04443e6786752ac78e2dc86f60a629e4639edacc6a5937146f3eacc30f
You mentioned you're using the rockyou.txt wordlist — so we can assume the base password is likely a common one from that list.
🧠 Strategy to Crack This:
We know:
- The hash is of a leetified password, where only vowels are changed.
- We can try to reverse-engineer it by taking words from rockyou and applying all possible vowel leet mutations until we find a match.
Let’s write a quick plan:
- Take each password candidate from
rockyou.txt.
- For each vowel in the password, generate all plausible leet versions (like
a → 4/@, e → 3, etc.).
- Generate all combinations of these substitutions.
- Hash each variation and compare it to the target hash.
🛠️ Tool Recommendation:
Since you’re already working with rockyou.txt, I recommend using Hashcat with a rule-based attack or custom script.
But since this is a custom mutation (only vowels), writing a small Python script may be faster.
Here’s a sample Python script to help you:
import hashlib
from itertools import product
# Mapping of vowel -> leet variants
leet_map = {
'a': ['a', '4', '@'],
'e': ['e', '3'],
'i': ['i', '1', '!'],
'o': ['o', '0'],
'u': ['u', '^', 'µ'],
}
def get_mutations(word):
# Replace each vowel with its leet variants
letters = []
for c in word:
if c.lower() in leet_map:
letters.append(leet_map[c.lower()])
else:
letters.append([c])
# Generate Cartesian product of all combinations
for combo in product(*letters):
yield ''.join(combo)
def crack_hash(target_hash, wordlist_path):
with open(wordlist_path, 'r', encoding='latin-1') as f:
for line in f:
word = line.strip()
for mutation in get_mutations(word):
sha256_hash = hashlib.sha256(mutation.encode()).hexdigest()
if sha256_hash == target_hash:
print(f"[+] Match found: {mutation}")
return mutation
print("[-] No match found.")
return None
# Run the cracker
target_hash = "4ac53d04443e6786752ac78e2dc86f60a629e4639edacc6a5937146f3eacc30f"
wordlist_path = "rockyou.txt"
pass3 = crack_hash(target_hash, wordlist_path)
print(f"Password 3: {pass3}")
✅ Once You Find Password 3:
Then your final flag will look like:
L3AK{pass1_pass2_pass3}
Where:
- pass1 = whatever you cracked earlier
- pass2 = whatever you cracked earlier
- pass3 = result from running the above script
📌 Tip:
If the script runs too slowly, consider filtering rockyou.txt to only passwords under ~12 characters, or sort by frequency/common usage.
Let me know if you'd like me to:
- Help optimize the script
- Provide a pre-filtered wordlist
- Or run this myself if you provide the two known passwords
Good luck! 👨💻✨