# Wordlist Generation

Generate with `cewl` to scrape words from a site or page, also has specific parameters to keep special characters and numbers.

Pay close attention to a specific pattern identified through previous challenges. What the the local sports teams? Known high schools or other popular items in the local area?

Add mangling rules to put special characters at the front and end of the word.

`.\hashcat.exe -a 0 -m 500 -O -w 4 -r .\rules\dive.rule c5.hashes`

### Tips and Tricks for Custom Wordlists

Create all as lowercase, then can move to toggle capitalization with rules

* [ ] Identify at least three separate wordlists with theme
* [ ] Modify results
  * [ ] Create all lowercase&#x20;
  * [ ] Remove all spaces
  * [ ] Remove special-encoded characters
  * [ ] Create pluralization of all words
  * [ ] Run through toggle ruleset

Run the following in lines

* [ ] Worlists:
  * [ ] Rockyou
  * [ ] Rockyou + ruleset (small ruleset)
    * [ ] Best64
    * [ ] Toggle
  * [ ] Weakpass
* [ ] Masking attacks
  * [ ] wordlist + ?a?a (incremental)
  * [ ] ?a?a + wordlist (incremental)
  * [ ] ?a + wordlist + ?a
  * [ ] wordlist + ?d?d?d
  * [ ] ?d?d?d + wordlist

### Create hashcat wordlist

We can create wordlists using the hashcat rules to accelerate some analysis or use to push on some additional attack methods

```bash
 .\hashcat.exe  D:\ctfs\fruits.txt -r .\rules\d3ad0ne.rule --stdout > deadlist.txt
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://notes.m4lwhere.org/offensive/password-attacks/wordlist-generation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
