!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_searchRptRis112.php (5.3 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<script language="JavaScript">
function disable(disableIt)
{
    if(disableIt) {
        document.myform.curId.disabled = true;
        document.myform.syId.disabled = true;
        document.myform.stdCode.disabled = false;
    }
    else {
        document.myform.curId.disabled = false;
        document.myform.syId.disabled = false;
        document.myform.stdCode.disabled = true;
    }
}

function disableTypeRpt(disableIt)
{
    if(!disableIt) {
        document.myform.bossname.disabled = true;
        document.myform.bossposition.disabled = true;
    }
    else {
        document.myform.bossname.disabled = false;
        document.myform.bossposition.disabled = false;
    }
}
</script>
<table width="100%">
    <tr>
        <td>
            <div align="center">
            <table width="100%">
                <tr>
                    <td colspan="2" align="center"><span class="h error">รายงานผลการเรียนนักศึกษาแจ้งผู้ปกครอง</span></td>
                </tr>
                <tr>
                    <td><br /></td>
                </tr>
                <tr>
                    <td>
<?php                echo form_open($this->config->item("rg_folder")."rpt_misc/rptRis112", array("name" => "myform""id" => "myform" ,"target"=>"_blank"));
?>
                    <table class="szone">
                    <tr bgcolor="<?php echo $tr_color_even;?>">
                        <td class="coltd_szone">ปีการศึกษา</td>
                        <td><input type="text" name="acY" id="acY" value="<?php echo set_value('acY',$acY);?>" size="6" maxlength="4" class="required-int" />
                        <span class="error"><?php echo form_error('acY');?></span></td>
                    </tr>
                    <tr bgcolor="<?php echo $tr_color_even;?>">
                        <td class="coltd_szone">ภาคการศึกษา</td>
                        <td>
    <?php 
                            
echo form_dropdown('tmId'$rs_tmset_value('tmId',$tmId));
    
?>
                            <span class="error"><?php echo form_error('tmId');?></span>
                        </td>
                    </tr>
                    <tr bgcolor="<?php echo $tr_color_even;?>">
                        <td class="coltd_szone">หลักสูตร</td>
                        <td>
    <?php
                            
echo form_dropdown('curId'$rs_curset_value('curId'));
    
?>
                        <span class="error"><?php echo form_error('curId');?></span>
                        </td>
                    </tr>
                    <tr bgcolor="<?php echo $tr_color_even;?>">
                        <td class="coltd_szone">ชั้นปี</td>
                        <td><input type="text" name="syId" id="syId" size="2" maxlength="1" />
                        <span class="error"><?php echo form_error('syId');?></span>
                        </td>
                    </tr>
                    <tr bgcolor="<?php echo $tr_color_even;?>">
                        <td colspan="3" class="coltd_szone"><input type="checkbox" name="typeStd" id="typeStd" value="Y" onclick="disable(this.checked)" <? if(set_value('typeStd')=='Y') echo ' checked';?>/>
                        <font size="2"><b>รายนักศึกษา</b></font></td>
                    </tr>
                    <tr bgcolor="<?php echo $tr_color_even;?>">
                        <td class="coltd_szone">รหัสนักศึกษา</td>
                        <td><input type="text" name="stdCode" id="stdCode" size="15" maxlength="15" disabled class="required-int" <?=set_value('stdCode')?>/>
                        <?php echo form_error("stdCode");?></td>
                    </tr>
                    <tr bgcolor="<?php echo $tr_color_even;?>">
                        <td class="coltd_szone">ภาษา</td>
                        <td>
                        <input type="radio" name="typeLang" id="rad1" value="T1" <?php echo ((set_value('typeLang')=='T1')? 'checked': ((set_value('typeLang')=='E')? '''checked'));?> /> ไทย - เลขอารบิก<br />
                        <input type="radio" name="typeLang" id="rad2" value="T2" <?php echo ((set_value('typeLang')=='T2')? 'checked''');?> /> ไทย - เลขไทย<br />
                        <input type="radio" name="typeLang" id="rad6" value="E" <?php echo ((set_value('typeLang')=='E')? 'checked':'');?> /> อังกฤษ</td>
                    </tr>
                    <tr bgcolor="<?php echo $tr_color_even;?>">
                        <td colspan="3" class="coltd_szone"><input type="checkbox" name="typeRpt" id="typeRpt" value="Y" 
                        onclick="disableTypeRpt(this.checked)" <? if(set_value('typeRpt')=='Y') echo ' checked';?> />
                        <font size="2"><b>เลือกรายงานแสดง </b>ตำแหน่งหัวหน้างาน และที่อยู่วิทยาลัย</font></td>
                    </tr>
                    <tr bgcolor="<?php echo $tr_color_even;?>">
                        <td class="coltd_szone">ชื่อหัวหน้างาน</td>
                        <td><input type="text" name="bossname" id="bossname" size="50" maxlength="100"  value="<?=set_value('bossname')?>" disabled/>
                        <?php echo form_error("bossname");?></td>
                    </tr>
                    <tr bgcolor="<?php echo $tr_color_even;?>">
                        <td class="coltd_szone">ชื่อตำแหน่งหัวหน้างาน</td>
                        <td><input type="text" name="bossposition" id="bossposition" size="50" maxlength="100"  value="หัวหน้างานทะเบียน วัดและประเมินผลการศึกษา" disabled/>
                        <?php echo form_error("bossposition");?></td>
                    </tr>
                    <tr bgcolor="<?php echo $tr_color_even;?>">
                        <td align="center" colspan="3">
                        <input type="submit" name="add" id="add" value="ตกลง"/>
                        <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.0146 ]--