# KeyHunter

{% embed url="<https://github.com/gitblanc/KeyHunter>" %}

<figure><img src="/files/ZxsU73VOs5Jce9wtoxdc" alt=""><figcaption></figcaption></figure>

## Install

Clone the repository:

```
git clone https://github.com/your-username/keyhunter.git
cd keyhunter
```

Install the dependencies:

```
pip install -r requirements.txt
```

Run the script:

```
python3 keyhunter.py [options]
```

## Use

* Search for passwords across multiple and different files (***FASTER***):

```
python3 keyhunter.py /path/to/wordlist_parts/ password [-v] [--output /path/to/scan.txt]
```

* Search for passwords in a file (***SLOWER***):

```
python3 keyhunter.py /path/to/wordlist.txt password [-v] [--output /path/to/scan.txt]
```

* Split a file in multiple smaller ones (to split massive wordlists):

```
python3 keyhunter.py /path/to/wordlist.txt --split [--max_size 50]
```

* Export results to pdf:

```
python3 keyhunter.py /path/to/wordlist.txt search_term --pdf
```


---

# 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://eldeim.gitbook.io/brain_fuck/notes/others/tools/keyhunter.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.
