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


Viewing file:     v_passSt.php (10.75 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<script language="javascript">
function checkFormat(stY, acY, se) {
    if(confirm("คุณต้องการเลื่อนชั้น จากชั้นปี "+stY+" (ภาคการศึกษา "+se+" ปีการศึกษา "+acY+") เป็นชั้นปี "+eval(parseInt(stY)+1)+" !!\n\nเมื่อกดปุ่ม OK แล้ว จะทำการเลื่อนชั้นทันที โดยที่จะไม่สามารถเปลี่ยนแปลงได้อีก\nถ้ายืนยัน ให้กดปุ่ม OK")) {
        document.getElementById("myform").action = "<?php echo site_url($this->config->item('rg_folder').'passSt/processPassSt');?>";
        return true;
    } else {
        return false;
    }
}
</script>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
        <td>
            <div align="center">
            <?php echo form_open($this->config->item("rg_folder")."passSt/passStStd", array("name" => "myform""id" => "myform"));?>
            <table width="100%" border="0" cellspacing="1" cellpadding="1" align="center">
                <tr>
                    <td colspan="4" align="center"><span class="h error">เลื่อนชั้นปีนักศึกษารายนักศึกษา</span></td>
                </tr>
                <tr>
                    <td height="22" colspan="4"><br /></td>
                </tr>
                <tr>
                    <td colspan="4"><font  size="2"><b>รหัสนักศึกษา</b></font>
                    <input type="text" name="stdCode" id="stdCode" value="<?php echo set_value("stdCode");?>" size="11" maxlength="10" class="required-int" />
                    <input type="submit" name="search" value="ค้นหา" />
                    <span class="error"><?php echo form_error('stdCode');?></span></td>
                </tr>
                <tr>
                    <td height="22" colspan="4"></td>
                </tr>
<?php
                
if (isset($stdCode) && $stdCode) {
?>
                <tr>
                    <td><table class="szone">
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td class="coltd_szone">รหัสนักศึกษา</td>
                            <td>
                            <input type="text" name="stdCode_2" id="stdCode_2" value="<?php echo $stdCode;?>" readonly class="input2" />
                            <input type="hidden" name="stdId" id="stdId" value="<?php echo $qu_std->row()->stdId;?>" readonly /></td>
                            <td class="coltd_szone">ชื่อ-นามสกุล</td>
                            <td><font size="2" >
                            <input type="text" name="name" id="name" value="<?php echo $qu_std->row()->prefixName.$qu_std->row()->stdName.' '.$qu_std->row()->stdSurname;?>" readonly class="input2" /></font></td>
                        </tr>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td class="coltd_szone">หลักสูตร</td>
                            <td colspan="3"><font size="2" >
                            <input type="text" name="curName" id="curName" value="<?php echo $qu_std->row()->curName;?>" class="input2" readonly /></font>
                            <input type="text" name="curId" id="curId" value="<?php echo $qu_std->row()->curId;?>" class="input2" readonly /></td>
                        </tr>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td class="coltd_szone">ชั้นปีปัจจุบัน</td>
                            <td><font size="2" >
                            <input type="syCode" name="syCode" value="<?php echo $qu_std->row()->syCode;;?>" class="input2" readonly />
                            <input type="hidden" name="syId" id="syId" value="<?php echo $qu_std->row()->stdSyId;?>" class="input2" readonly /></td>
                            <td class="coltd_szone">ระดับการศึกษา</td>
                            <td><font size="2" >
                            <input type="text" name="elvName" id="elvName" value="<?php echo $qu_std->row()->levelName;?>" class="input2" readonly />
                            <input type="hidden" name="elvId" id="elvId" value="<?php echo $qu_std->row()->levelId;?>" class="input2" readonly /></td>
                        </tr>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td class="coltd_szone">ปีการศึกษา</td>
                            <td><font size="2" color="<?php echo $this->config->item("rg_font_color_err");?>"><b><?php echo $acY;?>
                            <input type="hidden" name="acY" id="acY" value="<?php echo $acY;?>" class="input2" readonly ></td>
                            <td class="coltd_szone">ภาคการศึกษา</td>
                            <td><font size="2" color="<?php echo $this->config->item("rg_font_color_err");?>"><b><?php echo $tmId;?>
                            <input type="hidden" name="tmId" id="tmId" value="<?php echo $tmId;?>" class="input2" readonly ></td>
                        </tr>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td class="coltd_szone">GPA</td>
                            <td><font size="2" ><?php echo number_format($qu_std->row()->stdGPA2);?></font></td>
                            <td class="coltd_szone">คะแนนความประพฤติ</td>
                            <td><font size="2" ><?php echo $qu_std->row()->stdTotalPoint;?></font></td>
                        </tr>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td class="coltd_szone">ระยะเวลาที่ศึกษา</td>
                            <td><font size="2" ><?php echo $acY $qu_std->row()->stdAdY 1;?></font></td>
                            <td class="coltd_szone">สถานะนักศึกษา</td>
                            <td><font size="2" ><?php echo $qu_std->row()->sstName;?></font></td>
                        </tr>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td class="coltd_szone">รายวิชาที่สอบไม่ผ่าน : </td>
                            <td colspan="3">
<?php
                        
if ($grdStr) {
?>
                            <?php echo $grdStr;?></font></td>
<?php
                        
} else {
?>
                            <span class="error">** ไม่ปรากฏรายวิชาที่สอบไม่ผ่าน **</span></td>
<?php
                        
}
?>
                        </tr>
<?php
                        
if(isset($err_msg)) {
?>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td class="coltd_szone" colspan="4" align="center"><span class="h error"><b><?php echo $err_msg;?></span></td>
                        </tr>
<?php
                        
}
                        if (isset(
$passStatus)) {
?>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td class="coltd_szone">เลือกสถานะ</td>
                            <td colspan="3"><input type="radio" name="passStatus" id="rad1" value="1" <?php echo ($passStatus == 1) ? 'checked' '';?> />
                            <span class="error"><label for="rad1">กลุ่ม 1 หมายถึง </label>
                            <label for="rad1"> เลื่อนชั้นได้ คะแนนเฉลี่ยสะสม ตั้งแต่ 2.00 ขึ้นไป และไม่มีตกในรายวิชา</label></span></td>
                        </tr>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td class="coltd_szone"></td>
                            <td colspan="3"><input type="radio" name="passStatus" id="rad2" value="2" <?php echo ($passStatus == 2) ? 'checked' '';?> />
                            <span class="error"><label for="rad2">กลุ่ม 2 หมายถึง </label>
                            <label for="rad2">เลื่อนชั้นได้อย่างมีเงื่อนไข คะแนนเฉลี่ยสะสม ตั้งแต่ 2.00 ขึ้นไป และตกในบางวิชา ต้องลงทะเบียนเรียนใหม่ในรายวิชาที่ตก</label></span></td>
                        </tr>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td class="coltd_szone"></td>
                            <td colspan="3"><input type="radio" name="passStatus" id="rad3" value="3" <?php echo ($passStatus == 3) ? 'checked' '';?> />
                            <span class="error"><label for="rad3">กลุ่ม 3 หมายถึง เลื่อนชั้นได้อย่างมีเงื่อนไข คะแนนเฉลี่ยสะสม ระหว่าง 1.95-1.99 ต้องทำคะแนนเฉลี่ยสะสม เมื่อจบปี 2 ไม่น้อยกว่า 2.00 จึงจะเลื่อนชั้นได้</label></span></td>
                        </tr>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td class="coltd_szone"></td>
                            <td colspan="3"><input type="radio" name="passStatus" id="rad4" value="4" <?php echo ($passStatus == 4) ? 'checked' '';?> />
                            <span class="error"><label for="rad4">กลุ่ม 4 หมายถึง ซ้ำชั้น คะแนนเฉลี่ยสะสม น้อยกว่า 1.95 หรือคะแนนความประพฤติต่ำกว่า 80 คะแนน</label></span></td>
                        </tr>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td class="coltd_szone"></td>
                            <td colspan="3"><input type="radio" name="passStatus" id="rad5" value="5" <?php echo ($passStatus == 5) ? 'checked' '';?> />
                            <span class="error"><label for="rad5">กลุ่ม 5 หมายถึง พ้นสภาพนักศึกษา ได้คะแนนเฉลี่ยสะสม น้อยกว่า 1.75 หรือไม่ชำระเงิน เกิน 1 ภาค จำนวนปีที่ศึกษาเกินกว่า 2 เท่าของเวลาที่หลักสูตรกำหนด</label></span></td>
                        </tr>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td colspan="4"><br /></td>
                        </tr>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td height="22" colspan="4" align="center">
                            <input type="submit" name="btnConfirm" value="ยืนยัน" <?php if (!$tmId || $tmId==1) echo 'disabled';?> onClick="return checkFormat(<?php echo $qu_std->row()->stdSyId;?><?php echo $acY;?><?php echo $tmId;?>)">
                            <input type="reset" name="clear" value="เคลียร์ข้อมูล">
                            <input type="hidden" name="method" value="edit" ></td>
                        </tr>
<?php
                        
}
                } else if (isset(
$qu_std) && !$qu_std->num_rows()) {
?>
                        <tr>
                            <td colspan="4" align="center"><span class="error">** ไม่ปรากฏรหัสนักศึกษาดังกล่าวในฐานข้อมูล **</span></td>
                        </tr>
<?php
                
}
?>
                    </table></td>
                </tr>
            </table><?php echo form_close();?></div>
        </td>
    </tr>
    <tr>
        <td><br /></td>
    </tr>
    <tr>
        <td><table class="mark">
            <tr>
                <td class="coltd_mark"><span class="error"><b>หมายเหตุ : </b></span></td>
                <td><span class="error">ก่อนเลื่อนชั้นปี ควรส่งเกรด ประมวลผลเกรด และยืนยันการประมวลผลเกรดให้เรียบร้อย</span></td>
            </tr>
            <tr>
                <td height="22"></td>
                <td><span class="error">เมื่อกดปุ่มยืนยันแล้ว จะทำการเลื่อนชั้นทันที โดยที่จะไม่สามารถเปลี่ยนแปลงได้อีก</span></td>
            </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 ::
 
[ 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.0174 ]--