!c99Shell v. 1.0 pre-release build #16!

Software: Apache/2.2.3 (CentOS). PHP/5.1.6 

uname -a: Linux mx-ll-110-164-51-230.static.3bb.co.th 2.6.18-194.el5PAE #1 SMP Fri Apr 2 15:37:44
EDT 2010 i686
 

uid=48(apache) gid=48(apache) groups=48(apache) 

Safe-mode: OFF (not secure)

/var/www/html/mis2222/ums/   drwxr-xr-x
Free 52.32 GB of 127.8 GB (40.94%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     umGPermission.php (4.24 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |


SearchByKey($GpID); $oGp->GetRecord(); //get App info $oSt->SearchByKey($oGp->GpStID); $oSt->GetRecord(); $StName = $oSt->StNameT; echo "
\n"; echo "GpID>\n"; echo "GpStID>\n"; $oT = new clsTable(); $oT->bgColor="#eeeeee"; $oT->headerBgColor="#dddddd"; $oT->align="center"; $oT->rowStart(); $oT->addCell("ระบบ ".$oSt->StNameT."","","",6); $oT->rowEnd(); $oT->rowStart(); $oT->addCell("       กลุ่มงาน ".$oGp->GpNameT."","","",6); $oT->rowEnd(); $oT->rowStart("",$oT->headerBgColor); //$oT->addCell(""); $oT->addCell("เมนู","center"); $oT->addCell("X","center"); $oT->addCell("C","center"); $oT->addCell("R","center"); $oT->addCell("U","center"); $oT->addCell("D","center"); $oT->rowEnd(); $oMnT->RSMainMenuBySt($oGp->GpStID); while ($oMnT->GetRecord()){ ShowmenuGP($oGp->GpID, $oMnT->MnID); } $oT->rowStart("","#dddddd"); //$oT->addCell(""); $oT->addCell(""); $oT->addCell("",'','','5'); $oT->rowEnd(); echo $oT->output(); echo "\n"; ////////////////////////////////////////// function ShowMenuGP($GpID, $MnID){ global $oC; global $oT; global $Str; global $oGPm; global $rw; include_once("../class/clsDB.php"); $oMn = new ummenu($oC); $oMn->SearchByKey($MnID); $oMn->GetRecord(); if ($oMn->MnLevel==0){ $bs=""; $be=""; } $lv = $oMn->MnLevel+1; $checkX= "checked"; $checkC= "checked"; $checkR= "checked"; $checkU= "checked"; $checkD= "checked"; $oT->rowStart(); //$oT->addCell("$oMn->MnIDMnID>"); $oT->addCell("MnID>" . str_pad("",10*6*$oMn->MnLevel, " ", STR_PAD_RIGHT).$bs.$oMn->MnNameT.$be); $oGPm->SearchByKey($GpID,$oMn->MnID); if ($oGPm->GetRowSelected()>0){ //found in group permission $oGPm->GetRecord(); if ($oGPm->gpX==0) $checkX=""; if ($oGPm->gpC==0) $checkC=""; if ($oGPm->gpR==0) $checkR=""; if ($oGPm->gpU==0) $checkU=""; if ($oGPm->gpD==0) $checkD=""; } $oT->addCell("MnID."x\" $checkX>"); $oT->addCell("MnID."c\" $checkC>"); $oT->addCell("MnID."r\" $checkR>"); $oT->addCell("MnID."u\" $checkU>"); $oT->addCell("MnID."d\" $checkD>"); $oT->rowEnd(); //show column header $rw++; if ($rw % 15 == 0){ $oT->rowStart("",$oT->headerBgColor); //$oT->addCell(""); $oT->addCell("เมนู","center"); $oT->addCell("X","center"); $oT->addCell("C","center"); $oT->addCell("R","center"); $oT->addCell("U","center"); $oT->addCell("D","center"); $oT->rowEnd(); } //show column header $oMn->RSmenuByParentMn($MnID); while ($oMn->GetRecord()){ ShowMenuGP($GpID, $oMn->MnID); } } ?>

bool(false)

:: Command execute ::

Enter:  
Select:
 

:: Shadow's tricks :D ::

Useful Commands
 
Warning. Kernel may be alerted using higher levels
Kernel Info:

:: Preddy's tricks :D ::

Php Safe-Mode Bypass (Read Files)

File:

eg: /etc/passwd

Php Safe-Mode Bypass (List Directories):

Dir:

eg: /etc/

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c999shell v. 1.0 pre-release build #16 Modded by Shadow & Preddy | RootShell Security Group | r57 c99 shell | Generation time: 0.0056 ]--