🔥 PHP Dangerous Function Test

exec("whoami") ERROR

Call to undefined function exec()

shell_exec("id") ERROR

Call to undefined function shell_exec()

system("ls -la /") ERROR

Call to undefined function system()

passthru("uname -a") ERROR

Call to undefined function passthru()

Attempt: /bin/bash -c

Call to undefined function shell_exec()

✅ Test Complete — check Apache logs, ModSecurity logs, and AppArmor denials!