Skip to content

Instantly share code, notes, and snippets.

@engina
Created April 3, 2014 12:34
Show Gist options
  • Save engina/9953462 to your computer and use it in GitHub Desktop.
Save engina/9953462 to your computer and use it in GitHub Desktop.
CGI Shell script that forks commands and prints the results.
#!/bin/bash
echo -e "Content-type: text/html\r\n\n"
uptime
uname -a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment