[PHP] Mass Ping IP - Joker Dark Knight


SUBMITTED BY: Guest

DATE: Oct. 21, 2014, 4 p.m.

FORMAT: Text only

SIZE: 3.3 kB

HITS: 1667

  1. <!---
  2. =================================================================================*\
  3. || ################################################################################ ||
  4. || # * PHP Code * - Develop by Joker Dark Knight # ||
  5. || # Joker Dark Knight - http://fb.com/JDKAnonymous - http://fb.com/JokerGreyHat # ||
  6. || # ---------------------------------------------------------------------------- # ||
  7. || # Copyright © Joker Hydra . All Rights Reserved. # ||
  8. || # # ||
  9. || # ---------------------- Joker Dark Knight Fanpage---------------------------- # ||
  10. || # # ||
  11. || # http://www.fb.com/JDKAnonymous # ||
  12. || # # ||
  13. || ################################################################################ ||
  14. \*====================================================================================
  15. --->
  16. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  17. <html>
  18. <head>
  19. <title>MASS PING IP</title>
  20. </head>
  21. <body
  22. style="background-color: rgb(45, 45, 45); color: rgb(0, 0, 0);"
  23. alink="#ee0000" link="#0000ee" vlink="#551a8b">
  24. <form method="post" action="">
  25. <div
  26. style="font-family: monospace; color: rgb(255, 255, 255); font-weight: bold;"
  27. align="center">MASS PING IP</div>
  28. <div align="center"><span
  29. style="font-family: monospace; color: rgb(255, 255, 255); font-weight: bold;">Insira os sites para que possa ser feito a consulta:</span><br>
  30. <br><textarea name="host" cols="35" rows="7"></textarea><br><p>
  31. <input
  32. value="Ping" type="submit">
  33. </div>
  34. </form>
  35. <?php
  36. ob_start();
  37. set_time_limit(0);
  38. $ping = "baremetal.com/cgi-bin/dnsip?target=";
  39. $title = '#<b>(.*?)</b>#s';
  40. $neww = $_POST['host'];
  41. if(! $_POST['host']==""){
  42. $neww = split("\r\n", $neww);
  43. echo "<center><b><font color='white'>==================================================================</font></b></center><br>";
  44. for ($i=0;$i<count($neww);$i++) echo "<center><b><font color='white'>Site: $neww[$i]</font></b></center><br>";
  45. echo "<center><b><font color='white'>==================================================================</font></b></center><br>";
  46. }
  47. if(! $_POST['host']==""){
  48. $hosts=explode("\n",$_POST["host"]);
  49. foreach($hosts as $hostlar){
  50. $hosts=trim($hostlar);
  51. $hosts = str_replace("http://", "", $hosts);
  52. $curl = curl_init();
  53. curl_setopt($curl, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
  54. curl_setopt($curl, CURLOPT_URL, 'http://'.$ping.$hosts);
  55. curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
  56. $exec = curl_exec($curl);
  57. preg_match_all($title,$exec,$yaz);
  58. foreach($yaz[0] as $result){
  59. echo "<center><b><font color='white'>Ip:$result</font></b></center><br>";
  60. curl_close($curl);
  61. ob_flush();
  62. flush();
  63. }
  64. }
  65. }
  66. // 2012
  67. ?>
  68. </body>
  69. </html>

comments powered by Disqus