Skip to content

Instantly share code, notes, and snippets.

@the-dagger
Created August 6, 2016 13:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save the-dagger/c600602ba30732851969bfe5d49998e3 to your computer and use it in GitHub Desktop.
Save the-dagger/c600602ba30732851969bfe5d49998e3 to your computer and use it in GitHub Desktop.
<?php
if(isset($_POST['timestamp']))
{
$uid = escapeshellcmd($_POST['timestamp']);
exec("sudo sh /var/www/email.sh $uid");
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment