Making Custom list for cracking
Using Custom rule for cracking password is also known as rule-based attack.
Just for Demo purpose, Let's make wordlist from rockyou.txt wordlist.
# Run below commad.
# We are using sed to remove the numeric value from the list.
head /usr/share/wordlists/rockyou.txt > demo.txt ; sed -i '/^1/d' demo.txt ; cat demo.txtMaking Custom rule for password cracking
Step 1: Password list ready ?
Make list of possible passwords
We will need different list of password for different different engagement. So, Make list first.
For this Learning purpose, I will be using demo.txt (Which i made using command above).
Step 2: Making rule
Make Rule list.
Use above link to check for functions to make list.
Example of list:
Each rule line is applied to each entry in the password list. If you add multiple rules in separate lines, each line will apply a different modification to the password list. If you put multiple rules in a single line, all the modifications in that line will apply to each password in sequence.
Step 3: Checking listing
Check the list of passwords with newly created rule.
Step 4: Using rule in Hashcat or john the ripper.
Using Rule with hashcat
If you want to use rule with Hashcat. It is very simple.
Using Rule with John the ripper
Last updated