Basic of crunch
What is crunch ?
crunch is a word list generating tool that comes pre-installed with Kali Linux. It is used to generate custom keywords based on word lists. It generates a word list with permutation and combination. We could use some specific patterns and symbols to generate a word list.
installations
For installation of crunch use command sudo apt install crunch.
Syntax
asic syntax of crunch is crunch <min length> <max length> <options>
Small overview
How to use crunch
For custom values
If you know that password has some custom values . so you can create a word list with custom values. in this i am using -o for saving this file. you can also use -s then your values.
For inverting values
for inverting values use -i
You can see that how our values are inverting like aaa,aab,aac…..
Get Milanjain’s stories in your inbox
Join Medium for free to get updates from this writer.
For charter set
in crunch we have a option is charter set use cat /usr/share/crunch/charset.lst it will open all different charset present in crunch.
For charset we will use -f . also name of charset in my case it is lalpha
For special pattern
For special pattern we use -t . then your pattern . in my pattern i am using %%% for numerical values
For permutation values
if you know that password is some special words then you use permutation by using -p then your words.
For set duplicate values
if you know that password have only 2/3… duplicate values you can maintain it by using -d and no of duplicate values sign for values like if it is numerical then %.
For reading a file.
If you store some values in file .then can use it by -q and file
Use of -l
- -l is using for treat a special charters as a string. in this you can see that i am using @ symbol it take its as a @ not as a lower case .









