Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- date_default_timezone_set("Asia/Jakarta");
- $bigToken = new bigToken();
- $modules = new modules();
- echo "Input Referral Code : ";
- $reffCode = trim(fgets(STDIN));
- echo "Jumlah : ";
- $jumlah = trim(fgets(STDIN));
- for($a=1;$a<=$jumlah;$a++)
- {
- $register = $bigToken->register($reffCode);
- print $register;
- }
- class bigToken
- {
- public $modules;
- public function __construct()
- {
- $this->modules = new modules();
- }
- public function linkActivasi($mail, $PHPSESSID, $activasi)
- {
- $a=1;
- while(true)
- {
- $headers = array();
- $headers[] = "accept-language: id-ID,id;q=0.9,en-US;q=0.8,en;q=0.7";
- $headers[] = "cookie: __cfduid=d8f08aa2292ba2970c80661d614f982181553831865; PHPSESSID=".$PHPSESSID."; tmail-emails=".$activasi;
- $headers[] = "referer: https://code-mail.com/";
- $headers[] = "user-agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36";
- $headers[] = "x-requested-with: XMLHttpRequest";
- $pageInbox = $this->modules->curl("https://code-mail.com/mail.php", null, false, true, $headers, 'GET');
- $linkActivasi = @$this->modules->getStr($pageInbox, 'style="width: 110px; height: 22px; background: #528FF5; padding: 12px; text-align: center; border-radius: 6px;color: #fff; font-weight:700;text-decoration:none;" href="', '"', 1, 0);
- $this->modules->curl("https://code-mail.com/mail.php?unseen=1", null, false, false, $headers, 'GET');
- $this->modules->curl("https://code-mail.com/actions.php?action=saveEMails", null, false, true, $headers, 'GET');
- $this->modules->curl("https://code-mail.com/", null, false, false, $headers, 'GET');
- $this->modules->curl("https://code-mail.com/user.php?user=".$mail."%40code-mail.com", null, false, false, $headers, 'GET');
- if(!empty($linkActivasi))
- {
- return $linkActivasi;
- }else{
- print "\r\r\rEmail Belom Masuk! : ".$a." Sec..";
- }
- $a++;
- }
- }
- public function tempMail($mail)
- {
- $PHPSESSID = $this->modules->randStr("huruf_angka", "20");
- @unlink("cookiesjancok.txt");
- $head = array();
- $head[] = "cookie: __cfduid=d8f08aa2292ba2970c80661d614f982181553831865; PHPSESSID=".$PHPSESSID."; _ga=GA1.2.174770991.1553683948; _gid=GA1.2.1140352411.1553683948; _gat_gtag_UA_127799929_1=1";
- $head[] = "referer: https://code-mail.com/";
- $head[] = "user-agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36";
- $head[] = "x-requested-with: XMLHttpRequest";
- @$gatau = $this->modules->curl("https://code-mail.com/user.php?user=".$mail."%40code-mail.com", null, false, true, $head, 'GET');
- if(!empty($gatau))
- {
- $hh = array();
- $hh[] = "cookie: __cfduid=d8f08aa2292ba2970c80661d614f982181553831865; PHPSESSID=".$PHPSESSID."; _ga=GA1.2.174770991.1553683948; _gid=GA1.2.1140352411.1553683948; _gat_gtag_UA_127799929_1=1";
- $hh[] = "referer: https://code-mail.com/";
- $hh[] = "user-agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36";
- $hh[] = "x-requested-with: XMLHttpRequest";
- $saveEmails = $this->modules->curl("https://code-mail.com/actions.php?action=saveEMails", null, false, true, $hh, 'GET');
- $activasi = $this->modules->getStr($saveEmails, 'Set-Cookie: tmail-emails=', ';', 1, 0);
- if(!empty($activasi))
- {
- $headers = array();
- $headers[] = "referer: https://code-mail.com/";
- $headers[] = "user-agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36";
- $headers[] = "x-requested-with: XMLHttpRequest";
- $headers[] = "cookie: __cfduid=d8f08aa2292ba2970c80661d614f982181553831865; PHPSESSID=".$PHPSESSID."; _ga=GA1.2.174770991.1553683948; _gid=GA1.2.1140352411.1553683948; tmail-emails=".$activasi."; _gat_gtag_UA_127799929_1=1";
- $headers[] = "Connection: keep-alive";
- @$getMail = $this->modules->curl("https://code-mail.com/#/".base64_encode($mail."%40code-mail.com"), null, false, false, $headers, 'GET');
- @$tempMail = $this->modules->getStr($getMail, "<li onclick=\"createUser('", "'", 1, 0);
- if(!empty($tempMail))
- {
- $linkActivasi = $this->linkActivasi($mail, $PHPSESSID, $activasi);
- if(!empty($linkActivasi))
- {
- $verif = $this->modules->curl($linkActivasi, null, true, true, array(), 'GET');
- $fetchLocation = $this->modules->fetchLocation($verif)['https://my_bigtoken_com/verify?code'];
- $fetchMail = $this->modules->fetchLocation($verif)['email'];
- if(!empty($fetchLocation))
- {
- print PHP_EOL;
- $this->verifikasiEmail($linkActivasi, $fetchLocation, $mail);
- }else{
- print PHP_EOL."Location Not Found!";
- return false;
- }
- }else{
- print PHP_EOL."Failed Link Activasi!";
- }
- }else{
- print PHP_EOL."mail not found";
- }
- }else{
- print PHP_EOL."activasi not error";
- }
- }else{
- print PHP_EOL."Gatau";
- }
- }
- public function verifikasiEmail($linkActivasi, $fetchLocation, $mail)
- {
- // $this->modules->curl($linkActivasi, null, false, false, array(), 'GET');
- for($a=1;$a<=20;$a++)
- {
- $headVer = array();
- $headVer[] = "accept-language: id-ID,id;q=0.9,en-US;q=0.8,en;q=0.7";
- ///$headVer[] = "cookie: _ga=GA1.2.1717875247.1554165474; _gid=GA1.2.4411597.1554165474; amplitude_id_3c5b527179ea61ca0f9ef082d7c63c13bigtoken.com=eyJkZXZpY2VJZCI6IjIyMjQwM2NkLWY2NDAtNDY5MC1hNWJiLTcxMWY2YzM5MjAxOFIiLCJ1c2VySWQiOm51bGwsIm9wdE91dCI6ZmFsc2UsInNlc3Npb25JZCI6MTU1NDE2NTQ3MzgyNywibGFzdEV2ZW50VGltZSI6MTU1NDE2OTcwMDExMCwiZXZlbnRJZCI6MTcsImlkZW50aWZ5SWQiOjAsInNlcXVlbmNlTnVtYmVyIjoxN30=";
- $headVer[] = "upgrade-insecure-requests: 1";
- $headVer[] = "user-agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36";
- $verif = $this->modules->curl("https://my.bigtoken.com/verify?code=".trim($fetchLocation)."&type=signup&email=".trim($mail)."@code-mail.com", null, false, false, $headVer, 'GET');
- if(strpos($verif, 'We\'re sorry but My Bigtoken doesn\'t') or preg_match('/We\'re sorry but My Bigtoken doesn\'t/i', $verif))
- {
- $hoa = array();
- $hoa[] = "Content-Type: application/json";
- $hoa[] = "Origin: https://my.bigtoken.com";
- $hoa[] = "User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36";
- $hoa[] = "X-Requested-With: XMLHttpRequest";
- $hoa[] = "X-Srax-Big-Api-Version: 2";
- $hoa[] = "host: api.bigtoken.com";
- $ver2 = $this->modules->curl("https://api.bigtoken.com/signup/email-verification", '{"email":"'.trim($mail).'@code-mail.com","verification_code":"'.trim($fetchLocation).'"}', false, false, $hoa);
- if(strpos($ver2, 'msg":"Reward successfully made"'))
- {
- if($a == 1)
- {
- print "Success Verifikasi!".PHP_EOL;
- return false;
- }else{
- print PHP_EOL."Success Verifikasi!".PHP_EOL;
- return false;
- }
- }else{
- print "\rSabar.. ".$a." Sec...";
- if($a == 20)
- {
- print PHP_EOL."Silahkan Verifikasi Manual : ".$linkActivasi.PHP_EOL;
- return false;
- }
- }
- }else{
- print "\r\rFailed Verifikasi!".PHP_EOL;
- }
- }
- }
- public function register($reffCode)
- {
- $mail = $this->modules->randNama()['nama'].$this->modules->randStr("huruf_angka","4");
- $headers = array();
- $headers[] = "Accept: application/json";
- $headers[] = "User-Agent: Redmi ".rand(00000,999999)." Plus_".rand(00,99).".1.2_1.0.".rand(00,99);
- $headers[] = "Host: api.bigtoken.com";
- $register = $this->modules->curl("https://api.bigtoken.com/signup", 'email='.$mail.'%40code-mail.com&password='.$this->modules->randStr("kapital", "7").'23%23&referral_id='.$reffCode.'&monetize=1', false, false, $headers);
- if(strpos($register, '"message": "Too Many Attempts."'))
- {
- print "\r\"message\": \"Too Many Attempts.\"";
- $this->register($reffCode);
- }elseif(strpos($register, '"user_id":')){
- print PHP_EOL."Success Register... || ".$mail."@code-mail.com".PHP_EOL;
- $this->tempMail($mail);
- }else{
- print PHP_EOL.$register.PHP_EOL;
- }
- }
- }
- class modules
- {
- public function curl($url, $params, $cookie, $header, $httpheaders, $request = 'POST', $socks = "")
- {
- $this->ch = curl_init();
- curl_setopt($this->ch, CURLOPT_URL, $url);
- curl_setopt($this->ch, CURLOPT_POSTFIELDS, $params);
- curl_setopt($this->ch, CURLOPT_SSL_VERIFYPEER, 0);
- curl_setopt($this->ch, CURLOPT_RETURNTRANSFER, 1);
- curl_setopt($this->ch, CURLOPT_FOLLOWLOCATION, 1);
- curl_setopt($this->ch, CURLOPT_CUSTOMREQUEST, $request);
- if($cookie == true)
- {
- $cookies = "cookiesjancok.txt";
- curl_setopt($this->ch, CURLOPT_COOKIEJAR, $cookies);
- curl_setopt($this->ch, CURLOPT_COOKIEFILE, $cookies);
- }
- curl_setopt($this->ch, CURLOPT_HEADER, $header);
- @curl_setopt($this->ch, CURLOPT_HTTPHEADER, $httpheaders);
- curl_setopt($this->ch, CURLOPT_HTTPPROXYTUNNEL, 1);
- curl_setopt($this->ch, CURLOPT_PROXY, $socks);
- curl_setopt($this->ch, CURLOPT_PROXYTYPE, CURLPROXY_SOCKS4);
- curl_setopt($this->ch, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4);
- $response = curl_exec($this->ch);
- return $response;
- curl_close($this->ch);
- }
- public function getStr($page, $str1, $str2, $line_str2, $line)
- {
- $get = explode($str1, $page);
- $get2 = explode($str2, $get[$line_str2]);
- return $get2[$line];
- }
- public function randStr($type, $length)
- {
- $characters = array();
- $characters['angka'] = '0123456789';
- $characters['kapital'] = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ';
- $characters['huruf'] = 'abcdefghijklmnopqrstuvwxyz';
- $characters['kapital_angka'] = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ';
- $characters['huruf_angka'] = '0123456789abcdefghijklmnopqrstuvwxyz';
- $characters['all'] = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';
- $charactersLength = strlen($characters[$type]);
- $randomString = '';
- for ($i = 0; $i < $length; $i++)
- {
- $randomString .= $characters[$type][rand(0, $charactersLength - 1)];
- }
- return $randomString;
- }
- public function fwrite($namafile, $data)
- {
- $fh = fopen($namafile, "a");
- fwrite($fh, $data);
- fclose($fh);
- }
- public function randNama()
- {
- $get = file_get_contents("https://api.randomuser.me");
- $j = json_decode($get, true);
- $first = @preg_replace("/\b(?!\|)(?!,)(?!\s)\W\b/", "", @iconv('UTF-8', 'ASCII//TRANSLIT', $j['results'][0]['name']['first']));
- $last = @preg_replace("/\b(?!\|)(?!,)(?!\s)\W\b/", "", @iconv('UTF-8', 'ASCII//TRANSLIT', $j['results'][0]['name']['last']));
- $nama = $first .$last.$this->randStr('huruf_angka','2');
- $rand = rand(00000,99999);
- $domain = array("@gmail.com","@yahoo.com","@hotmail.co.id");
- $email = $first.$last.$this->randStr("all", "2").$domain[rand(0, 2)];
- $nomorhp = "+628".$this->randStr('angka','10')."";
- $password = $first.$this->randStr('huruf_angka','6');
- if(empty($first) or empty($last))
- {
- $this->randNama();
- }else{
- return array("first" => $first, "last" => $last, "nama" => $nama, "email" => $email, "nope" => $nomorhp, "password" => $password);
- }
- }
- public function fetchCookies($source)
- {
- preg_match_all('/^Set-Cookie:\s*([^;]*)/mi', $source, $matches);
- $cookies = array();
- foreach($matches[1] as $item)
- {
- parse_str($item, $cookie);
- $cookies = array_merge($cookies, $cookie);
- }
- return $cookies;
- }
- public function fetchLocation($source)
- {
- preg_match_all('/^Location:\s*([^;]*)/mi', $source, $matches);
- $cookies = array();
- foreach($matches[1] as $item)
- {
- parse_str($item, $cookie);
- $cookies = array_merge($cookies, $cookie);
- }
- return $cookies;
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement