!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 50.99 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_prefixTable.php (3.91 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<script language="JavaScript">
function ReturnValue(prefixId, prefixName, prefixNameEng)
{
    window.opener.document.myform.elements["prefixId"].value = prefixId;
    window.opener.document.myform.elements["prefixName"].value = prefixName;
    window.opener.document.myform.elements["prefixNameEng"].value = prefixNameEng;
    window.close();
}
</script>
<table width="100%">
    <tr>
        <td><?php echo form_open($this->config->item("ea_folder")."popup/prefix_search");?>
        <table class="szone">
            <tr bgcolor="<?php echo $this->config->item('tr_c_even');?>">
                <td height="25px" align="right"><b>คำนำหน้าชื่อ ภาษาไทย&nbsp;</b></td>
                <td><input type="text" name="pfName" id="pfName" value="<?php echo set_value('pfName');?>"  size="20" />
                <span class="error"><?php echo form_error('pfName');?></span></td>
            </tr>
            <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="เคลียร์ข้อมูล" />
                </td>
            </tr>
        </table><?php echo form_close();?></td>
    </tr>
<?php
if(isset($rs_pf) && $rs_pf->num_rows() > $this->config->item("rg_max_row")) {
?>
    <tr>
        <td colspan="3"><div class="boxBlock leftBox"><font size="2"><b>
        แสดง <?php echo $this->config->item("rg_max_row");?> รายการจาก <?php echo isset($rs_pf) ? $rs_pf->num_rows() : '';?> รายการ</b></font>
        </div></td>
    <tr>
<?php
}
?>
    <tr>
        <td><table class="headCol">
            <tr bgcolor="<?php echo $this->config->item('table_c_even');?>">
                <th class="seqCol">ลำดับที่</th>
                <th width="40%">คำนำหน้าชื่อ ภาษาไทย</th>
                <th width="40%">คำนำหน้าชื่อ ภาษาอังกฤษ</th>
                <th class="seqCol">เพศ</th>
            </tr>
<?php
    $i 
0;
    if(isset(
$rs_pf) && $rs_pf->num_rows()) {
        foreach(
$rs_pf->result() as $row_pf) {
            if(
$i >= $this->config->item("rg_max_row"))
                break;
            echo 
"<tr onmouseover=\"bgColor='".$this->config->item('tr_c_even')."'\" onmouseout=\"bgColor='".$this->config->item("rg_mouseout")."'\">";
?>
                <td align="center" onClick="ReturnValue('<?php echo $row_pf->prefixId;?>', '<?php echo $row_pf->prefixName;?>', '<?php echo strtoupper($row_pf->prefixNameEng);?>')"><span class="hand"><?php echo $i+1;?></span></td>
                <td class="indent" onClick="ReturnValue('<?php echo $row_pf->prefixId;?>', '<?php echo $row_pf->prefixName;?>', '<?php echo strtoupper($row_pf->prefixNameEng);?>')"><span class="hand"><?php echo $row_pf->prefixName;?></span></td>
                <td class="indent" onClick="ReturnValue('<?php echo $row_pf->prefixId;?>', '<?php echo $row_pf->prefixName;?>', '<?php echo strtoupper($row_pf->prefixNameEng);?>')"><span class="hand"><?php echo $row_pf->prefixNameEng;?></span></td>
                <td class="indent" onClick="ReturnValue('<?php echo $row_pf->prefixId;?>', '<?php echo $row_pf->prefixName;?>', '<?php echo strtoupper($row_pf->prefixNameEng);?>')"><span class="hand"><?php echo $row_pf->defaultSex;?></span></td>
            </tr>
<?php
            $i
++;
        }
    } else {
?>
            <tr>
                <td colspan="4" 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>
    <tr>
        <td><table class="mark">
            <tr>
                <td class="coltd_mark"><span class="error"><b>หมายเหตุ :</b></span></td>
                <td><span class="error">M หมายถึง ชาย</span></td>
            </tr>
            <tr>
                <td class="coltd_mark"></td>
                <td><span class="error">F หมายถึง หญิง</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.0068 ]--