Security lab
Command Injection
The network scanner shells out to a system command with user-controlled input. Inject an extra command to read local files or execute arbitrary shell syntax.
Lab objective
Exploit the ping command to append an additional shell expression and read sensitive local data.
Tools you will use
- browser
- Burp Suite
- curl
What this lab teaches
This lab is a self-contained exercise hosted in an isolated, per-user sandbox. You are given a clear objective, the tools typically used for the technique, and a guided set of hints. Because every sandbox is disposable and network-isolated, you can experiment freely, make mistakes, and reset the environment without affecting any real system.
Hints & approach
- 01The target is concatenated directly into a shell command.
- 02Use a command separator such as ; or && to execute additional output.
- 03A payload like 127.0.0.1; cat /etc/passwd reveals system data.
How the sandbox works
When you start the lab, Vulnarex provisions an isolated, per-user environment and opens it in a new tab. Each session has its own target and state, so nothing you do here can affect another learner or any external system. You can reset the environment at any time and re-approach the challenge from a clean slate.