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

# Shocker

> Verified writeups for the Shocker machine of Hack The Box

# Shocker

<p className="machine-summary"><span className="prompt"><code>\$ tldr</code></span> Shellshock (CVE-2014-6271) en CGI → sudo perl</p>

<div className="machine-meta">
  | ·                | ·                                                                                                                                    |
  | ---------------- | ------------------------------------------------------------------------------------------------------------------------------------ |
  | Operating system | Linux                                                                                                                                |
  | Difficulty       | Easy                                                                                                                                 |
  | Vector           | <span className="vbadge vbadge-linux-privesc">Linux privesc</span>                                                                   |
  | IP               | `10.10.10.56`                                                                                                                        |
  | Retirement date  | 2017-09-30                                                                                                                           |
  | Skills           | ShellShock Attack (User-Agent) Abusing Sudoers Privilege (Perl) EXTRA: Creamos nuestro propio CTF en Docker que contemple ShellShock |
</div>

## Writeups

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

## Skill resources

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

| Skill                      | Source     | Link                                                                                                                                                              |
| -------------------------- | ---------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Shellshock (CVE-2014-6271) | HackTricks | [Open](https://book.hacktricks.wiki/en/network-services-pentesting/pentesting-web/php-tricks-esp/php-useful-functions-disable_functions-open_basedir-bypass.html) |
| Shellshock (CVE-2014-6271) | Exploit-DB | [Open](https://www.exploit-db.com/exploits/34900)                                                                                                                 |

## Related skills worth mastering

Remote Code Execution (RCE)

## If you liked this machine, try

* [Ariekei](/en/htb/machines/linux/insano/ariekei) — Linux, Insane
* [Beep](/en/htb/machines/linux/facil/beep) — 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:shocker" data-giscus-lang="en" />

*Last updated: 2026-06-07*

<script type="application/ld+json">
  {`{"@context":"https://schema.org","@type":"TechArticle","headline":"Shocker — HTB Writeup Index","name":"Shocker","url":"https://rootea.es/en/htb/machines/linux/facil/shocker","inLanguage":"en","datePublished":"2017-09-30","dateModified":"2026-06-07","about":{"@type":"Thing","name":"Hack The Box (HTB)"},"keywords":"Shellshock (CVE-2014-6271), Shellshock (CVE-2014-6271)","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":"Shocker","item":"https://rootea.es/en/htb/machines/linux/facil/shocker"}]}`}
</script>
