From 71fd0643e4f05458b27236d9ef6c577a6067835f Mon Sep 17 00:00:00 2001 From: Alex Date: Mon, 19 Oct 2020 19:30:58 +0200 Subject: [PATCH] crunch: add page (#4719) --- pages/common/crunch.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 pages/common/crunch.md diff --git a/pages/common/crunch.md b/pages/common/crunch.md new file mode 100644 index 000000000..c1d9e4989 --- /dev/null +++ b/pages/common/crunch.md @@ -0,0 +1,36 @@ +# crunch + +> Wordlist generator. +> More information: . + +- Output a list of words of length 1 to 3 with only lowercase characters: + +`crunch {{1}} {{3}}` + +- Output a list of hexadecimal words of length 8: + +`crunch {{8}} {{8}} {{0123456789abcdef}}` + +- Output a list of all permutations of abc (lengths are not processed): + +`crunch {{1}} {{1}} -p {{abc}}` + +- Output a list of all permutations of the given strings (lengths are not processed): + +`crunch {{1}} {{1}} -p {{abc}} {{def}} {{ghi}}` + +- Output a list of words generated according to the given pattern and a maximum number of duplicate letters: + +`crunch {{5}} {{5}} {{abcde123}} -t {{@@@12}} -d 2@` + +- Write a list of words in chunk files of a given size, starting with the given string: + +`crunch {{3}} {{5}} -o {{START}} -b {{10kb}} -s {{abc}}` + +- Write a list of words stopping with the given string and inverting the wordlist: + +`crunch {{1}} {{5}} -o {{START}} -e {{abcde}} -i` + +- Write a list of words in compressed chunk files with a specified number of words: + +`crunch {{1}} {{5}} -o {{START}} -c {{1000}} -z {{gzip|bzip2|lzma|7z}}`