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

# OpenSource

> Verified writeups for the OpenSource machine of Hack The Box

# OpenSource

<p className="machine-summary"><span className="prompt"><code>\$ tldr</code></span> Gitea + file upload → Werkzeug PIN debug → cron + git hooks</p>

<div className="machine-meta">
  | ·                | ·                                                                                                                                                                                                                                                                                                                                                                                 |
  | ---------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Operating system | Linux                                                                                                                                                                                                                                                                                                                                                                             |
  | Difficulty       | Easy                                                                                                                                                                                                                                                                                                                                                                              |
  | Vector           | <span className="vbadge vbadge-web">Web</span>                                                                                                                                                                                                                                                                                                                                    |
  | IP               | `10.10.11.164`                                                                                                                                                                                                                                                                                                                                                                    |
  | Retirement date  | 2022-10-08                                                                                                                                                                                                                                                                                                                                                                        |
  | Skills           | Web Enumeration Github Project Enumeration Information Leakage Abusing File Upload - Replacing Python Files \[RCE] Local File Inclusion (LFI) Shell via Flask Debug - Finding out the PIN (Werkzeug Debugger) \[Unintended Way] Playing with Chisel - Remote Port Forwarding \[PIVOTING] Abusing Gitea + Information Leakage Abusing Cron Job + Git Hooks \[Privilege Escalation] |
</div>

## Writeups

| Language | Author      | Format | Link                                                          |
| -------- | ----------- | ------ | ------------------------------------------------------------- |
| 🇪🇸 ES  | **S4vitar** | Vídeo  | [Open](https://www.youtube.com/watch?v=Be5wJyhgB_A)           |
| 🇬🇧 EN  | **0xdf**    | Texto  | [Open](https://0xdf.gitlab.io/2022/10/08/htb-opensource.html) |
| 🇬🇧 EN  | **IppSec**  | Vídeo  | [Open](https://www.youtube.com/watch?v=z6nJNr8AFTU)           |

## Skill resources

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

| Skill                       | Source               | Link                                                                                       |
| --------------------------- | -------------------- | ------------------------------------------------------------------------------------------ |
| Local File Inclusion (LFI)  | HackTricks           | [Open](https://book.hacktricks.wiki/en/pentesting-web/file-inclusion/index.html)           |
| Local File Inclusion (LFI)  | PayloadsAllTheThings | [Open](https://github.com/swisskyrepo/PayloadsAllTheThings/tree/master/File%20Inclusion)   |
| Information Leakage         | HackTricks           | [Open](https://book.hacktricks.wiki/en/pentesting-web/information-leak.html)               |
| Port Forwarding / Pivoting  | HackTricks           | [Open](https://book.hacktricks.wiki/en/generic-hacking/tunneling-and-port-forwarding.html) |
| File Upload Vulnerabilities | PortSwigger          | [Open](https://portswigger.net/web-security/file-upload)                                   |
| Remote Code Execution (RCE) | HackTricks           | [Open](https://book.hacktricks.wiki/en/pentesting-web/command-injection.html)              |

## Related skills worth mastering

Remote File Inclusion (RFI) · Shellshock (CVE-2014-6271)

## If you liked this machine, try

* [Talkative](/en/htb/machines/linux/dificil/talkative) — Linux, Hard
* [Beep](/en/htb/machines/linux/facil/beep) — Linux, Easy
* [Unobtainium](/en/htb/machines/linux/dificil/unobtainium) — Linux, Hard
* [Sniper](/en/htb/machines/windows/medio/sniper) — Windows, Medium
* [Meta](/en/htb/machines/linux/medio/meta) — 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:opensource" data-giscus-lang="en" />

*Last updated: 2026-06-07*

<script type="application/ld+json">
  {`{"@context":"https://schema.org","@type":"TechArticle","headline":"OpenSource — HTB Writeup Index","name":"OpenSource","url":"https://rootea.es/en/htb/machines/linux/facil/opensource","inLanguage":"en","datePublished":"2022-10-08","dateModified":"2026-06-07","about":{"@type":"Thing","name":"Hack The Box (HTB)"},"keywords":"Local File Inclusion (LFI), Local File Inclusion (LFI), Information Leakage, Port Forwarding / Pivoting, File Upload Vulnerabilities, Remote Code Execution (RCE)","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":"OpenSource","item":"https://rootea.es/en/htb/machines/linux/facil/opensource"}]}`}
</script>
