Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- @set_time_limit(0);
- @error_reporting(0);
- // Script Functions , start ..!
- function ask_exploit_db($component){
- $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=";
- $result = @file_get_contents($exploitdb);
- if (eregi("No results",$result)) {
- echo"<td>Not Found</td><td><a href='http://www.google.com/search?hl=en&q=download+$component'>Download</a></td></tr>";
- }else{
- echo"<td><a href='$exploitdb'>Found ..!</a></td><td><--</td></tr>";
- }
- }
- /**************************************************************/
- /* Joomla Conf */
- function get_components($site){
- $source = @file_get_contents($site);
- preg_match_all('{option,(.*?)/}i',$source,$f);
- preg_match_all('{option=(.*?)(&|&|")}i',$source,$f2);
- preg_match_all('{/components/(.*?)/}i',$source,$f3);
- $arz=array_merge($f2[1],$f[1],$f3[1]);
- $coms=array();
- if(count($arz)==0){ echo "<tr><td colspan=3>[~] Nothing Found ..! , Maybe there is some error site or option ... check it .</td></tr>";}
- foreach(array_unique($arz) as $x){
- $coms[]=$x;
- }
- foreach($coms as $comm){
- echo "<tr><td>$comm</td>";
- ask_exploit_db($comm);
- }
- }
- /**************************************************************/
- /* WP Conf */
- function get_plugins($site){
- $source = @file_get_contents($site);
- preg_match_all("#/plugins/(.*?)/#i", $source, $f);
- $plugins=array_unique($f[1]);
- if(count($plugins)==0){ echo "<tr><td colspan=3>[~] Nothing Found ..! , Maybe there is some error site or option ... check it .</td></tr>";}
- foreach($plugins as $plugin){
- echo "<tr><td>$plugin</td>";
- ask_exploit_db($plugin);
- }
- }
- /**************************************************************/
- /* Nuke's Conf */
- function get_numod($site){
- $source = @file_get_contents($site);
- preg_match_all('{?name=(.*?)/}i',$source,$f);
- preg_match_all('{?name=(.*?)(&|&|l_op=")}i',$source,$f2);
- preg_match_all('{/modules/(.*?)/}i',$source,$f3);
- $arz=array_merge($f2[1],$f[1],$f3[1]);
- $coms=array();
- if(count($arz)==0){ echo "<tr><td colspan=3>[~] Nothing Found ..! , Maybe there is some error site or option ... check it .</td></tr>";}
- foreach(array_unique($arz) as $x){
- $coms[]=$x;
- }
- foreach($coms as $nmod){
- echo "<tr><td>$nmod</td>";
- ask_exploit_db($nmod);
- }
- }
- /*****************************************************/
- /* Xoops Conf */
- function get_xoomod($site){
- $source = @file_get_contents($site);
- preg_match_all('{/modules/(.*?)/}i',$source,$f);
- $arz=array_merge($f[1]);
- $coms=array();
- if(count($arz)==0){ echo "<tr><td colspan=3>[~] Nothing Found ..! , Maybe there is some error site or option ... check it .</td></tr>";}
- foreach(array_unique($arz) as $x){
- $coms[]=$x;
- }
- foreach($coms as $xmod){
- echo "<tr><td>$xmod</td>";
- ask_exploit_db($xmod);
- }
- }
- /**************************************************************/
- /* Header */
- function t_header($site){
- echo'<table align="center" border="1" width="50%" cellspacing="1" cellpadding="5">';
- echo'
- <tr id="oo">
- <td>Site : <a href="'.$site.'">'.$site.'</a></td>
- <td>Exploit-db</b></td>
- <td>Exploit it !</td>
- </tr>
- ';
- }
- ?>
- <html>
- <head>
- <meta http-equiv="Content-Language" content="en">
- <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
- <title>VULN SCANNER ONLINE</title>
- <style type="text/css">body {
- background-image:url(https://scontent-amt2-1.xx.fbcdn.net/t31.0-8/fr/cp0/e15/q65/13161748_2018079475084811_4250834144748309831_o.jpg);background-position:center;background-color:#414141; }</style>
- <center>
- </head>
- <body>
- <p align="center"> </p>
- <p align="center"> </p>
- <p align="center"> </p>
- <form method="POST" action="">
- <p align="center">
- </p>
- <p align="center">
- <img src=https://lh3.googleusercontent.com/-qg8PY7S9LsM/VtENkUuLg8I/AAAAAAAAAPE/7PnXFF4-3n0/w480-h480/AZZATSSINS.png></p>
- <p align="center">
- <font size="4"><br></font></p>
- <p align="center"><input style="width:30%;height:28px;border:0;padding:0;background:#f9f9f9;color:#8f8f8f;" type="text" name="site" value="http://www.target.mu/"><select style="width:10%;height:28px;background:#e6e6e6;border:0;padding:0;margin:0;color:#7f7f7f;" name="what">
- <option>Wordpress</option>
- <option>Joomla</option>
- <option>Nuke's</option>
- <option>Xoops</option>
- </select><input style="width:10%;height:28px;background:#e6e6e6;border:0;padding:0;margin:0;color:#7f7f7f;" type="submit" value="Scan"></p>
- </form>
- <?
- // Start Scan :P :P ...
- if($_POST){
- $site=strip_tags(trim($_POST['site']));
- t_header($site);
- echo $x01 = ($_POST['what']=="Wordpress") ? get_plugins($site):"";
- echo $x02 = ($_POST['what']=="Joomla") ? get_components($site):"";
- echo $x03 = ($_POST['what']=="Nuke's") ? get_numod($site):"";
- echo $x04 = ($_POST['what']=="Xoops") ? get_xoomod($site):"";
- }
- ?>
- </table>
- <p align="center">
- <b><i>© AZZATSSINS CYBERSERKERS</i></b></p>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement