# WPScan

### Use

```bash
wpscan --url https://WEB.com
```

### Enumeration

#### Users & Plugins

```bash
wpscan --url https://WEB.com --enumerate u,p
```

> usuarios validos potenciales existentes

### Brute Force

```bash
wpscan --url https://WEB.com -U admin -P /usr/share/wordlist/rockyou.txt
```

> Ataque de fuerza bruta en el panel de autenticación para descubrir credenciales validas.
>
> Este procedimiento también se pude hacer de forma manual con un script de Bash o Python.

***

### XMLRPC

Seria necesario también una petición POST al archivo xmlrpc.php con estructura XML

```xml
POST /xmlrpc.php HTTP/1.1
Host: example.com
Content-Length: 235

<?xml version="1.0" encoding="UTF-8"?>
<methodCall> 
<methodName>wp.getUsersBlogs</methodName> 
<params> 
<param><value>\{\{your username\}\}</value></param> 
<param><value>\{\{your password\}\}</value></param> 
</params> 
</methodCall>
```

Referencia ; Exploit : <https://nitesculucian.github.io/2019/07/01/exploiting-the-xmlrpc-php-on-all-wordpress-versions>


---

# 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/wpscan.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.
