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

# Mango

> Verified writeups for the Mango machine of Hack The Box

# Mango

<p className="machine-summary"><span className="prompt"><code>\$ tldr</code></span> NoSQL injection login bypass → SUID JJS privesc</p>

<div className="machine-meta">
  | ·                | ·                                                                                                                                                                |
  | ---------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Operating system | Linux                                                                                                                                                            |
  | Difficulty       | Medium                                                                                                                                                           |
  | Vector           | <span className="vbadge vbadge-web">Web</span>                                                                                                                   |
  | IP               | `10.10.10.162`                                                                                                                                                   |
  | Retirement date  | 2020-04-18                                                                                                                                                       |
  | Skills           | Virtual Hosting NoSQL Injection Login Bypass NoSQL Injection - Dumping Users and Passwords \[Python Scripting] Abusing SUID Binary - JJS \[Privilege Escalation] |
</div>

## Writeups

| Language | Author      | Format | Link                                                     |
| -------- | ----------- | ------ | -------------------------------------------------------- |
| 🇪🇸 ES  | **S4vitar** | Vídeo  | [Open](https://www.youtube.com/watch?v=w7gO7i212c8)      |
| 🇬🇧 EN  | **0xdf**    | Texto  | [Open](https://0xdf.gitlab.io/2020/04/18/htb-mango.html) |
| 🇬🇧 EN  | **IppSec**  | Vídeo  | [Open](https://www.youtube.com/watch?v=NO_lsfhQK_s)      |

## 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)                                       |

## Related skills worth mastering

Remote Code Execution (RCE) · Cross-Site Scripting (XSS) · Sudo abuse · linPEAS

## If you liked this machine, try

* [Charon](/en/htb/machines/linux/dificil/charon) — Linux, Hard
* [Flujab](/en/htb/machines/linux/dificil/flujab) — Linux, Hard
* [Lazy](/en/htb/machines/linux/medio/lazy) — Linux, Medium
* [Giddy](/en/htb/machines/windows/medio/giddy) — Windows, Medium
* [Europa](/en/htb/machines/linux/medio/europa) — Linux, Medium

***

## 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:mango" data-giscus-lang="en" />

*Last updated: 2026-06-07*

<script type="application/ld+json">
  {`{"@context":"https://schema.org","@type":"TechArticle","headline":"Mango — HTB Writeup Index","name":"Mango","url":"https://rootea.es/en/htb/machines/linux/medio/mango","inLanguage":"en","datePublished":"2020-04-18","dateModified":"2026-06-07","about":{"@type":"Thing","name":"Hack The Box (HTB)"},"keywords":"SQL Injection, SQL Injection, SUID binaries","isPartOf":{"@type":"WebSite","name":"rootea.es","url":"https://rootea.es"},"author":{"@type":"Organization","name":"rootea.es"},"proficiencyLevel":"Medio"}`}
</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/medio/index"},{"@type":"ListItem","position":3,"name":"Medium","item":"https://rootea.es/en/htb/machines/linux/medio/index"},{"@type":"ListItem","position":4,"name":"Mango","item":"https://rootea.es/en/htb/machines/linux/medio/mango"}]}`}
</script>
