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

# Toby

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

# Toby

<p className="machine-summary"><span className="prompt"><code>\$ tldr</code></span> GOGS backdoor PHP → MySQL hash via Wireshark → epoch password crack</p>

<div className="machine-meta">
  | ·                 | ·                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
  | ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
  | Sistema operativo | Linux                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
  | Dificultad        | Insano                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
  | Vector            | <span className="vbadge vbadge-crypto">Crypto</span>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
  | IP                | `10.10.11.121`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
  | Fecha de retirada | 2022-04-16                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
  | Skills            | Abusing GOGS (Project Enumeration) Static Code Analysis (Finding a backdoor with php-malware-scanner) Code deofuscation Reverse shell through backdoor Setting up a SOCKS5 Proxy (Chisel/Proxychains) Database Enumeration (Accessing GOGS) Abusing API (Stealing an authentication hash in MYSQL through Wireshark) Playing with epoch time to generate a potential list of passwords Cracking Hashes PIVOTING Process Enumeration (pspy) Abusing cron job to obtain a private key Decrypting database passwords (AES Encryption) Abusing PAM (Ghidra Analysis) Getting the root password by abusing time Advanced persistence techniques |
</div>

## Writeups

| Idioma  | Autor       | Formato | Enlace                                                   |
| ------- | ----------- | ------- | -------------------------------------------------------- |
| 🇪🇸 ES | **S4vitar** | Vídeo   | [Abrir](https://www.youtube.com/watch?v=TLKid8-aI0E)     |
| 🇬🇧 EN | **0xdf**    | Texto   | [Abrir](https://0xdf.gitlab.io/2022/04/16/htb-toby.html) |
| 🇬🇧 EN | **IppSec**  | Vídeo   | [Abrir](https://www.youtube.com/watch?v=XROkuXKgeg8)     |

## 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                                                                                        |
| -------------------------------- | ---------- | --------------------------------------------------------------------------------------------- |
| Cracking Hashes (hashcat / John) | HackTricks | [Abrir](https://book.hacktricks.wiki/en/generic-methodologies-and-resources/brute-force.html) |
| Port Forwarding / Pivoting       | HackTricks | [Abrir](https://book.hacktricks.wiki/en/generic-hacking/tunneling-and-port-forwarding.html)   |

## Skills relacionadas que conviene dominar

Brute Force / Rate-Limit Bypass

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

* [Joker](/htb/machines/linux/dificil/joker) — Linux, Difícil
* [Acute](/htb/machines/windows/dificil/acute) — Windows, Difícil
* [Reddish](/htb/machines/linux/insano/reddish) — Linux, Insano
* [Writer](/htb/machines/linux/medio/writer) — Linux, Medio
* [Unbalanced](/htb/machines/linux/dificil/unbalanced) — 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:toby" data-giscus-lang="es" />

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

<script type="application/ld+json">
  {`{"@context":"https://schema.org","@type":"TechArticle","headline":"Toby — HTB Writeup Index","name":"Toby","url":"https://rootea.es/htb/machines/linux/insano/toby","inLanguage":"es","datePublished":"2022-04-16","dateModified":"2026-06-07","about":{"@type":"Thing","name":"Hack The Box (HTB)"},"keywords":"Cracking Hashes (hashcat / John), Port Forwarding / Pivoting","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":"Toby","item":"https://rootea.es/htb/machines/linux/insano/toby"}]}`}
</script>
