Os Command Injection
What is OS Command Injection?
How It Works
stockreport.pl 432 32stockreport.pl 432 & echo hello & 32
Types of OS Command Injection
1. Direct Injection
https://insecure-website.com/stockStatus?productID=& echo hello &2. Blind Injection
Injection Characters
Examples of OS Command Injection
Exploiting GET Parameters
Exploiting POST Parameters
Useful Commands for Testing
Advanced Techniques
Using Time Delays
Redirecting Output
Out-of-Band Interaction
How to Prevent OS Command Injection
PreviousBroken brute-force protection, multiple credentials per requestNextOS command injection, simple case
Last updated