> ## Documentation Index
> Fetch the complete documentation index at: https://rootea.es/llms.txt
> Use this file to discover all available pages before exploring further.

# File path traversal, validation of file extension with null byte bypass

> PortSwigger Web Security Academy lab: File path traversal, validation of file extension with null byte bypass. Tema: Directory / Path Traversal.

# File path traversal, validation of file extension with null byte bypass

<p className="machine-summary"><span className="prompt"><code>\$ tldr</code></span> PortSwigger · Directory / Path Traversal</p>

<div className="machine-meta">
  | ·           | ·                                                                                                              |
  | ----------- | -------------------------------------------------------------------------------------------------------------- |
  | Plataforma  | PortSwigger Web Security Academy                                                                               |
  | Tema        | Directory / Path Traversal                                                                                     |
  | Dificultad  | <span className="dbadge dbadge-medium">PRACTITIONER</span>                                                     |
  | Lab oficial | [Abrir](https://portswigger.net/web-security/file-path-traversal/lab-validate-file-extension-null-byte-bypass) |
</div>

## Resolver el lab

| Idioma  | Autor           | Formato | Enlace                                                                                                         |
| ------- | --------------- | ------- | -------------------------------------------------------------------------------------------------------------- |
| 🇬🇧 EN | **PortSwigger** | Texto   | [Abrir](https://portswigger.net/web-security/file-path-traversal/lab-validate-file-extension-null-byte-bypass) |

## Recursos por skill

| Skill                      | Fuente      | Enlace                                                            |
| -------------------------- | ----------- | ----------------------------------------------------------------- |
| Directory / Path Traversal | PortSwigger | [Abrir](https://portswigger.net/web-security/file-path-traversal) |

## Skills relacionadas

[Directory / Path Traversal](/skills/directory-traversal)

***

## Comentarios y truquillos

¿Has resuelto el lab por una vía distinta? Compártela aquí — los comentarios viven en [GitHub Discussions](https://github.com/FFuson/HTB_Writeups/discussions).

<div className="rootea-giscus-wrap" data-giscus-term="lab:file-path-traversal-validate-file-extension-null-byte-bypass" data-giscus-lang="es" />

*Última actualización: 2026-06-07*

<script type="application/ld+json">
  {`{"@context":"https://schema.org","@type":"TechArticle","name":"File path traversal, validation of file extension with null byte bypass","headline":"File path traversal, validation of file extension with null byte bypass — PortSwigger lab index","url":"https://rootea.es/portswigger/labs/file-path-traversal/validate-file-extension-null-byte-bypass","inLanguage":"es","about":[{"@type":"Thing","name":"PortSwigger Web Security Academy"},{"@type":"Thing","name":"Directory / Path Traversal"}],"isPartOf":{"@type":"WebSite","name":"rootea.es","url":"https://rootea.es"},"author":{"@type":"Organization","name":"rootea.es"}}`}
</script>
