Cook is a customizable wordlist and password generator. Easily create permutations and combinations of words with predefined sets of extensions, words and patterns/function to create complex endpoints, wordlists and passwords. Easy UX, Checkout Usage.
- Installation
- Usage
- Predefined Sets
- Using Files
- Uppercase, Lowercase, Titlecase, Camelcase or All
- Contribute
- Todo
- All predefined sets list
Installation
Using Go
go get github.com/giteshnxtlvl/cook
OR
GO111MODULE=on go get github.com/giteshnxtlvl/cook
Update
go get -u github.com/giteshnxtlvl/cook
Download latest builds
https://github.com/giteshnxtlvl/cook/releases/
Customizing Tool
By customizing you will able to make and use your own lists and patterns/functions.
- Create empty file named
cook.yaml
or Download cook.yaml - Create an environment variable
COOK
=Path of file
How to setup up env variable? - Done, Run
cook -config
Note: If you don’t want to customize tool, then just don’t set COOK
in env variables.
Basic Permutation
![](https://1.bp.blogspot.com/-OL7aZSQnPh0/YI43AutOWBI/AAAAAAAAI9I/y4pK-2Nk2HsgU6y-2P_scUxFhBlo_Y8NgCLcBGAsYHQ/s1236/cook%2B2.png)
Recipe
cook -start admin,root -sep _,- -end secret,critical start:sep:end
cook admin,root:_,-:secret,critical
Advance Permutation
Understanding concept is important!
![](https://1.bp.blogspot.com/-a7Aog2w0YZA/YI438BrgUOI/AAAAAAAAI9Q/TCefEUb2BS0MfqlpRiEDZeVTCNBthZz9wCLcBGAsYHQ/s1114/cook3.png)
Predefined Sets
![](https://1.bp.blogspot.com/-uiw4FTITL_s/YI44os1_qfI/AAAAAAAAI9Y/sIDvkbwbo_kjf51zrN2EsPck0qByA7zZgCLcBGAsYHQ/s1263/cook%2B4.png)
Recipe
cook -start admin,root -sep _ -end secret start:sep:archive
cook admin,root:_:archive
Create your own unique sets
![](https://1.bp.blogspot.com/-23FMCJcQ78E/YI45vthsv1I/AAAAAAAAI9g/3kzFW-Gl0Okn1HJ0HGxqCkg4kEkaX4uHQCLcBGAsYHQ/s1196/5.png)
Use it like CRUNCH
![](https://1.bp.blogspot.com/-Le4f538wphM/YI46KJeL8ZI/AAAAAAAAI9o/aicePPgI1Iwrvv_LfxznAavv-esu72AIgCLcBGAsYHQ/s1100/6.png)
Patterns/Functions
![](https://1.bp.blogspot.com/-W8kb9THsmME/YI46rWYqXGI/AAAAAAAAI9w/GJj2HRbwY6krwpz-_D8-B48wNjLAjS1EgCLcBGAsYHQ/s1084/7.png)
Recipe
cook -name elliot -birth date(17,Sep,1994) name:birth
Int Ranges
![](https://1.bp.blogspot.com/-TbQj1jN_3v0/YI47wIVRuOI/AAAAAAAAI94/K99U0tiUZoARS9-k7GdLtkAnBWaLAKGwACLcBGAsYHQ/s1029/8.png)
Files
Regex Input from File
![](https://1.bp.blogspot.com/-wDiabWPErVQ/YI48NNa-gzI/AAAAAAAAI-A/mX9OWWCTdJ05owC95g9rtU1TDLyCt1cKwCLcBGAsYHQ/s1118/9.png)
Recipe
cook -exp raft-large-extensions.txt:.asp.* /:admin:exp
Save Wordlists by Unique Names
![](https://1.bp.blogspot.com/-DjjqL6RO6xg/YI488SQe0qI/AAAAAAAAI-I/th4VxbhTBwsUKSwG8pAwQCuT_ymWga7SACLcBGAsYHQ/s1098/10.png)
File not found
If file mentioned in param not found, then there will be no errors, instead it will do this
cook -file file_not_exists.txt admin,root:_:file
admin_file_not_exists.txt
root_file_not_exists.txt
Cases
![](https://1.bp.blogspot.com/-lV8duTra30M/YI4-aAtBN-I/AAAAAAAAI-Q/L8WTg5QgqOIZWR3juS5GTtVUfLtKCvaPgCLcBGAsYHQ/s1084/11.png)
Contribute
- Share your awesome recipes. Create issue.
- Share useful lists and patterns for COOK. Create issue.
- Share Ideas or new Feature Request. Create discussions
- Update Below topics. (Give direct PRs)
Using COOK with other tools
Direct fuzzing with GoBuster
cook admin,root:_:archive | gobuster dir -u https://example.com/ -w –
Useful Resources
List | Description |
---|---|
raft-large-extensions.txt | List of all extensions |
all_tlds.txt | List of all tlds |
Tip by Joel Verghese | FUZZ CDNs – Logical Fuzzing |
Todo
- Endpoints Analyser
- Interactive mode for configuring
cook.yaml