> 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).

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

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

{% 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="/files/59cbce782d8337523073f0636aa1df18e3c343d7" 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="/files/e5da96dd487b5c27b6eda3dde5758ea98d96f913" 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 dynamically by asking a question.

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

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
