Advertisement
Guest User

script socket

a guest
Dec 31st, 2019
518
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Perl 1.00 KB | None | 0 0
  1. #!/usr/bin/perl -w
  2. use strict;
  3. use IO::Socket;
  4.  
  5. sub Wait {
  6.     wait; # wait needed to keep <defunct> pids from building up
  7. }
  8.  
  9. $SIG{CHLD} = \&Wait;
  10.  
  11. my $server = IO::Socket::INET->new(
  12.     LocalPort   => 2020,    # mau nomer brp cok?Nomer togel gpp kok
  13.     Type        => SOCK_STREAM,
  14.     Reuse       => 1,
  15.     Listen      => 10) or die "$@\n";
  16. my $client ;
  17.  
  18. while($client = $server->accept()) {
  19.     select $client;
  20.     print $client "HTTP/1.0 200 OK\r\n";
  21.     print $client "Content-type: text/html\r\n\r\n";
  22.     print $client '<style>body{background: black;} img{ border-radius:100em; opacity:1.5; border:5px solid #00ffff; }</style><font color=red><centre><h1>Tested by Khazekira-se7</h1><br><h2>Thankz to:[</font><font color="aqua"><marquee width="50%" behavior="alternate";>|Mr.wexent |BDJ-007 | MRH.404 | Mr.xBarakuda | Mr.FoxIND29 | BadutGalau | Kaizen </marquee><font color="red">]</center>'; # set scrip lu disini jancok
  23. }
  24. continue {
  25.     close($client); #kills hangs
  26.     kill CHLD => -$$;
  27. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement