Advertisement
Ribang

SCAN SERVER

Feb 1st, 2018
578
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.47 KB | None | 0 0
  1.  
  2.  
  3. <html>
  4. <!-- By Yassinox_TN -->
  5. <style>
  6. BODY {
  7. background-color : black;
  8. color : 009900;
  9. }
  10. .input {
  11. padding: 3px; color: #009900; text-shadow: #777777 0px 0px 3px; border: 1px solid #007700; background: transparent; box-shadow: 0px 0px 4px #007700; padding: 3px; -webkit-border-radius: 4px;
  12. }
  13. .button { display: block; width: 100%; height: 37px; margin-bottom: 15px; font-size: 14px; font-weight: bold; color: #007700; text-align: center; text-shadow: 0 1px rgba(255, 255, 255, 0.3); background: #aeaeae; background-clip: padding-box; border: 1px solid #284473; border-bottom-color: #223b66; border-radius: 4px; cursor: pointer; background-image:-webkit-linear-gradient(top, #eaeaea, #d0d0d0); background-image: -moz-linear-gradient(top, #eaeaea, #d0d0d0); background-image: -o-linear-gradient(top, #eaeaea, #d0d0d0); background-image: linear-gradient(to bottom, #eaeaea, #d0d0d0); -webkit-box-shadow: inset 0 1px rgba(255, 255, 255, 0.5), inset 0 0 7px rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.15); box-shadow: inset 0 1px rgba(255, 255, 255, 0.5), inset 0 0 7px rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.15); }
  14. </style>
  15. <link href='http://fonts.googleapis.com/css?family=Fredericka+the+Great' rel='stylesheet' type='text/css'>
  16. <center>
  17. <font color="#009900" face="Fredericka the Great" style="font-size: 80pt">YASSINOX.TN</font>
  18. <br>
  19. <hr color="#009900">
  20. <br>
  21. <form action="" method="POST">
  22. <input type="text" name="ip" class="input" placeholder="Server Ip">
  23. <select type="text" name="cms" class="input" placeholder="User login">
  24. <option value="wordpress">Wordpress</option>
  25. <option value="joomla">Joomla</option>
  26. <option value="OpenCart">OpenCart</option>
  27. <option value="WHMCS">WHMCS</option>
  28. </select>
  29. <input type="submit" name="submit" class="input" value=" Scan Server ">
  30. </form>
  31. </center>
  32. <?php
  33. $pat = ""; // Pattern
  34. $i = 0; // Set Variable I to Zero
  35. function get_data($url) { // Running Curl
  36. $ch = curl_init();
  37. $timeout = 5;
  38. curl_setopt($ch, CURLOPT_URL, $url);
  39. curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  40. curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $timeout);
  41. $data = curl_exec($ch);
  42. curl_close($ch);
  43. return $data;
  44. }
  45. if (isset($_POST['submit']))
  46. {
  47. $hostip = $_POST['ip'];
  48. $cms = $_POST['cms'];
  49. if ($cms == "wordpress")
  50. {
  51. $pat = "?page_id=";
  52. }
  53. elseif ($cms == "joomla")
  54. {
  55. $pat = "index.php?option=com";
  56. }
  57. elseif ($cms == "OpenCart")
  58. {
  59. $pat = "index.php?route=";
  60. }
  61. elseif ($cms == "WHMCS")
  62. {
  63. $pat = "clientarea.php";
  64. }
  65. echo "<center>";
  66. echo "<table border='1' width=27%>";
  67. echo "<tr><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;".$cms."</td>";
  68. while ($i <= 50) {
  69. $u = get_data("http://www.bing.com/search?q=ip%3A".$hostip."+".$pat."&count=50&first=".$i);
  70. //--------
  71. $text = $_GET['text'];
  72. $pattern = '#<div class="b_title"><h2><a href=(.*?) h=(.*?)>#';
  73. preg_match_all($pattern, $u, $findlink);
  74. foreach ($findlink[1] as $fl)
  75. {
  76. $fls = str_replace('"','',$fl);
  77. $pat = str_replace("index.php","",$pat);
  78. $sitesssss = '#(.*?)/'.$pat.'#';
  79. preg_match_all($sitesssss, $fls, $finallist);
  80. foreach ($finallist[1] as $fsl)
  81. {
  82. $fsl = str_replace("?","",$fsl);
  83. $fsl = str_replace("index.php","",$fsl);
  84. echo "<tr><td>".stripslashes($fsl)."</td>";
  85. }
  86. }
  87. $i = $i + 10;
  88. }
  89. }
  90. echo "</center>";
  91. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement