Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <h3>Executing /usr/lib/cgi-bin/zone2On.sh</h3>
- <?php ini_set('display_errors', 1);error_reporting(-1);?>
- <?php if (isset($_POST['button'])) { file_get_contents('/var/www/scripts/zone2On.sh'); } ?>
- //<?php if (isset($_POST['button'])) { exec('sh /var/www/scripts/zone2On.sh'); } ?>
- <form action="" method="post">
- <button type="submit" name="button">Run Perl</button>
- </form>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement