Blame view

exec.php 252 Bytes
35887fe7   troj   Commit rasp
1
2
3
4
5
6
7
8
9
10
  <?php
  	echo "<html><body><p>";
  	if (isset($_POST["button"]) {
  		$resultat = system("sudo python /var/www/cgi-bin/main.py");
  	}
  	if (isset($_POST["live"]) {
  		$resultat = system("sudo python /var/www/cgi-bin/live.py");
  	}
  	echo "</p></body></html>";
  ?>