# Bicho (Por completar)

### 🔍 RECONOCIMIENTO

En primer lugar, tras conectarnos a la máquina, utilizamos el comando:

```bash
ping -c 1 172.17.0.2
```

para verificar la conectividad de red.

<figure><img src="/files/kcCCxYH1t2i2v23jbAlo" alt=""><figcaption></figcaption></figure>

A continuación, realizamos el comando:

```bash
nmap -sVC -p- -n --min-rate 5000 172.17.0.2
```

para realizar un escaneo de puertos y servicios detallado en la dirección IP.

<figure><img src="/files/sjUi0M75RmNqjgnJmBMA" alt=""><figcaption></figcaption></figure>

Como podemos observar durante el escaneo que el **puerto 80** perteneciente al **servicio HTTP** está abierto por lo que a continuación se indagará más.&#x20;

### 🔎 **EXPLORACIÓN**

Se utiliza el comando:

```bash
sudo nmap -sCV -p80 -v 172.17.0.2
```

para obtener más información sobre esos puertos específicamente.

<figure><img src="/files/gJUs9X8QEms2en4Tchhe" alt=""><figcaption></figcaption></figure>

Revisamos el puerto 80 y se nos redirige al dominio **bicho.dl** por lo que añadimos al directorio `/etc/hosts`.

<figure><img src="/files/wKXeyoAhfD4jHWwSCvRV" alt=""><figcaption></figcaption></figure>

Tras añadirlo volvemos a recargar la página y nos encontramos como en estos casos un WordPress.

<figure><img src="/files/fvCs7i5GkzA4XwLZ6ysS" alt=""><figcaption></figcaption></figure>

Revisando los post encontramos que el autor se llama Bicho por lo que lo tendremos en cuenta más adelante.&#x20;

### 🚀 **EXPLOTACIÓN**

Al tener el directorio wp-admin sabemos que es un panel de login pero no tenemos las credenciales por lo que con **WPScan** enumeramos el usuario.

```bash
wpscan --url http://bicho.dl/ --enumerate u,vp
```

<figure><img src="/files/nQx0RZfZWtlMKV78Xs2F" alt=""><figcaption></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://beafn28.gitbook.io/beafn28/writeups/dockerlabs/bicho-por-completar.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.
