Cook : A Customizable Wordlist And Password Generator

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

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.

  1. Create empty file named cook.yaml or Download cook.yaml
  2. Create an environment variable COOK =Path of file How to setup up env variable?
  3. Done, Run cook -config

Note: If you don’t want to customize tool, then just don’t set COOK in env variables.

Basic Permutation

Recipe

cook -start admin,root -sep _,- -end secret,critical start:sep:end

cook admin,root:_,-:secret,critical

Advance Permutation

Understanding concept is important!

Predefined Sets

Recipe

cook -start admin,root -sep _ -end secret start:sep:archive

cook admin,root:_:archive

Create your own unique sets

Use it like CRUNCH

Patterns/Functions

Recipe

cook -name elliot -birth date(17,Sep,1994) name:birth

Int Ranges

Files

Regex Input from File

Recipe

cook -exp raft-large-extensions.txt:.asp.* /:admin:exp

Save Wordlists by Unique Names

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

Contribute

Using COOK with other tools

Direct fuzzing with GoBuster

cook admin,root:_:archive | gobuster dir -u https://example.com/ -w –

Useful Resources

ListDescription
raft-large-extensions.txtList of all extensions
all_tlds.txtList of all tlds
Tip by Joel VergheseFUZZ CDNs – Logical Fuzzing

Todo

  • Endpoints Analyser
  • Interactive mode for configuring cook.yaml

R K

Recent Posts

Shadow-rs : Harnessing Rust’s Power For Kernel-Level Security Research

shadow-rs is a Windows kernel rootkit written in Rust, demonstrating advanced techniques for kernel manipulation…

1 week ago

ExecutePeFromPngViaLNK – Advanced Execution Of Embedded PE Files via PNG And LNK

Extract and execute a PE embedded within a PNG file using an LNK file. The…

2 weeks ago

Red Team Certification – A Comprehensive Guide To Advancing In Cybersecurity Operations

Embark on the journey of becoming a certified Red Team professional with our definitive guide.…

3 weeks ago

CVE-2024-5836 / CVE-2024-6778 : Chromium Sandbox Escape via Extension Exploits

This repository contains proof of concept exploits for CVE-2024-5836 and CVE-2024-6778, which are vulnerabilities within…

3 weeks ago

Rust BOFs – Unlocking New Potentials In Cobalt Strike

This took me like 4 days (+2 days for an update), but I got it…

3 weeks ago

MaLDAPtive – Pioneering LDAP SearchFilter Parsing And Security Framework

MaLDAPtive is a framework for LDAP SearchFilter parsing, obfuscation, deobfuscation and detection. Its foundation is…

3 weeks ago