Advertisement
Guest User

Untitled

a guest
Jun 25th, 2017
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. <h3>Executing /usr/lib/cgi-bin/zone2On.sh</h3>
  2.  
  3. <?php ini_set('display_errors', 1);error_reporting(-1);?>
  4. <?php if (isset($_POST['button'])) { file_get_contents('/var/www/scripts/zone2On.sh'); } ?>
  5.  
  6. //<?php if (isset($_POST['button'])) { exec('sh /var/www/scripts/zone2On.sh'); } ?>
  7. <form action="" method="post">
  8. <button type="submit" name="button">Run Perl</button>
  9. </form>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement