# 06 - Скан WordPress

Так как на этапе сканирования директорий сайта мы обнаружили [**WordPress**](https://ru.wordpress.org/) *(*&#x440;аспространенная система управления содержимым сайт&#x430;*)*, мы можем попытаться развить атаку через него.\
Хорошим началом будет:\
\- <mark style="color:green;">user enumeration</mark> - составление списка всех  пользователей WordPress.\
\- <mark style="color:green;">plugin enumeration wordpress</mark> - составление списка подключенных плагинов в WordPress.\
Так же обратите внимание на версию wordpress и  темы оформления.&#x20;

### Выбор инструмента.

[WPScan](https://github.com/wpscanteam/wpscan) - прекрасно подходит для пентеста WordPress.\
Бесплатен, определяет версии WordPress, установленные плагины, определяет пользователей, темы оформления и умеет брутфорсить.

```bash
// Определяем темы (ключ -at) и пользователей (ключ -eu)
wpscan --url http://SERVER/wordpress --wp-content-dir -at -eu
*
//Определяем список плагинов (ключ -ap)
wpscan --url http://SERVER/wordpress -e ap
```

В нашем случае плагинов не обнаружено(что редкость), но нашлись пользователи и опеределилась версия WordPress.

<figure><img src="/files/4jJUBnemUFF623DRmAV0" alt=""><figcaption><p>Пример работы WPScan</p></figcaption></figure>


---

# 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://reeves0x0.gitbook.io/linux-under-attack/scan/06-skan-wordpress.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.
