!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_showCensus.php (6.44 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<script language="JavaScript">
function showAddr() {
    if(document.getElementById("move1").checked==true) {
        document.getElementById("showAddr").style.display = "";
    } else if(document.getElementById("move2").checked==true) {
        document.getElementById("showAddr").style.display = "none";
    }

    return false;
}
</script>
<?php
$row_cfg 
= (isset($qu_cfg) && $qu_cfg!=NULL) ? $qu_cfg->row() : NULL;
?>
<table width="100%" align="center">
    <tr>
        <td><div align="center">
            <table width="100%">
                <tr>
                    <td colspan="2" align="center" class="h error">ย้ายทะเบียนบ้านของนักศึกษา</td>
                </tr>
                <tr>
                    <td><br /></td>
                </tr>
                <tr>
                    <td align="center">
                    <?php echo form_open($this->config->item("rg_folder")."studentinfo/addCensus", array("name" => "myform""id" => "myform"));?>
                    <table class="szone">
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td class="coltd_szone">หลักสูตร</td>
                            <td><input type="text" name="curName" id="curName" value="<?php echo set_value('curName');?>" size="70" class="input2" readonly />
<?php
                            
echo anchor_popup($this->config->item("rg_folder")."popup/curAndStdAdY_popup""<img src=\"".base_url().$this->config->item('rg_search')."\" width=\"15\" height=\"19\" align=\"abmiddle\" border=\"0\" />", array("width" => "600""height" => "350"));
?>
                            <input type="hidden" name="curId" id="curId" value="<?php echo set_value('curId');?>" />
                            <span class="error">*<?php echo form_error('curId');?></span></td>
                        </tr>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td class="coltd_szone">ปีการศึกษาที่เข้า</td>
                            <td><input type="text" name="adY" id="adY" value="<?php echo set_value('adY');?>" size="4" maxlength="4" readonly class="input2" />
                            <input type="hidden" name="tmIdAdmit" id="tmIdAdmit" value="<?php echo set_value('tmIdAdmit');?>" />
                            <input type="hidden" name="syId" id="syId" value="<?php echo set_value('syId');?>" />
                            <span class="error"><?php echo form_error('adY');?></span></td>
                        </tr>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td class="coltd_szone">ชั้นปีนักศึกษา</td>
                            <td><input type="text" name="stdSyId" id="stdsyId" value="<?php echo set_value('stdSyId');?>" class="required-int" size="2" maxlength="1" />
                            <span class="error">*<?php echo form_error('stdSyId');?></span></td>
                        </tr>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td class="coltd_szone" valign="top">กรณีการย้าย</td>
                            <td>
                            <input type="radio" name="move" id="move1" value="I" <?php echo set_value('move')=='' "checked" : (set_value('move')=='I' "checked" '');?> onClick="showAddr()" /> ย้ายเข้าวิทยาลัย
                            <input type="radio" name="move" id="move2" value="O" <?php echo set_value('move')=='O' "checked" '';?> onClick="showAddr()"/> ย้ายออกจากวิทยาลัย
                                <span id="showAddr"><table class="szone" border='0'>
                                    <tr>
                                        <td colspan="2"><br /></td>
                                    </tr>
                                    <tr>
                                        <td class="coltd_szone1" valign="top">ที่อยู่</td>
                                        <td>
<?php
                                        
// ตัดสตริง ที่อยู่
                                        
$addr set_value('addr')=='' setValue('cfgClgName',$row_cfg).' '.setValue('cfgClgAddr',$row_cfg) : set_value('addr');
                                        
$tmp explode('ตำบล'$addr);
                                        
$newAddr explode('ต.'$tmp[0]);
                                        
$addrData = array('name'        => 'addr',
                                                          
'id'            => 'addr',
                                                          
'value'        => $newAddr[0],
                                                          
'rows'        => '3',
                                                          
'cols'        => '50');
                                        echo 
form_textarea($addrData);
?>
                                        <span class="error">*<?php echo form_error('addr');?></span></td>
                                    </tr>
                                    <tr>
                                        <td class="coltd_szone1">ตำบล</td>
                                        <td><input type="text" name="dtNameCurrent" id="dtNameCurrent" value="<?php echo set_value('dtNameCurrent');?>" class="input2" readonly />
<?php
                                        
echo anchor_popup($this->config->item("rg_folder")."popup/dtCur_popup""<img src=\"".base_url().$this->config->item('rg_search')."\" width=\"15\" height=\"19\" align=\"abmiddle\" border=\"0\" />", array("width" => "600""height" => "350"));
    
?>
                                        <input type="hidden" name="sdtDtIdCurrent" id="sdtDtIdCurrent" value="<?php echo set_value('sdtDtIdCurrent');?>" />
                                        <span class="error">*<?php echo form_error('sdtDtIdCurrent');?></span></td>
                                        <td class="coltd_szone1">อำเภอ</td>
                                        <td>
                                        <input type="text" name="apNameCurrent" id="apNameCurrent" value="<?php echo set_value('apNameCurrent');?>" class="input2" readonly />
                                        <span class="error"><?php echo form_error('sdtApIdCurrent');?></span>
                                        <input type="hidden" name="sdtApIdCurrent" id="sdtApIdCurrent" value="<?php echo set_value('sdtApIdCurrent');?>" /></td>
                                    </tr>
                                    <tr>
                                        <td class="coltd_szone1">จังหวัด</td>
                                        <td><input type="text" name="prvNameCurrent" id="prvNameCurrent" value="<?php echo set_value('prvNameCurrent');?>" class="input2" readonly />
                                        <input type="hidden" name="sdtPrvIdCurrent" id="sdtPrvIdCurrent" value="<?php echo set_value('sdtPrvIdCurrent');?>" />
                                        <span class="error"><?php echo form_error('sdtPrvIdCurrent');?></span></td>
                                        <td class="coltd_szone1">รหัสไปรษณีย์</td>
                                        <td><input type="text" name="sdtCurrentPostCode" id="sdtCurrentPostCode" value="<?php echo set_value('sdtCurrentPostCode');?>" size="6" maxlength="5" class="required-int" />
                                        <span class="error">*<?php echo form_error('sdtCurrentPostCode');?></span></td>
                                    </tr>
                                </table></span>
                            </td>
                        </tr>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td colspan="2" align="center">
                            <input type="submit" name="add" id="add" value="ตกลง" />
                            <input type="reset" name="clear" id="clear" value="เคลียร์ข้อมูล" />
                            </td>
                        </tr>
                    </table><?php echo form_close();?></td>
                </tr>
            </table></div>
        <br /><span class="error"><b>หมายเหตุ : </b>* หมายถึง ต้องกรอกข้อมูลให้สมบูรณ์</span></td>
    </tr>
</table>
<script>showAddr();</script>

:: 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 ]--