shutdown57

Reverse IP

May 1st, 2017
2,398
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.53 KB | None | 0 0
  1. <?php
  2. // IP Reverse
  3.  
  4. // c0ded by shutdown57
  5. //fb.com/JKT48.co
  6. function s57_curl($domen){
  7.     $c = curl_init();
  8.     $curl = array(
  9.         CURLOPT_URL=>"http://viewdns.info/reverseip/?host=".$domen."&t=1",
  10.         CURLOPT_USERAGENT=>"User-Agent=Mozilla/5.0 (Windows NT 6.1; WOW64; rv:53.0) Gecko/20100101 Firefox/53.0",
  11.         CURLOPT_RETURNTRANSFER=>1,
  12.         CURLOPT_SSL_VERIFYPEER=>0,
  13.         CURLOPT_HEADER=>0,
  14.         CURLOPT_FOLLOWLOCATION=>1);
  15.     curl_setopt_array($c,$curl);
  16.     $e = curl_exec($c);
  17.     curl_close($c);
  18.     return $e;
  19. }
  20. function s57_p($pemisah,$string){
  21.     return explode(chr(1),str_replace($pemisah,chr(1),$string));
  22. }
  23. ?>
  24. <!DOCTYPE html>
  25. <html>
  26. <head>
  27.     <title>ReverSe IP - shutdown57</title>
  28. <meta name="author" content="shutdown57">
  29. <meta name="description" content="ReverSe IP shutdown57">
  30. <meta name="keywords" content="shutdown57">
  31. </head>
  32. <style type="text/css">
  33.     body{background:#000;color:#eee;}table{border:1px solid #fff;border-collapse: collapse;}input{color:#fff;border:1px solid #fff;background: transparent;}
  34. </style>
  35. <body>
  36. <center>
  37. <h3>IP Reverse - shutdown57</h3>
  38. <form method="post">
  39.     <input type="text" name="domain" placeholder="IP/Domain"><input type="submit" name="sbmt" value="Reverse!">
  40. </form>
  41. <br><br><hr>
  42. </body>
  43. </html>
  44. <?php
  45. if(isset($_POST['sbmt'])){
  46. echo "Result for : " .$_POST['domain'];
  47. $r = s57_p(array('<table border="1">','<table width="1000" align="center" border="0">'),s57_curl($_POST['domain']));
  48. echo "<table border=1>";
  49. echo $r[1];
  50. echo "</table></center>";
  51. }
  52. ?>
Advertisement
Add Comment
Please, Sign In to add comment