RedTeam
3.Web-Hacking
4.Injection
OS-Commands
Notes
3.ways of Injecting Os Commands

Ways of Injecting OS Commands

![[Pasted image 20221202124907.png]]

OperatorUse
;Multiple shell commands are be seperated with semicolon and are executed at a time.
&It seperates two shell commands on one command line. It executes first command then second.
&&When this is used between two commands, second command is executed only if the first is true
![[Pasted image 20221202125327.png]]