Command-injections

๐Ÿ”ง Injection Operators

๐Ÿงช Semicolon

;       %3b       # โ†’ Executes both commands (Linux & Windows)

๐Ÿ”ƒ New Line

\n      %0a       # โ†’ Executes both commands (Linux & Windows)

๐Ÿ–ผ๏ธ Background

&       %26       # โ†’ Executes both commands (second output usually appears first)

๐Ÿงต Pipe

|       %7c       # โ†’ Executes both commands (only second output is shown)

๐ŸŸข AND Operator

&&      %26%26    # โ†’ Executes second command only if first succeeds (Linux & Windows)

๐Ÿ”ด OR Operator

||      %7c%7c     # โ†’ Executes second command only if first fails (Linux & Windows)

๐ŸŒ€ Sub-Shell (Linux Only)

``       %60%60        # โ†’ Sub-shell execution (Linux-only)
$()      %24%28%29     # โ†’ Sub-shell execution (Linux-only)

๐Ÿง Linux - Filtered Character Bypass

๐Ÿ” View Environment Variables

โ›“๏ธ Space Bypass

๐Ÿ”€ Other Character Bypass

โ›” Blacklisted Command Bypass

โœ’๏ธ Character Insertion

๐Ÿ”  Case Manipulation

๐Ÿ”„ Reversed Commands

๐Ÿ“ฆ Encoded Commands


๐Ÿ“ฆ Windows - Filtered Character Bypass

๐Ÿ” View Environment Variables (PowerShell)

โ›“๏ธ Space Bypass

๐Ÿ” Other Character Bypass

โ›” Blacklisted Command Bypass

โœ’๏ธ Character Insertion

๐Ÿ”  Case Manipulation

๐Ÿ”„ Reversed Commands

๐Ÿ“ฆ Encoded Commands

Last updated