> 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/es/web/path-traversal.md).

# Recorrido de rutas

Recorrido de rutas, lectura de archivos, evasión de secuencias de recorrido, evasión mediante decodificación de URL, trucos con byte nulo y debilidades en la validación de rutas.

Notas sobre Path Traversal para laboratorios de PortSwigger Web Security Academy, centradas en pasos de prueba prácticos, validación con Burp Suite, comportamiento de los payloads y flujo de trabajo de explotación.

## Flujo de trabajo de pruebas

1. Identifica la funcionalidad vulnerable y la solicitud, parámetro, encabezado, cookie o sink del lado del navegador relevantes.
2. Reproduce el comportamiento en Burp Suite con una carga útil mínima antes de escalar el ataque.
3. Valida el impacto con una prueba de concepto clara, como acceso a la cuenta, divulgación de datos, ejecución de código, SSRF o cambio de estado.
4. Mantén sin cambios las cargas útiles, las URL, los tokens y las credenciales del laboratorio mientras documentas la ruta de explotación.

## Laboratorios

<table><thead><tr><th data-type="content-ref"></th></tr></thead><tbody><tr><td><a href="/es/web/path-traversal/basic-path-traversal.md">Recorrido de rutas básico</a></td></tr><tr><td><a href="/es/web/path-traversal/bypass-by-double-url-decoding.md">Evasión mediante doble decodificación de URL</a></td></tr><tr><td><a href="/es/web/path-traversal/bypass-with-null-byte-and-extension-validation.md">Evasión con byte nulo y validación de extensiones</a></td></tr><tr><td><a href="/es/web/path-traversal/file-path-traversal-traversal-sequences-removed-without-recursive-processing.md">Secuencias de traversal de ruta de archivos eliminadas sin procesamiento recursivo</a></td></tr><tr><td><a href="/es/web/path-traversal/path-traversal-bypass-via-double-url-decoding.md">Bypass de traversal de ruta mediante doble decodificación URL</a></td></tr><tr><td><a href="/es/web/path-traversal/path-traversal-bypass-with-null-byte-and-extension-validation.md">Bypass de traversal de ruta con byte nulo y validación de extensión</a></td></tr><tr><td><a href="/es/web/path-traversal/path-traversal-sequences-stripped-without-recursive-processing.md">Secuencias de traversal de ruta eliminadas sin procesamiento recursivo</a></td></tr><tr><td><a href="/es/web/path-traversal/path-traversal-with-absolute-bypass-when-sequences-are-blocked.md">Traversal de ruta con bypass absoluto cuando las secuencias están bloqueadas</a></td></tr><tr><td><a href="/es/web/path-traversal/path-traversal-with-absolute-path-bypass-when-sequences-are-blocked.md">Traversal de ruta con bypass de ruta absoluta cuando las secuencias están bloqueadas</a></td></tr><tr><td><a href="/es/web/path-traversal/path-traversal-with-start-of-path-validation.md">Traversal de ruta con validación del inicio de la ruta</a></td></tr><tr><td><a href="/es/web/path-traversal/validating-the-start-of-the-path-directory-traversal.md">Validación del inicio del directorio de traversal de ruta</a></td></tr></tbody></table>


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://hacking-notes.jord4n.pro/es/web/path-traversal.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
