Practical CEH Notes & Tools
HomeGitHubPortfolioTwitter/XMediumCont@ct
  • ๐Ÿ““Practical Ethical Hacker Notes
    • ๐Ÿ“šMain Contents
      • 2 - Footprinting & Recon
      • 3 - Scanning Networks
      • 4 - Enumeration
      • 5 - Vulnerability Analysis
      • 6 - System Hacking
      • 7 - Malware
      • 8 - Sniffing
      • 10 - DoS
      • 11 - Session Hijacking
      • 13 - Hacking Web Servers
      • 14 - Hacking Web Apps
      • 15 - SQL Injection
      • 16 - Hacking Wireless
      • 17 - Hacking Mobile
      • 18 - IoT and OT Hacking
      • 19 - Cloud Computing
      • 20 - Cryptography
    • ๐Ÿ‘จโ€๐ŸŽ“Study Walkthrough
      • ๐ŸงชLabs and Training
    • Tools ๐Ÿ› ๏ธ
      • ๐Ÿค–Adb tool
      • ๐Ÿ”BCTextEncoder
      • ๐ŸŸงBurp Suite
      • ๐Ÿ‘จโ€๐Ÿ’ปCewl
      • ๐Ÿ“Crunch
      • ๐Ÿ—ƒ๏ธDirb
      • ๐ŸงEnum4linux
      • ๐Ÿ”—Gobuster
      • ๐Ÿ”“Hashcalc
      • ๐Ÿ˜บHashcat
      • ๐Ÿ‘‰Hping3
      • ๐Ÿ‰Hydra
      • ๐ŸฅทJohn the Ripper
      • โ“‚๏ธMetasploit
      • 5๏ธโƒฃMd5 Calculator
      • ๐Ÿ‘ฝNikto
      • ๐Ÿ‘๏ธNmap
      • ๐Ÿ–ผ๏ธOpenstego
      • ๐ŸŽจQuickStego
      • ๐ŸŒˆRainbowCrack
      • โ†—๏ธResponder LLMNR
      • ๐Ÿ•ท๏ธSearchsploit
      • โ›„Snow
      • ๐ŸŒ€Stego
      • ๐Ÿ’‰SQLMap
      • โš™๏ธSteghide
      • โš—๏ธStegimage
      • ๐Ÿ”‘Veracrypt
      • ๐ŸฆˆWireshark or Tcpdump
      • ๐Ÿ”WPScan
      • โšกZap
Powered by GitBook
On this page
  • What is Crunch?
  • Cheatsheet
  • Example of usage
  • To create a word list of specific numbers.
  • To generate a wordlist with a specific pattern.
  • To generate a custom wordlist with letters, symbols and numbers.as
  • To generate a wordlist with a permutation of some strings or characters
  • Other References:
  1. Practical Ethical Hacker Notes
  2. Tools ๐Ÿ› ๏ธ

Crunch

https://www.kali.org/tools/crunch/

What is Crunch?

Crunch is a wordlist generator where you can specify a standard character set or any set of characters to be used in generating the wordlists. The wordlists are created through combination and permutation of a set of characters. You can determine the amount of characters and list size.

This program supports numbers and symbols, upper and lower case characters separately and Unicode.

Cheatsheet

-b: specifies the maximum size of the wordlist.
-c: specifies the number of lines to write to the wordlist.
-d: limits the number of duplicate characters
-e: stop generating words at a certain string
-f: specifies a list of character sets from the charset.lst file
-i: inverts the order of characters in the wordlist
-l: allows the literal interpretation of %,@^ when using -t
-o: specifies the output wordlist file
-p: prints permutations without repeating characters.
-q: Like the -p option but it reads the strings from a specified file
-r: resumes a previous session (cannot be used with -s)
-s: specifies a particular string to begin the wordlist with
-t: sets a specific pattern of @,%^
-z: compresses the output wordlist file, accompanied by -o
@represents lowercase letters
^represents special characters
% represents numbers
, represents uppercase letters

Example of usage

To create a word list of specific numbers.

crunch 1 2 0123456789 > wordlist.txt

This command will generate a wordlist of 110 words having the one and 2 digit numbers with all combinations of digits 0, 1, 2, 3, 4, 5, 6, 7, 8, 9. you could use alphabets

To generate a wordlist with a specific pattern.

crunch 9 9 -t juve^%%%%

Here we have 4 characters to represent some group of characters which are as follows:

  • , for all uppercase letters

  • @ for all lowercase letters

  • % for all numeric characters

  • ^ for all special characters

So the above command will output all the words starting with โ€œjuveโ€ and then after that a special character and then 4 digit number.

To generate a custom wordlist with letters, symbols and numbers.as

This Step is for Mixed with letters, Symbols, Numbers and creating a custom wordlist Run this command on Your terminal

crunch 4 8 123abcdefgh#$% -o list.txt

crunch <min> <max> <charset> -o <output in text file>

  • min : It is the minimum password length.

  • max : It is the maximum password length.

  • charset: Character se to be used.

  • -o : Output in a textfile. along with name of the text file.

To generate a wordlist with a permutation of some strings or characters

crunch 1 10 -p juve 123

In the case of -p, the minimum size and the maximum size values are ignored by the crunch and it displays all the possible permutations.

The above command will give 2 permutations of โ€œjuve 123โ€.

Other References:

PreviousCewlNextDirb

Last updated 1 year ago

๐Ÿ““
๐Ÿ“
https://www.hackingarticles.in/a-detailed-guide-on-crunch/
24KB
crunch 9 9 -t juve^%%%%.webm