




Wordpress Ve Joomla - Component Ve Plugin PHP Scanner
-
Kodu herhangi bir servera upload edin, denendi çalışıyor..
kodlar:
<?php
@set_time_limit(0);
@error_reporting(0);
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>Bulunamadı</td><td><a href='http://www.google.com/search?hl=en&q=download+$component'>Download</a></td></tr>";
}else{
echo"<td><a href='$ExPloiTdb'>Bulundu</a></td><td><--</td></tr>";
}
}
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>[~] Bir bok bulamadık , belki site veya ayarlarda sorun vardır, kontrol edin .</td></tr>";}
foreach(array_unique($arz) as $x){
$coms[]=$x;
}
foreach($coms as $comm){
echo "<tr><td>$comm</td>";
ask_exploit_db($comm);
}
}
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>[~] Bir bok bulamadık , belki site veya ayarlarda sorun vardır, kontrol edin .</td></tr>";}
foreach($plugins as $plugin){
echo "<tr><td>$plugin</td>";
ask_exploit_db($plugin);
}
}
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="fr">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Tahribat.com / Joomla ve Wordpress plugin ve component bulucu</title>
<style>
body,input,table,select{background: black; font-family:Verdana,tahoma; color: white; font-
size:10px; }
a:link,a:active,a:visited{text-decoration: none;color: red;}
a:hover {text-decoration: underline; color: red;}
table,td,tr,#gg{ border-style:solid; text-decoration:bold; }
tr:hover,td:hover{background-color: #FFFFCC; color:green;}
.oo:hover{background-color: black; color:white;}
</style>
</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">
<font size="4">Tahribat.com / Joomla ve Wordpress plugin ve component bulucu | TBT is everywhere</font></p>
<p align="center">
<font size="4"><br></font></p>
<p align="center">Site :
<input type="text" name="site" size="33" value="http://www.tahribat.com/"><select size="1"
name="what">
<option>wp</option>
<option>joomla</option>
</select><input type="submit" value="ScaN"></p>
</form>
<?
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):"";
}
?>
</table>
<p align="center">Hadi sen işine de herkes kendi çişine<br>
For all murids © 2012</p>
</body>
</html> -
edit: sayfayı düzeltmişler burayı kimse yanlış anlamasın :)
Gzx tarafından 18/Mar/13 15:01 tarihinde düzenlenmiştir -
-
Fatih bunu yazdı
kopyala yapıştır denemeden geçmiş yazmış
-
Devilcode bunu yazdıFatih bunu yazdı
kopyala yapıştır denemeden geçmiş yazmış
Arkadaş güvenilir bir mürittir, denendi diyorsa denenmiştir velakin çalışmıyor o da bir gerçek. Belki farklı bir püf noktası vardır.
Fatih tarafından 18/Mar/13 02:36 tarihinde düzenlenmiştir -
<?php
@set_time_limit(0);
@error_reporting(0);
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>Bulamadık ya la</td><td><a href='http://www.google.com/search?hl=en&q=download+$component'>İndir</a></td></tr>";
}else{
echo"<td><a href='$ExPloiTdb'>Bulduk.</a></td><td><--</td></tr>";
}
}
/**************************************************************/
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);
}
}
/**************************************************************/
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);
}
}
/**************************************************************/
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="tr">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Tahribat.com / Joomla ve Wordpress plugin ve component bulucu | TBT is everywhere</title>
<style>
body,input,table,select{background: black; font-family:Verdana,tahoma; color: white; font-
size:10px; }
a:link,a:active,a:visited{text-decoration: none;color: red;}
a:hover {text-decoration: underline; color: red;}
table,td,tr,#gg{ border-style:solid; text-decoration:bold; }
tr:hover,td:hover{background-color: #FFFFCC; color:green;}
.oo:hover{background-color: black; color:white;}
</style>
</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">
<font size="4">Tahribat.com / Joomla ve Wordpress plugin ve component bulucu | TBT is everywhere</font></p>
<p align="center">
<font size="4"><br></font></p>
<p align="center">Site :
<input type="text" name="site" size="33" value="http://www.tahribat.com/"><select size="1"
name="what">
<option>WordPreSs</option>
<option>JooMla</option>
</select><input type="submit" value="ScaN"></p>
</form>
<?
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):"";
}
?>
</table>
<p align="center">Hadi sen git işine de herkes kendi çişine<br>
For all murids ©</p>
</body>
</html>
<?
?> -
yeni verdiğin kod satır numaraları yüzünden kopyalanmıyor hocam.
edit: düzeltmişsin.
Fatih tarafından 18/Mar/13 02:45 tarihinde düzenlenmiştir -
Bu çalışıyor fakat sadece site görüntüsüne etki eden plugin'leri tespit edebiliyor.
Denemek isteyenler için: http://holla1.hol.es/denemeyeni.php
-
Fatih bunu yazdı
Bu çalışıyor fakat sadece site görüntüsüne etki eden plugin'leri tespit edebiliyor.
Denemek isteyenler için: http://holla1.hol.es/denemeyeni.php
dediğin doğru olabilir hocam, işe yarayabilir diye koydum, çok incelemedim.
-
wr3kcer bunu yazdıFatih bunu yazdı
Bu çalışıyor fakat sadece site görüntüsüne etki eden plugin'leri tespit edebiliyor.
Denemek isteyenler için: http://holla1.hol.es/denemeyeni.php
dediğin doğru olabilir hocam, işe yarayabilir diye koydum, çok incelemedim.
yinede emeğine sağlık araştırıp yenisini eklemişsin tebrik ederim takdire layıksın
-
beyler zengin metin editöründeki şu highligher ı neden kullanmıyorsunuz millete eziyet çektiriyorsunuz