Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*
- *
- * Esse projeto burlar links de referencia para mcxNow, fazendo gerar 0.02 USD para cada proxy usada
- * Para Real Solid!
- */
- // Os arquivos de proxy ficaram na pasta PROXY
- $pasta = "proxys/";
- $proxyscsv = scandir($pasta);
- $linhas = array();
- foreach($proxyscsv as $proxyfile) {
- if( $proxyfile != "." && $proxyfile != ".." ) {
- $linhas = array_merge ($linhas , file($pasta.$proxyfile));
- echo "Lendo arquivo: " . $proxyfile . "<br/>";
- }
- }
- $linhas = array_unique ($linhas);
- echo "Foram encontradas: " . count($linhas) . " proxys<br/>";
- set_time_limit(0);
- force_flush() ;
- // Configurações
- $usuario = "SEULOGINMCXNOW";
- $referer = "http://google.com";
- foreach($linhas as $ip) {
- if (isvalidproxy($ip)) {
- echo "Tentativa com com: " . $ip ;
- verificarModem() ;
- if(online($ip)) {
- if(mcxNow_Hack( $usuario, $ip, $referer , 0)) {
- echo "<b> -> SUCESSO</b>";
- flush();
- }
- }
- echo "<br/>";
- sleep(3);
- }
- }
- /* ======================================
- * Hack para ganhar indicações com mcxNow
- *
- * $usuario = seu usuário na mcxNow
- * $proxy = endereço proxy para indicação
- * $referer = site fantasma para fingir referência
- * $noquit = imprimir resultado (1 sim 0 não)
- * $timeout = tempo máximo de conexão em seg
- *
- ====================================== */
- function mcxNow_Hack( $usuario, $proxy, $referer , $noquiet = 0, $timeout = 20) {
- $url = "https://mcxnow.com/";
- $timeout /= 4;
- // Iniciar requisição para registrar indicação
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_URL, $url . "?r=" . $usuario);
- curl_setopt($ch, CURLOPT_PROXY, $proxy);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
- curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
- curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
- curl_setopt($ch, CURLOPT_REFERER, $referer);
- curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.154 Safari/537.36');
- curl_setopt($ch, CURLOPT_HEADER, 1);
- curl_setopt($ch, CURLOPT_CONNECTTIMEOUT ,$timeout);
- curl_setopt($ch, CURLOPT_TIMEOUT, $timeout);
- $buffer = curl_exec($ch);
- curl_close($ch);
- // Iniciar requisicao para finalizar indicação
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_URL, $url);
- curl_setopt($ch, CURLOPT_PROXY, $proxy);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
- curl_setopt($ch, CURLOPT_REFERER, $url . '?r=' . $usuario);
- curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
- curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
- curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.154 Safari/537.36');
- curl_setopt($ch, CURLOPT_HEADER, 1);
- curl_setopt($ch, CURLOPT_CONNECTTIMEOUT ,$timeout);
- curl_setopt($ch, CURLOPT_TIMEOUT, $timeout);
- $buffer = curl_exec($ch);
- curl_close($ch);
- if($noquiet) echo $buffer;
- return (strlen($buffer)) ? true : false;
- }
- function isvalidproxy($ip) {
- $data = explode(':', $ip);
- return filter_var($data[0], FILTER_VALIDATE_IP);
- }
- function online($proxy)
- {
- $splited = explode(':',$proxy);
- if($con = @fsockopen($splited[0], $splited[1], $eroare, $eroare_str, 2)) {
- fclose($con);
- return true;
- }
- return false;
- }
- /*
- *
- * Verifica se há internet
- *
- */
- function verificarModem() {
- $usuario = "user";
- $senha = "user";
- $url = "http://{$usuario}:{$senha}@192.168.254.254/rebootinfo.cgi";
- verificarnovamente:
- $isonline = false;
- do {
- $isonline = @fsockopen('down2money.net', 80, $eer1, $eer2, 30);
- if(!$isonline) {
- //@ file_get_contents($url);
- echo "<br/>Conexão resetada com sucesso!!!</br>";
- sleep(180);
- }
- }
- while((!$isonline)) ;
- fclose($isonline);
- }
- function force_flush() {
- echo "\n\n<!-- Deal with browser-related buffering by sending some incompressible strings -->\n\n";
- for ( $i = 0; $i < 5; $i++ )
- echo "<!--
- abcdefghijklmnopqrstuvwxyz1234567890aabbccddeeffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz11223344556677889900abacbcbdcdcededfefegfgfhghgihihjijikjkjlklkmlmlnmnmononpopo
- qpqprqrqsrsrtstsubcbcdcdedefefgfabcadefbghicjkldmnoepqrfstugvwxhyz1i234j567k890laabmbccnddeoeffpgghqhiirjjksklltmmnunoovppqwqrrxsstytuuzvvw0wxx1yyz2z113223434455666777
- 889890091abc2def3ghi4jkl5mno6pqr7stu8vwx9yz11aab2bcc3dd4ee5ff6gg7hh8ii9j0jk1kl2lmm3nnoo4p5pq6qrr7ss8tt9uuvv0wwx1x2yyzz13aba4cbcb5dcdc6dedfef8egf9gfh0ghg1ihi2hji3jik4jk
- j5lkl6kml7mln8mnm9ono -->\n\n";
- while ( ob_get_level() )
- ob_end_flush();
- @ob_flush();
- @flush();
- } # force_flush()
- ?>
Add Comment
Please, Sign In to add comment