Sitemap
Milanjain

Milanjain

username for poc Hacker and bug bounty hunter secure Google Apple, IBM, Nokia,BlackBerry BBC fastmail upstox Hootsuite wefact + 150 more companies

Basic of crunch

3 min readJan 11, 2022

--

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.

CRUNCH

installations

For installation of crunch use command sudo apt install crunch.

Press enter or click to view image in full size

Syntax

asic syntax of crunch is crunch <min length> <max length> <options>

Press enter or click to view image in full size

Small overview

How to use crunch

Press enter or click to view image in full size

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.

Press enter or click to view image in full size

For inverting values

for inverting values use -i

Press enter or click to view image in full size

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.

Press enter or click to view image in full size

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.

Press enter or click to view image in full size

For charset we will use -f . also name of charset in my case it is lalpha

Press enter or click to view image in full size

For special pattern

For special pattern we use -t . then your pattern . in my pattern i am using %%% for numerical values

Press enter or click to view image in full size

For permutation values

if you know that password is some special words then you use permutation by using -p then your words.

Press enter or click to view image in full size

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 %.

Press enter or click to view image in full size

For reading a file.

If you store some values in file .then can use it by -q and file

Press enter or click to view image in full size

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 .
Press enter or click to view image in full size

--

--

Milanjain
Milanjain

username for poc Hacker and bug bounty hunter secure Google Apple, IBM, Nokia,BlackBerry BBC fastmail upstox Hootsuite wefact + 150 more companies