init from 4 old repositories
This commit is contained in:
8
controlserverwebpage/halt.php
Normal file
8
controlserverwebpage/halt.php
Normal file
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
|
||||
if ($_GET["pass"] == "simplepass") {
|
||||
shell_exec('echo www-data-password | sudo -S /usr/bin/phphalt');
|
||||
echo "Shutdown...please wait";
|
||||
} else echo "wrong password";
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user