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

# Jail

> Writeups verificados de la máquina Jail de Hack The Box

# Jail

<p className="machine-summary"><span className="prompt"><code>\$ tldr</code></span> BOF socket reuse → NFSv3 → sudo rvim → RAR + RSA crypto</p>

<div className="machine-meta">
  | ·                 | ·                                                                                                                                                                                                                                             |
  | ----------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Sistema operativo | Linux                                                                                                                                                                                                                                         |
  | Dificultad        | Insano                                                                                                                                                                                                                                        |
  | Vector            | <span className="vbadge vbadge-binary-exploitation">Binary</span>                                                                                                                                                                             |
  | IP                | `10.10.10.34`                                                                                                                                                                                                                                 |
  | Fecha de retirada | 2022-05-23                                                                                                                                                                                                                                    |
  | Skills            | Code Analysis Binary Exploitation Buffer Overflow x32 - Socket Re-Use Shellcode Technique GDB Tips NFSv3 Privesc Abusing sudoers privilege (rvim command) Cracking RAR file Crypto Challenge (Playing with RsaCtfTool to get the private key) |
</div>

## Writeups

| Idioma  | Autor       | Formato | Enlace                                                   |
| ------- | ----------- | ------- | -------------------------------------------------------- |
| 🇪🇸 ES | **S4vitar** | Vídeo   | [Abrir](https://www.youtube.com/watch?v=lCrQLzE-CjI)     |
| 🇬🇧 EN | **0xdf**    | Texto   | [Abrir](https://0xdf.gitlab.io/2022/05/23/htb-jail.html) |
| 🇬🇧 EN | **IppSec**  | Vídeo   | [Abrir](https://www.youtube.com/watch?v=80-73OYcrrk)     |

## Recursos por skill

Documentación curada para cada técnica que aparece en la columna *Skills* de arriba. Fuentes: HackTricks, GTFOBins, PortSwigger, etc.

| Skill                       | Fuente     | Enlace                                                                                 |
| --------------------------- | ---------- | -------------------------------------------------------------------------------------- |
| Buffer Overflow (BoF / ROP) | HackTricks | [Abrir](https://book.hacktricks.wiki/en/binary-exploitation/stack-overflow/index.html) |

## Si te gustó esta máquina, prueba

* [October](/htb/machines/linux/medio/october) — Linux, Medio
* [Chatterbox](/htb/machines/windows/medio/chatterbox) — Windows, Medio
* [Safe](/htb/machines/linux/facil/safe) — Linux, Fácil
* [Buff](/htb/machines/windows/facil/buff) — Windows, Fácil
* [Ellingson](/htb/machines/linux/dificil/ellingson) — Linux, Difícil

***

## Comentarios y truquillos

¿Algo no funcionó del writeup oficial? ¿Has encontrado un truco mejor? Compártelo aquí — los comentarios viven en [GitHub Discussions](https://github.com/FFuson/HTB_Writeups/discussions).

<div className="rootea-giscus-wrap" data-giscus-term="machine:jail" data-giscus-lang="es" />

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

<script type="application/ld+json">
  {`{"@context":"https://schema.org","@type":"TechArticle","headline":"Jail — HTB Writeup Index","name":"Jail","url":"https://rootea.es/htb/machines/linux/insano/jail","inLanguage":"es","datePublished":"2022-05-23","dateModified":"2026-06-07","about":{"@type":"Thing","name":"Hack The Box (HTB)"},"keywords":"Buffer Overflow (BoF / ROP)","isPartOf":{"@type":"WebSite","name":"rootea.es","url":"https://rootea.es"},"author":{"@type":"Organization","name":"rootea.es"},"proficiencyLevel":"Insano"}`}
</script>

<script type="application/ld+json">
  {`{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Inicio","item":"https://rootea.es"},{"@type":"ListItem","position":2,"name":"Linux","item":"https://rootea.es/htb/machines/linux/insano/index"},{"@type":"ListItem","position":3,"name":"Insano","item":"https://rootea.es/htb/machines/linux/insano/index"},{"@type":"ListItem","position":4,"name":"Jail","item":"https://rootea.es/htb/machines/linux/insano/jail"}]}`}
</script>
