← back to room
RCE
StockPulse — Host check
Scenario
A network ping tool strips semicolons and ampersands from user input before execution. Other shell metacharacters may still be available. Run a read command on flag.txt despite the filter.
Your approach
- Test which characters survive the sanitiser in the ping field.
- Use an allowed operator such as a pipe to chain commands.
- Pass a host value that runs cat on flag.txt via the pipe.
- Copy the flag from the combined output.
- Submit the RCE flag.
StockPulse
Network diagnostics
Ping a host
Semicolons and ampersands are stripped from input before the command runs.