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

# OS command injection, simple case

> PortSwigger Web Security Academy lab: OS command injection, simple case. Topic: OS Command Injection.

# OS command injection, simple case

<p className="machine-summary"><span className="prompt"><code>\$ tldr</code></span> PortSwigger · OS Command Injection</p>

<div className="machine-meta">
  | ·            | ·                                                                            |
  | ------------ | ---------------------------------------------------------------------------- |
  | Platform     | PortSwigger Web Security Academy                                             |
  | Topic        | OS Command Injection                                                         |
  | Difficulty   | <span className="dbadge dbadge-easy">APPRENTICE</span>                       |
  | Official lab | [Open](https://portswigger.net/web-security/os-command-injection/lab-simple) |
</div>

## Solve the lab

| Language | Author          | Format | Link                                                                         |
| -------- | --------------- | ------ | ---------------------------------------------------------------------------- |
| 🇬🇧 EN  | **PortSwigger** | Texto  | [Open](https://portswigger.net/web-security/os-command-injection/lab-simple) |

## Resources by skill

| Skill                | Source      | Link                                                              |
| -------------------- | ----------- | ----------------------------------------------------------------- |
| OS Command Injection | PortSwigger | [Open](https://portswigger.net/web-security/os-command-injection) |

## Related skills

[OS Command Injection](/en/skills/command-injection)

***

## Comments & tips

Solved this lab a different way? Share it here — comments live in [GitHub Discussions](https://github.com/FFuson/HTB_Writeups/discussions).

<div className="rootea-giscus-wrap" data-giscus-term="lab:os-command-injection-simple" data-giscus-lang="en" />

*Last updated: 2026-06-07*

<script type="application/ld+json">
  {`{"@context":"https://schema.org","@type":"TechArticle","name":"OS command injection, simple case","headline":"OS command injection, simple case — PortSwigger lab index","url":"https://rootea.es/en/portswigger/labs/os-command-injection/simple","inLanguage":"en","about":[{"@type":"Thing","name":"PortSwigger Web Security Academy"},{"@type":"Thing","name":"OS Command Injection"}],"isPartOf":{"@type":"WebSite","name":"rootea.es","url":"https://rootea.es"},"author":{"@type":"Organization","name":"rootea.es"}}`}
</script>
