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

# Teacher

> Verified writeups for the Teacher machine of Hack The Box

# Teacher

<p className="machine-summary"><span className="prompt"><code>\$ tldr</code></span> Moodle math formula RCE → DB hash crack → cron privesc</p>

<div className="machine-meta">
  | ·                | ·                                                                                                                                                                                                                                 |
  | ---------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Operating system | Linux                                                                                                                                                                                                                             |
  | Difficulty       | Easy                                                                                                                                                                                                                              |
  | Vector           | <span className="vbadge vbadge-linux-privesc">Linux privesc</span>                                                                                                                                                                |
  | IP               | `10.10.10.153`                                                                                                                                                                                                                    |
  | Retirement date  | 2019-04-20                                                                                                                                                                                                                        |
  | Skills           | Information Leakage Abusing Moodle - Login BruteForce (Wfuzz) Moodle Exploitation - Code Injection (Abusing Math formulas in Quiz component) \[RCE] Database Enumeration Cracking Hashes Abusing Cron Job \[Privilege Escalation] |
</div>

## Writeups

| Language | Author                   | Format | Link                                                       |
| -------- | ------------------------ | ------ | ---------------------------------------------------------- |
| 🇪🇸 ES  | **S4vitar**              | Vídeo  | [Open](https://www.youtube.com/watch?v=SZoH_6maN6k)        |
| 🇪🇸 ES  | **El Pingüino de Mario** | Vídeo  | [Open](https://www.youtube.com/watch?v=7L4T_9G3f-A)        |
| 🇬🇧 EN  | **0xdf**                 | Texto  | [Open](https://0xdf.gitlab.io/2019/04/20/htb-teacher.html) |
| 🇬🇧 EN  | **IppSec**               | Vídeo  | [Open](https://www.youtube.com/watch?v=u2-te8n2WbY)        |

## Skill resources

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

| Skill                            | Source     | Link                                                                                          |
| -------------------------------- | ---------- | --------------------------------------------------------------------------------------------- |
| Information Leakage              | HackTricks | [Open](https://book.hacktricks.wiki/en/pentesting-web/information-leak.html)                  |
| Cracking Hashes (hashcat / John) | HackTricks | [Open](https://book.hacktricks.wiki/en/generic-methodologies-and-resources/brute-force.html)  |
| Directory fuzzing                | HackTricks | [Open](https://book.hacktricks.wiki/en/network-services-pentesting/pentesting-web/index.html) |
| Remote Code Execution (RCE)      | HackTricks | [Open](https://book.hacktricks.wiki/en/pentesting-web/command-injection.html)                 |

## Related skills worth mastering

Brute Force / Rate-Limit Bypass · Local File Inclusion (LFI) · Remote File Inclusion (RFI) · Shellshock (CVE-2014-6271)

## If you liked this machine, try

* [Jewel](/en/htb/machines/linux/medio/jewel) — Linux, Medium
* [Bart](/en/htb/machines/windows/medio/bart) — Windows, Medium
* [Hackback](/en/htb/machines/windows/insano/hackback) — Windows, Insane
* [Worker](/en/htb/machines/windows/medio/worker) — Windows, Medium
* [Frolic](/en/htb/machines/linux/facil/frolic) — Linux, Easy

***

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

*Last updated: 2026-07-13*

<script type="application/ld+json">
  {`{"@context":"https://schema.org","@type":"TechArticle","headline":"Teacher — HTB Writeup Index","name":"Teacher","url":"https://rootea.es/en/htb/machines/linux/facil/teacher","inLanguage":"en","datePublished":"2019-04-20","dateModified":"2026-07-13","about":{"@type":"Thing","name":"Hack The Box (HTB)"},"keywords":"Information Leakage, Cracking Hashes (hashcat / John), Fuzzing de directorios, 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":"Teacher","item":"https://rootea.es/en/htb/machines/linux/facil/teacher"}]}`}
</script>
