iljimae

Reverse

Nov 5th, 2014
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.49 KB | None | 0 0
  1. <?php
  2.  
  3. ob_start();
  4. @set_time_limit(0);
  5. echo "<center><span style='font-size:30px; font-family:Fredericka the Great; color:#009900'>Ip Lookup Reverse Domain By </span></center>";
  6. echo "<center><img border='0' src='http://www.serveu.net/images/stories/geolocation.png' width=\"200\" height=\"200\" style='margin-top:10px'></center><div id=result>";
  7. echo "<center><br><form><input type='text' size='60' value='yahoo.com' name='ghost' /><input type='hidden' name='action' value='iplookdom'> &nbsp;<input type='submit' value='&nbsp;&check;&nbsp;'></form></center>";
  8. if(isset($_GET["ghost"]))
  9. {
  10. $site = $_GET["ghost"];
  11. $ghost = "http://domains.yougetsignal.com/domains.php";
  12.  
  13. //Curl Function
  14. $ch = curl_init($ghost);
  15. curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1 );
  16. curl_setopt($ch, CURLOPT_POSTFIELDS,  "remoteAddress=$site&ket=");
  17. curl_setopt($ch, CURLOPT_HEADER, 0);
  18. curl_setopt($ch, CURLOPT_POST, 1);
  19. $resp = curl_exec($ch);
  20. $resp = str_replace("[","", str_replace("]","", str_replace("\"\"","", str_replace(", ,",",", str_replace("{","", str_replace("{","", str_replace("}","", str_replace(", ",",", str_replace(", ",",",  str_replace("'","", str_replace("'","", str_replace(":",",", str_replace('"','', $resp ) ) ) ) ) ) ) ) ) ))));
  21. $array = explode(",,", $resp);
  22. unset($array[0]);
  23. echo "<table style='margin: 0 auto'>";
  24. foreach($array as $lnk)
  25. {
  26.     print "<tr><td><a  style=\"color:#0f0;font-weight:bold;\" href='$lnk' target=_blank>$lnk</a></td></tr>";
  27. }
  28. echo "</table>";
  29. curl_close($ch);
  30. }
  31.  
  32. ?>
Advertisement
Add Comment
Please, Sign In to add comment