> For the complete documentation index, see [llms.txt](https://hacking-notes.jord4n.pro/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hacking-notes.jord4n.pro/ru/reconnaissance/web-fuzzing.md).

# Веб-фаззинг

Методология веб-фаззинга для обнаружения скрытых каталогов, файлов, расширений, параметров и открытых ресурсов с помощью таких инструментов, как Gobuster и Wfuzz.

Веб-фаззинг помогает обнаруживать скрытые каталоги, файлы, расширения, параметры, виртуальные хосты и открытые ресурсы во время разведки веб-приложений.

{% hint style="info" %}
Существует множество инструментов и методов для обнаружения каталогов и файлов на сайтах — как из командной строки, так и через онлайн-ресурсы. Вот основные подходы и самые полезные инструменты:
{% endhint %}

## Gobuster:

> Gobuster — это быстрый и эффективный инструмент для проведения атак перебором по каталогам и файлам веб-сайтов.

### **Только каталоги:**

```bash
gobuster dir -u http://website.com/ -w /usr/share/SecLists/Discovery/Web-Content/directory-list-2.3-medium.txt -t 100
```

* **-u**: URL целевого сайта.
* **-w**: Путь к файлу, содержащему список ключевых слов (wordlist).
* **-t**: Количество потоков, используемых для поиска.

### **Файлы с определёнными расширениями:**

```bash
gobuster dir -u http://website.com/ -w /usr/share/SecLists/Discovery/Web-Content/quickhits.txt -t 100 -x html,php,txt
```

* **-x**: Указывает расширения, которые нужно искать.

### **Добавить определённые фильтры к ответам:**

* **-hh**: Фильтр по размеру тела в байтах.
* **-hc**: Исключает ответы с определёнными кодами статуса (например, 404).

<figure><img src="https://4248209978-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl4EVJpcOrsgjSGsLI7p2%2Fuploads%2Fgit-blob-4c25811e9b3a61359a8c49bca7ff28b2066fff21%2Fimage%20(1080).png?alt=media" alt=""><figcaption></figcaption></figure>

## Wfuzz:

> Wfuzz позволяет выполнять расширенный и настраиваемый поиск с помощью атак перебором — как по каталогам, так и по параметрам в URL.

### **Только каталоги:**

```bash
wfuzz -c -t 100 -w /usr/share/SecLists/Discovery/Web-Content/directory-list-2.3-medium.txt http://website.com/FUZZ
```

* **-c**: Выводит результат в цвете.
* **FUZZ**: Указывает, куда будут подставляться ключевые слова.

### **Файлы с определёнными расширениями:**

```bash
wfuzz -c -t 100 -w /usr/share/SecLists/Discovery/Web-Content/quickhits.tx -z list,html-txt-php http://website.com/
```

* **-z**: Определяет дополнительные расширения для поиска (list позволяет указать несколько расширений).

### **Динамические значения параметров (`?product_id=`) :**

```bash
wfuzz -c -t 100 -z range,1-200000 'http://website.com/shop/buy/detail?product_id=FUZZ'
```

* **-z range,1-200000**: Выполняет атаку перебором в диапазоне чисел от 1 до 200 000.

<figure><img src="https://4248209978-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl4EVJpcOrsgjSGsLI7p2%2Fuploads%2Fgit-blob-ae48da319b179a5ff00e8c89406ae1c210dcfbc1%2Fimage%20(1079).png?alt=media" alt=""><figcaption></figcaption></figure>

## **Дополнительные методы:**

### Поиск в общедоступных источниках:

Если вы предпочитаете визуальные методы из общедоступных источников, используйте поддерживаемый каталог в [Инструменты OSINT и исследования](/ru/hacking-tools/osint.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://hacking-notes.jord4n.pro/ru/reconnaissance/web-fuzzing.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
