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

# BountyHunter

> Verified writeups for the BountyHunter machine of Hack The Box

# BountyHunter

<p className="machine-summary"><span className="prompt"><code>\$ tldr</code></span> XXE PHP wrapper → file read → sudo Python script</p>

<div className="machine-meta">
  | ·                | ·                                                                                                                                     |
  | ---------------- | ------------------------------------------------------------------------------------------------------------------------------------- |
  | Operating system | Linux                                                                                                                                 |
  | Difficulty       | Easy                                                                                                                                  |
  | Vector           | <span className="vbadge vbadge-web">Web</span>                                                                                        |
  | IP               | `10.10.11.100`                                                                                                                        |
  | Retirement date  | 2021-11-20                                                                                                                            |
  | Skills           | XXE (XML External Entity Injection) Exploitation XXE PHP File Read - Base64 Wrapper Abusing Sudoers Privilege \[Privilege Escalation] |
</div>

## Writeups

| Language | Author                   | Format | Link                                                            |
| -------- | ------------------------ | ------ | --------------------------------------------------------------- |
| 🇪🇸 ES  | **S4vitar**              | Vídeo  | [Open](https://www.youtube.com/watch?v=egcvKwYpi0g)             |
| 🇪🇸 ES  | **El Pingüino de Mario** | Vídeo  | [Open](https://www.youtube.com/watch?v=rxm2bmILNoY)             |
| 🇬🇧 EN  | **0xdf**                 | Texto  | [Open](https://0xdf.gitlab.io/2021/11/20/htb-bountyhunter.html) |
| 🇬🇧 EN  | **IppSec**               | Vídeo  | [Open](https://www.youtube.com/watch?v=5axsDhumfhU)             |

## Skill resources

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

| Skill               | Source     | Link                                                                                    |
| ------------------- | ---------- | --------------------------------------------------------------------------------------- |
| XML External Entity | HackTricks | [Open](https://book.hacktricks.wiki/en/pentesting-web/xxe-xee-xml-external-entity.html) |

## Related skills worth mastering

Local File Inclusion (LFI) · Server-Side Request Forgery

## If you liked this machine, try

* [Aragog](/en/htb/machines/linux/medio/aragog) — Linux, Medium
* [DevOops](/en/htb/machines/linux/medio/devoops) — Linux, Medium
* [NodeBlog](/en/htb/machines/linux/facil/nodeblog) — Linux, Easy
* [RE](/en/htb/machines/windows/dificil/re) — Windows, Hard
* [Fulcrum](/en/htb/machines/linux/insano/fulcrum) — Linux, Insane

***

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

*Last updated: 2026-06-07*

<script type="application/ld+json">
  {`{"@context":"https://schema.org","@type":"TechArticle","headline":"BountyHunter — HTB Writeup Index","name":"BountyHunter","url":"https://rootea.es/en/htb/machines/linux/facil/bountyhunter","inLanguage":"en","datePublished":"2021-11-20","dateModified":"2026-06-07","about":{"@type":"Thing","name":"Hack The Box (HTB)"},"keywords":"XML External Entity","isPartOf":{"@type":"WebSite","name":"rootea.es","url":"https://rootea.es"},"author":{"@type":"Organization","name":"rootea.es"},"proficiencyLevel":"Fá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/facil/index"},{"@type":"ListItem","position":3,"name":"Easy","item":"https://rootea.es/en/htb/machines/linux/facil/index"},{"@type":"ListItem","position":4,"name":"BountyHunter","item":"https://rootea.es/en/htb/machines/linux/facil/bountyhunter"}]}`}
</script>
