Advertisement
Inconnu-Dz

JooMla & WordPreSs Get Plugins and CoMPosent

May 7th, 2016
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.90 KB | None | 0 0
  1. <?php
  2. @set_time_limit(0);
  3. @error_reporting(0);
  4.  
  5. # Script......: JooMla & WordPreSs Get Plugins and CoMPosent ..!
  6.  
  7. # Author......: Inconnu Dz
  8.  
  9. # Fb........: https://www.facebook.com/ghost.attack.dz
  10.  
  11. # Greetz to...: Mr abdou - matrix dz - Prince - Vendita dz - and all dz hacker
  12.  
  13. // Script Functions , start ..!
  14.  
  15. function ask_exploit_db($component){
  16.  
  17. $ExPloiTdb ="http://www.exploit-db.com/search/?action=search&filter_page=1&filter_description=$component&filter_exploit_text=&filter_author=&filter_platform=0&filter_type=0&filter_lang_id=0&filter_port=&filter_osvdb=&filter_cve=";
  18.  
  19. $result = @file_get_contents($ExPloiTdb);
  20.  
  21. if (eregi("No results",$result)) {
  22.  
  23. echo"<td>Not Found</td><td><a href='http://www.google.com/search?hl=en&q=download+$component'>Download</a></td></tr>";
  24.  
  25. }else{
  26.  
  27. echo"<td><a href='$ExPloiTdb'>Found ..!</a></td><td><--</td></tr>";
  28.  
  29. }
  30. }
  31.  
  32. /**************************************************************/
  33.  
  34. function get_components($site){
  35.  
  36. $source = @file_get_contents($site);
  37.  
  38. preg_match_all('{option,(.*?)/}i',$source,$f);
  39. preg_match_all('{option=(.*?)(&amp;|&|")}i',$source,$f2);
  40. preg_match_all('{/components/(.*?)/}i',$source,$f3);
  41.  
  42. $arz=array_merge($f2[1],$f[1],$f3[1]);
  43.  
  44. $coms=array();
  45.  
  46. if(count($arz)==0){ echo "<tr><td colspan=3>[~] Nothing Found ..! , Maybe there is some error site or option ... check it .</td></tr>";}
  47.  
  48. foreach(array_unique($arz) as $x){
  49.  
  50. $coms[]=$x;
  51. }
  52.  
  53. foreach($coms as $comm){
  54.  
  55. echo "<tr><td>$comm</td>";
  56.  
  57. ask_exploit_db($comm);
  58.  
  59. }
  60.  
  61. }
  62.  
  63. /**************************************************************/
  64.  
  65. function get_plugins($site){ // ÏÇáÉ áÇÓÊÎÑÇÌ ÇáÇÖÇÝÇÊ ãä ÓæÑÓ ÇáÕÝÍÉ æíÑÏ ÈÑíÓ
  66.  
  67. $source = @file_get_contents($site);
  68.  
  69. preg_match_all("#/plugins/(.*?)/#i", $source, $f);
  70.  
  71. $plugins=array_unique($f[1]);
  72.  
  73. if(count($plugins)==0){ echo "<tr><td colspan=3>[~] Nothing Found ..! , Maybe there is some error site or option ... check it .</td></tr>";}
  74.  
  75. foreach($plugins as $plugin){
  76.  
  77. echo "<tr><td>$plugin</td>";
  78.  
  79. ask_exploit_db($plugin);
  80.  
  81. }
  82.  
  83. }
  84.  
  85. /**************************************************************/
  86.  
  87. function t_header($site){ // ÈÏÇíÉ ÇáÌÏæá
  88.  
  89. echo'<table align="center" border="1" width="50%" cellspacing="1" cellpadding="5">';
  90.  
  91. echo'
  92. <tr id="oo">
  93. <td>Site : <a href="'.$site.'">'.$site.'</a></td>
  94. <td>Exploit-db</b></td>
  95. <td>Exploit it !</td>
  96. </tr>
  97. ';
  98.  
  99. }
  100.  
  101. ?>
  102. <html>
  103. <head>
  104. <meta http-equiv="Content-Language" content="fr">
  105. <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
  106. <title>#~ JooMla &amp; WordPreSs Get Plugins and CoMPosent</title>
  107. <style>
  108. body,input,table,select{background: black; font-family:Verdana,tahoma; color: white; font-size:10px; }
  109. a:link,a:active,a:visited{text-decoration: none;color: red;}
  110. a:hover {text-decoration: underline; color: red;}
  111. table,td,tr,#gg{ border-style:solid; text-decoration:bold; }
  112. tr:hover,td:hover{background-color: #FFFFCC; color:green;}
  113. .oo:hover{background-color: black; color:white;}
  114. </style>
  115. </head>
  116.  
  117. <body>
  118.  
  119. <p align="center">&nbsp;</p>
  120. <p align="center">&nbsp;</p>
  121. <p align="center">&nbsp;</p>
  122. <form method="POST" action="">
  123. <p align="center">
  124. &nbsp;</p>
  125. <p align="center">
  126. <font size="4">#~ JooMla &amp; WordPreSs, CoMposent ScaN</font></p>
  127. <p align="center">
  128. <font size="4"><br></font></p>
  129. <p align="center">Site :
  130. <input type="text" name="site" size="33" value="http://www.site.com/"><select size="1" name="what">
  131. <option>WordPreSs</option>
  132. <option>JooMla</option>
  133. </select><input type="submit" value="ScaN"></p>
  134. </form>
  135. <?
  136.  
  137. // start :P :P ...
  138.  
  139. if($_POST){
  140.  
  141. $site=strip_tags(trim($_POST['site']));
  142.  
  143. t_header($site);
  144.  
  145. echo $x01 = ($_POST['what']=="WordPreSs") ? get_plugins($site):"";
  146. echo $x02 = ($_POST['what']=="JooMla") ? get_components($site):"";
  147.  
  148. }
  149.  
  150. ?>
  151. </table>
  152.  
  153. <p align="center">Inconnu Dz :D<br>
  154. fucking :v</p>
  155.  
  156. </body>
  157.  
  158. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement