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

# Flujab

> Verified writeups for the Flujab machine of Hack The Box

# Flujab

<p className="machine-summary"><span className="prompt"><code>\$ tldr</code></span> SSL cert + cookies → mail hijack → Ajenti exploitation</p>

<div className="machine-meta">
  | ·                | ·                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
  | ---------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Operating system | Linux                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
  | Difficulty       | Hard                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
  | Vector           | <span className="vbadge vbadge-web">Web</span>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
  | IP               | `10.10.10.124`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
  | Retirement date  | 2019-06-15                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
  | Skills           | SSL Cert Enumeration Cookies Manipulation - Gaining access to restricted areas of the site Abusing Mailer Configuration Mail server hijacking - Intercepting mails with Python SQLI (SQL Injection) - Error based in registered patient cancelation form Gaining access as the 'sysadm' user to an Ajenti panel Ajenti Server Management System Exploitation Ajenti Exploitation - Creating an authorized public key on the server Assigning file permissions through the API Managing authorized access through the 'hosts.allow' file Escaping Restricted Bash (rbash) Abusing SUID Binary (GNU Screen) \[Privilege Escalation] |
</div>

## Writeups

| Language | Author      | Format | Link                                                      |
| -------- | ----------- | ------ | --------------------------------------------------------- |
| 🇪🇸 ES  | **S4vitar** | Vídeo  | [Open](https://www.youtube.com/watch?v=aPbfiHW8GW8)       |
| 🇬🇧 EN  | **0xdf**    | Texto  | [Open](https://0xdf.gitlab.io/2019/06/15/htb-flujab.html) |
| 🇬🇧 EN  | **IppSec**  | Vídeo  | [Open](https://www.youtube.com/watch?v=_f9Xygr-qHU)       |

## Skill resources

Curated documentation for each technique listed in the *Skills* column above. Sources: HackTricks, GTFOBins, PortSwigger, etc.

| Skill                       | Source      | Link                                                                            |
| --------------------------- | ----------- | ------------------------------------------------------------------------------- |
| SQL Injection               | HackTricks  | [Open](https://book.hacktricks.wiki/en/pentesting-web/sql-injection/index.html) |
| SQL Injection               | PortSwigger | [Open](https://portswigger.net/web-security/sql-injection)                      |
| SUID binaries               | GTFOBins    | [Open](https://gtfobins.github.io/#+suid)                                       |
| Remote Code Execution (RCE) | HackTricks  | [Open](https://book.hacktricks.wiki/en/pentesting-web/command-injection.html)   |

## Related skills worth mastering

Cross-Site Scripting (XSS) · Sudo abuse · linPEAS · Local File Inclusion (LFI) · Remote File Inclusion (RFI) · Shellshock (CVE-2014-6271)

## If you liked this machine, try

* [Europa](/en/htb/machines/linux/medio/europa) — Linux, Medium
* [Mango](/en/htb/machines/linux/medio/mango) — Linux, Medium
* [Bastard](/en/htb/machines/windows/medio/bastard) — Windows, Medium
* [Charon](/en/htb/machines/linux/dificil/charon) — Linux, Hard
* [Ellingson](/en/htb/machines/linux/dificil/ellingson) — Linux, Hard

***

## Comments & tips

Did the official writeup not work? Found a smarter trick? Share it here — comments live in [GitHub Discussions](https://github.com/FFuson/HTB_Writeups/discussions).

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

*Last updated: 2026-06-07*

<script type="application/ld+json">
  {`{"@context":"https://schema.org","@type":"TechArticle","headline":"Flujab — HTB Writeup Index","name":"Flujab","url":"https://rootea.es/en/htb/machines/linux/dificil/flujab","inLanguage":"en","datePublished":"2019-06-15","dateModified":"2026-06-07","about":{"@type":"Thing","name":"Hack The Box (HTB)"},"keywords":"SQL Injection, SQL Injection, SUID binaries, Remote Code Execution (RCE)","isPartOf":{"@type":"WebSite","name":"rootea.es","url":"https://rootea.es"},"author":{"@type":"Organization","name":"rootea.es"},"proficiencyLevel":"Difícil"}`}
</script>

<script type="application/ld+json">
  {`{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://rootea.es/en"},{"@type":"ListItem","position":2,"name":"Linux","item":"https://rootea.es/en/htb/machines/linux/dificil/index"},{"@type":"ListItem","position":3,"name":"Hard","item":"https://rootea.es/en/htb/machines/linux/dificil/index"},{"@type":"ListItem","position":4,"name":"Flujab","item":"https://rootea.es/en/htb/machines/linux/dificil/flujab"}]}`}
</script>
