# Exporting The Results

OpenVAS proporciona los resultados del escaneo en un informe que se puede acceder desde la página de **Escaneos**, como se muestra a continuación.

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

Al hacer clic en el informe, podrás ver los resultados del escaneo, incluyendo información del sistema operativo, puertos abiertos, servicios, etc., en otras pestañas dentro del informe.

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

## **Formatos de Exportación**

OpenVAS ofrece varios formatos de exportación con fines de generación de informes, como **XML**, **CSV**, **PDF**, **ITG** y **TXT**. Si eliges exportar tu informe en **XML**, puedes utilizar varios analizadores XML para visualizar los datos en un formato más legible.

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

Vamos a exportar nuestros resultados en **XML** y utilizar la herramienta **openvasreporting** desarrollada por **TheGroundZero**. Esta herramienta ofrece varias opciones para generar la salida. En este caso, usaremos la opción estándar para generar un archivo **Excel** con el informe.

**Exportación de los Resultados**

Ejecuta el siguiente comando para generar un documento de Excel:

```bash
sherlock28@htb[/htb]$ python3 -m openvasreporting -i report-2bf466b5-627d-4659-bea6-1758b43235b1.xml -f xlsx
```

Este comando generará un documento de Excel similar al siguiente:

<figure><img src="/files/5LuMXtIbdtuUgnVxlQuS" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/nCu126nDl5SJDDsIzHPp" 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/apuntes-hacking/openvas/exporting-the-results.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.
