Alshabh

Untitled

Jun 26th, 2013
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.70 KB | None | 0 0
  1.  
  2. 1
  3. 2
  4. 3
  5. 4
  6. 5
  7. 6
  8. 7
  9. 8
  10. 9
  11. 10
  12. 11
  13. 12
  14. 13
  15. 14
  16. 15
  17. 16
  18. 17
  19. 18
  20. 19
  21. 20
  22. 21
  23. 22
  24. 23
  25. 24
  26. 25
  27. 26
  28. 27
  29. 28
  30. 29
  31. 30
  32. 31
  33. 32
  34. 33
  35. 34
  36. 35
  37. 36
  38. 37
  39. 38
  40. 39
  41. 40
  42. 41
  43. 42
  44. 43
  45. 44
  46. 45
  47. 46
  48. 47
  49. 48
  50. 49
  51. 50
  52. 51
  53. 52
  54. 53
  55. 54
  56. 55
  57. 56
  58. 57
  59. 58
  60. 59
  61. 60
  62. 61
  63. 62
  64. 63
  65. 64
  66. 65
  67. 66
  68. 67
  69. 68
  70. 69
  71. 70
  72. 71
  73. 72
  74. 73
  75. 74
  76. 75
  77. 76
  78. 77
  79. 78
  80. 79
  81. 80
  82. 81
  83. 82
  84. 83
  85. 84
  86. 85
  87. 86
  88. 87
  89. 88
  90. 89
  91. 90
  92. 91
  93. 92
  94. 93
  95. 94
  96. 95
  97. 96
  98. 97
  99. 98
  100. 99
  101. 100
  102. 101
  103. 102
  104. 103
  105. 104
  106. 105
  107. 106
  108. 107
  109. 108
  110. 109
  111. 110
  112. 111
  113. 112
  114. 113
  115. 114
  116. 115
  117. 116
  118. 117
  119. 118
  120. 119
  121. 120
  122. 121
  123. 122
  124. 123
  125. 124
  126. 125
  127. 126
  128. 127
  129. 128
  130. 129
  131. 130
  132. 131
  133. 132
  134. 133
  135. 134
  136. 135
  137. 136
  138. 137
  139. 138
  140. 139
  141. 140
  142. 141
  143. 142
  144. 143
  145. 144
  146. 145
  147. 146
  148. 147
  149. 148
  150. 149
  151. 150
  152. 151
  153. 152
  154. 153
  155. 154
  156. 155
  157. 156
  158. 157
  159. <!--
  160.  
  161. Title.......: [ JooMla serv3r ScaNN3r ]
  162. c0d3r.......: [ Lagripe-Dz ]
  163. HoMe........: [ wWw.sEc4EvEr.CoM ]
  164. Date........: [ 26/12/2010 ]
  165. LastUpdate..: [ 28/02/2011 ]
  166. MyBlog......: [ Lagripe-Dz.org ]
  167.  
  168. -->
  169. <html>
  170. <head>
  171. <meta http-equiv="Content-Language" content="fr">
  172. <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
  173. <title>#~JooMla serv3r ScaNN3r</title>
  174. <style>
  175. body,table{background: black; font-family:Verdana,tahoma; color: white; font-size:10px; }
  176. A:link {text-decoration: none;color: red;}
  177. A:active {text-decoration: none;color: red;}
  178. A:visited {text-decoration: none;color: red;}
  179. A:hover {text-decoration: underline; color: red;}
  180. #new,input,table,td,tr,#gg{border-style:solid;text-decoration:bold;}
  181. input:hover,tr:hover,td:hover{background-color: #FFFFCC; color:green;}
  182. </style>
  183. </head>
  184.  
  185. <body>
  186.  
  187. <p align="center">&nbsp;</p>
  188. <p align="center">&nbsp;</p>
  189. <p align="center">&nbsp;</p>
  190. <p align="center"><font size="3">#~JooMla serv3r ScaNN3r</font></p><br>
  191. <form method="POST">
  192. <p align="center"><input type="text" name="site" size="65"><input type="submit" value="ScaN"></p>
  193. </form><center>
  194. <?php
  195. @set_time_limit(0);
  196. @error_reporting(E_ALL | E_NOTICE);
  197.  
  198. function check_exploit($comxx){
  199.  
  200. $link ="http://www.exploit-db.com/search/?action=search&filter_page=1&filter_description=$comxx&filter_exploit_text=&filter_author=&filter_platform=0&filter_type=0&filter_lang_id=0&filter_port=&filter_osvdb=&filter_cve=";
  201.  
  202. $result = @file_get_contents($link);
  203.  
  204. if (eregi("No results",$result)) {
  205.  
  206. echo"<td>Not Found</td><td><a href='http://www.google.dz/#hl=en&q=download+$comxx+joomla+extension'>Download</a></td></tr>";
  207.  
  208. }else{
  209.  
  210. echo"<td><a href='$link'>Found</a></td><td><=</td></tr>";
  211.  
  212. }
  213. }
  214.  
  215. function check_com($url){
  216.  
  217. $source = @file_get_contents($url);
  218.  
  219. preg_match_all('{option,(.*?)/}i',$source,$f);
  220. preg_match_all('{option=(.*?)(&amp;|&|")}i',$source,$f2);
  221. preg_match_all('{/components/(.*?)/}i',$source,$f3);
  222.  
  223. $arz=array_merge($f2[1],$f[1],$f3[1]);
  224.  
  225. $coms=array();
  226.  
  227. foreach(array_unique($arz) as $x){
  228. $coms[]=$x;
  229. }
  230.  
  231. foreach($coms as $comm){
  232.  
  233. echo "<tr><td>$comm</td>";
  234. check_exploit($comm);
  235. }
  236.  
  237. }
  238.  
  239. function sec($site){
  240. preg_match_all('{http://(.*?)(/index.php)}siU',$site, $sites);
  241. if(eregi("www",$sites[0][0])){
  242. return $site=str_replace("index.php","",$sites[0][0]);
  243. }else{
  244. return $site=str_replace("http://","http://www.",str_replace("index.php","",$sites[0][0]));
  245. }}
  246.  
  247. $npages = 50000;
  248.  
  249. if ($_POST)
  250. {
  251. $ip = trim(strip_tags($_POST['site']));
  252. $npage = 1;
  253. $allLinks = array();
  254.  
  255.  
  256. while($npage <= $npages)
  257. {
  258.  
  259. $x=@file_get_contents('http://www.bing.com/search?q=ip%3A' . $ip . '+index.php?option=com&first=' . $npage);
  260.  
  261.  
  262. if ($x)
  263. {
  264. preg_match_all('(<div class="sb_tlst">.*<h3>.*<a href="(.*)".*>(.*)</a>.*</h3>.*</div>)siU', $x, $findlink);
  265.  
  266. foreach ($findlink[1] as $fl)
  267.  
  268. $allLinks[]=sec($fl);
  269.  
  270.  
  271. $npage = $npage + 10;
  272.  
  273. if (preg_match('(first=' . $npage . '&amp)siU', $x, $linksuiv) == 0)
  274. break;
  275. }
  276.  
  277. else
  278. break;
  279. }
  280.  
  281.  
  282. $allDmns = array();
  283.  
  284. foreach ($allLinks as $kk => $vv){
  285.  
  286. $allDmns[] = $vv;
  287. }
  288.  
  289. echo'<table border="1" width=\"80%\" align=\"center\">
  290. <tr><td width=\"30%\"><b>Server IP&nbsp;&nbsp;&nbsp;&nbsp; : </b></td><td><b>'.$ip.'</b></td></tr>
  291. <tr><td width=\"30%\"><b>Sites Found&nbsp; : </b></td><td><b>'.count(array_unique($allDmns)).'</b></td></tr>
  292. </table>';
  293. echo "<br><br>";
  294.  
  295. echo'<table border="1" width="80%" align=\"center\">';
  296.  
  297. foreach(array_unique($allDmns) as $h3h3){
  298.  
  299. echo'<tr id=new><td><b><a href='.$h3h3.'>'.$h3h3.'</a></b></td><td><b>Exploit-db</b></td><td><b>challenge of Exploiting ..!</b></td></tr>';
  300.  
  301. check_com($h3h3);
  302.  
  303. }
  304.  
  305. echo"</table>";
  306.  
  307. }
  308. ?></center>
  309. <br><p align="center">
  310. (c)0d3d By <a href='http://www.Lagripe-Dz.org/'>Lagripe-Dz</a> | <a href='http://wWw.sEc4EvEr.CoM/'>wWw.sEc4EvEr.CoM</a><br>
  311. MaDe in AlGeriA 2o11 (r)
  312. </p>
  313. </body>
  314.  
  315. </html>
Advertisement
Add Comment
Please, Sign In to add comment