Advertisement
H4T3D

Facebook Ghost -H4T3D

Sep 16th, 2015
520
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 3.79 KB | None | 0 0
  1. <?php
  2. ######################################################
  3. #Facebook Ghost
  4. #Generates Real Facebook ID
  5. #Coded By H4T3D
  6. #Proof Of Concept (POC) : http://pastebin.com/PnfLGa3c
  7. ######################################################
  8. error_reporting(0);
  9. set_time_limit(0);
  10. ?>
  11. <head>
  12. <link href='http://fonts.googleapis.com/css?family=Orbitron:700' rel='stylesheet' type='text/css'>
  13. <link href='https://fonts.googleapis.com/css?family=Eater' rel='stylesheet' type='text/css'>
  14. <link rel='icon' type='image/ico' href='http://media.stateofq.com/photologue/photos/cache/facebook%20favicon_thumbnail.png'/>
  15. <title>Facebook Mass Email Checker - H4T3D</title>
  16. </head>
  17. <style>
  18. h1{
  19. font-family: 'Eater', cursive;
  20. color:red;
  21. font-size:-webkit-xxx-large
  22.  
  23. }
  24.  
  25. input {
  26.         color: ##33CCFF;
  27.         border:1px dotted #33CCFF;
  28.         width: 20%;
  29.     font-family: 'Orbitron'; color:red;
  30. }
  31.  
  32. html, body{
  33.         background:#000000;
  34.         color:#00FF00;
  35.         text-decoration:  none;
  36.     font-family: 'Orbitron';
  37. }
  38.  
  39. th,tr,td{
  40.     border: 4px solid #3B5998;
  41. }
  42.  
  43. </style>
  44. <center>
  45. <h1>Facebook GHOST <img src="https://daks2k3a4ib2z.cloudfront.net/53cda9eccbc8e0894bcf7766/53d1547065325541683a7600_Facebook_icon.png" height="100px" width="100px"></h1>
  46. <form action="" method="POST">
  47. GH0STS:<input type="number" min="1" name="many" value="10"/>
  48. <input type="submit" name="go"/>
  49. <h3> SH0W Profile PIC<input type="checkbox" name="Showpic"/></h3>
  50. <center><h3> >> <a href="id.txt">IDS</a></h3>
  51. </center>
  52. </form>
  53. </center>
  54. <?php
  55. error_reporting(0);
  56. set_time_limit(0);
  57.  
  58. if(isset($_POST["go"])){
  59.  
  60. $many=$_POST["many"];
  61.  
  62. function getRandomString() {
  63.     $validCharacters = "0123456789";
  64.     $validCharNumber = strlen($validCharacters);
  65.  $len = 10;
  66.     $result = "";
  67.  
  68.     for ($i = 0; $i < $len; $i++) {
  69.         $index = mt_rand(0, $validCharNumber - 1);
  70.         $result .= $validCharacters[$index];
  71.     }
  72.  
  73.     return $result;
  74. }
  75.  
  76. function file_get_contents_curl($url) {
  77.     $ch = curl_init();
  78.     curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
  79.      //   curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);  
  80.       //  curl_setopt($ch, CURLOPT_HEADER, 1);
  81.     curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  82.     curl_setopt($ch, CURLOPT_URL, $url);
  83.  
  84.     $data = curl_exec($ch);
  85.     curl_close($ch);
  86.  
  87.     return $data;
  88. }
  89.  
  90. echo'
  91.  
  92. <p><center>';
  93.  
  94. echo"<table style=\"width:70%\" border=\"1\" ;>
  95. <tr>
  96. <th>ID</th>
  97. <th>First Name</th>
  98. <th>Last Name</th>
  99. <th>Profile Link</th>
  100. <th>Full Name</th>
  101. <th>Profile Pic</th>
  102. </tr>";
  103.  
  104. for ($x=0; $x < $many ; $x++){
  105.  
  106.  
  107.  
  108.  
  109. $id= "10000" . getRandomString();
  110.  
  111.  
  112. $url="https://graph.facebook.com/$id?uids=$id&access_token=1783757718518079|dobQHY9MTotct0hrLISZAGDgBko";
  113. //$url="m.facebook.com/profile.php?id=$id";
  114.  
  115. $status = file_get_contents_curl($url);
  116.  
  117.  
  118.  
  119.  
  120.  //echo $status."<br></br>";
  121.  
  122. if(!(eregi("error", $status))){
  123.  
  124. $output = json_decode($status);
  125.  
  126. print"<tr><td>".$output->{'id'}."</td>";
  127. print"<td>".$output->{'first_name'}."</td>";
  128. print"<td>".$output->{'last_name'}."</td>";
  129. print"<td><a href='https://www.facebook.com/profile.php?id=$id'>https://www.facebook.com/profile.php?id=$id</a></td>";
  130. print"<td>".$output->{'name'}."</td>";
  131.  
  132. if(isset($_POST['Showpic'])){  print"<tr><td><img src=\"http://graph.facebook.com/$id/picture?type=small\"></td>";}
  133.  
  134. $myfile = fopen("id.txt", "a") or die("Unable to open file!");
  135.  
  136.         fwrite($myfile, "\n".$id."\n");
  137.     fwrite($myfile, $output->{'name'}."\n");
  138.     fwrite($myfile, $output->{'link'}."\n");
  139.     fwrite($myfile, "https://www.facebook.com/profile.php?id=$id\n");
  140.         fclose($myfile);
  141.     flush();@ob_flush();
  142.  
  143.  
  144. }
  145.  
  146.  
  147.                             }
  148.  
  149. echo"</tr>";
  150. echo"</table></center>";
  151.  
  152. echo "
  153.  
  154. </center>
  155.  
  156. <br>";
  157.  
  158.  
  159. } //end of go
  160.  
  161.  
  162.  
  163. echo "
  164. <br>
  165. <center><b>Coded BY H4T3D</b>
  166. </center>
  167. <br>
  168. ";
  169.  
  170. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement