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

# Control

> Verified writeups for the Control machine of Hack The Box

# Control

<p className="machine-summary"><span className="prompt"><code>\$ tldr</code></span> SQLi a RCE (INTO OUTFILE) → ConPtyShell → ImagePath hijacking</p>

<div className="machine-meta">
  | ·                | ·                                                                                                                                                                                                                                                                                                                                                   |
  | ---------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Operating system | Windows                                                                                                                                                                                                                                                                                                                                             |
  | Difficulty       | Hard                                                                                                                                                                                                                                                                                                                                                |
  | Vector           | <span className="vbadge vbadge-web">Web</span>                                                                                                                                                                                                                                                                                                      |
  | IP               | `10.10.11.167`                                                                                                                                                                                                                                                                                                                                      |
  | Retirement date  | 2020-04-25                                                                                                                                                                                                                                                                                                                                          |
  | Skills           | SQL Injection \[SQLI] - Error Based Advanced Bash Scripting (EXTRA) SQLI to RCE (Into Outfile - PHP File Creation) ConPtyShell (Fully Interactive Reverse Shell for Windows) Playing with ScriptBlocks and PSCredential to execute commands as another user AppLocker Bypass WinPEAS Enumeration Service ImagePath Hijacking (Privilege Escalation) |
</div>

## Writeups

| Language | Author                   | Format | Link                                                       |
| -------- | ------------------------ | ------ | ---------------------------------------------------------- |
| 🇪🇸 ES  | **S4vitar**              | Vídeo  | [Open](https://www.youtube.com/watch?v=I1IDYLQeieE)        |
| 🇪🇸 ES  | **El Pingüino de Mario** | Vídeo  | [Open](https://www.youtube.com/watch?v=r_JxTgOAJ7c)        |
| 🇬🇧 EN  | **0xdf**                 | Texto  | [Open](https://0xdf.gitlab.io/2020/04/25/htb-control.html) |
| 🇬🇧 EN  | **IppSec**               | Vídeo  | [Open](https://www.youtube.com/watch?v=kFfYHmLmwVc)        |

## 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)                      |
| winPEAS                     | PEASS-ng    | [Open](https://github.com/peass-ng/PEASS-ng/tree/master/winPEAS)                |
| Remote Code Execution (RCE) | HackTricks  | [Open](https://book.hacktricks.wiki/en/pentesting-web/command-injection.html)   |

## Related skills worth mastering

Cross-Site Scripting (XSS) · Active Directory · Local File Inclusion (LFI) · Remote File Inclusion (RFI) · Shellshock (CVE-2014-6271)

## If you liked this machine, try

* [Bastard](/en/htb/machines/windows/medio/bastard) — Windows, Medium
* [Europa](/en/htb/machines/linux/medio/europa) — Linux, Medium
* [Fighter](/en/htb/machines/windows/insano/fighter) — Windows, Insane
* [Toolbox](/en/htb/machines/windows/facil/toolbox) — Windows, Easy
* [Flujab](/en/htb/machines/linux/dificil/flujab) — 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:control" data-giscus-lang="en" />

*Last updated: 2026-06-07*

<script type="application/ld+json">
  {`{"@context":"https://schema.org","@type":"TechArticle","headline":"Control — HTB Writeup Index","name":"Control","url":"https://rootea.es/en/htb/machines/windows/dificil/control","inLanguage":"en","datePublished":"2020-04-25","dateModified":"2026-06-07","about":{"@type":"Thing","name":"Hack The Box (HTB)"},"keywords":"SQL Injection, SQL Injection, winPEAS, 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":"Windows","item":"https://rootea.es/en/htb/machines/windows/dificil/index"},{"@type":"ListItem","position":3,"name":"Hard","item":"https://rootea.es/en/htb/machines/windows/dificil/index"},{"@type":"ListItem","position":4,"name":"Control","item":"https://rootea.es/en/htb/machines/windows/dificil/control"}]}`}
</script>
