!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 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_confirmShowGradeStdRow.php (2.8 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
$row_cfg 
= isset($qu_cfg) ? $qu_cfg->row() : NULL;
echo 
form_open($this->config->item("rg_folder")."grade/processConfirmShowGrdStd", array("name" => "myform""id" => "myform"));
?>
<table class="headCol">
    <tr>
        <th class="seqCol"><font size="2" color="<?php echo $row_cfg->cfgFnClHeadTb;?>">เลือก</font></th>
        <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;?>">หน่วยกิต</font></th>
    </tr>
<?php
$i 
0;
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 align="center"><input type="checkbox" name="chk<?php echo $i;?>" id="chk<?php echo $i;?>" value="Y" onClick="chkCheckbox()" />
        <input type="hidden" name="coId<?php echo $i;?>" id="coId<?php echo $i;?>" value="<?php echo $arr[$key]['rd']->coId;?>" /></td>
        <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>
<?php
        
if($arr[$key]['cur']->num_rows()) {
            foreach(
$arr[$key]['cur']->result() as $row_cur) {
?>
        <font color="<?php echo $row_cfg->cfgFnClErrSpec;?>"><div class="indent"><?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']->crsUnit;?></font></td>
    </tr>
<?php
        $i
++;
    }
} else {
?>
    <tr>
        <td colspan="5" align="center"><font size="2" color="<?php echo $row_cfg->cfgFnClErrSpec?>">** ไม่ปรากฏรายวิชาที่เปิดสอนในฐานข้อมูล **</font></td>
    </tr>
<?php
}
?>
</table>
<table width="100%">
    <tr>
        <td align="center" colspan="5"><br>
        <input type="submit" name="Submit" id="Submit" value="ยืนยันการแสดงผลเกรดนักศึกษา" onClick="return confirm('ท่านต้องการ ยืนยันการแสดงผลเกรดนักศึกษาใช่หรือไม่ ?');" disabled />
        <input type="reset" name="clear" id="clear" value="เคลียร์ข้อมูล" onClick="chkClear()" />
        <input type="hidden" name="cnt" id="cnt" value="<?php echo $i;?>" /></td>
    </tr>
</table>
<?php echo form_close();?>

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