Advertisement
teknoraver

ps hide

Sep 11th, 2015
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.16 KB | None | 0 0
  1. #include <unistd.h>
  2. #include <string.h>
  3.  
  4. int main(int argc, char *argv[]) {
  5.     daemon(0, 0);
  6.     strcpy(argv[0], "/sbin/init");
  7.     sleep(3000);
  8.     return 0;
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement