Skip to content

OS command injection techniques

A reference for OS command injection techniques across Linux and Windows. Each technique page explains how it works, gives representative payloads for authorized testing, and — critically — how to detect it and the correct way to fix it in code.

Separators & chaining

Command substitution

Pipe injection

Argument injection

Blind injection

Time-based blind

Out-of-band

Filter / WAF bypass

Newline / CRLF

PowerShell