!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_showSummary.php (15.29 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
        <td><br>
            <div align="center"><table width="100%" align="center" border="0" cellpadding="0" cellspacing="1">
                <tr>
                    <td align="center"><span class="h error"><b>รายงานประจำปี <?php echo $acY;?></span></td>
                </tr>
                <tr>
                    <td height="22" align="center"><span class="h error">ณ วันที่ <?php echo fullDate(getNowDateFw());?></span></td>
                </tr>
                <tr>
                    <td height="22"></td>
                </tr>
<?php
                
if ($summaryType1) {
?>
                <tr>
                    <td height="22"><font size="2" color="<?php //echo $GLOBALS["COLOR_FONT_4"];?>"><b>จำนวนนักศึกษาที่เข้าศึกษาในวิทยาลัย</b></font></td>
                </tr>
                <tr>
                    <td><table width="100%" class="headCol">
                        <tr bgcolor="<?php //echo $GLOBALS["COLOR_BG_TABLE_2"];?>">
                            <th><font size="2" color="<?php echo $font_color_table;?>"><b>หลักสูตร</b></font></th>
                            <th><font size="2" color="<?php echo $font_color_table;?>"><b>ปีการศึกษาที่เข้า</b></font></th>
                            <th><font size="2" color="<?php echo $font_color_table;?>"><b>ประเภททุน</b></font></th>
                            <th><font size="2" color="<?php echo $font_color_table;?>"><b>เพศ</b></font></th>
                            <th class="amtCol"><font size="2" color="<?php echo $font_color_table;?>"><b>จำนวนนักศึกษา</b></font></th>
                        </tr>
<?php
                        $i 
0;
                        foreach (
$rs_sm1->result() as $row_sm) {
                            echo 
"<tr onmouseover=\"bgColor='".$tr_color_even."'\" onmouseout=\"bgColor='".$this->config->item("rg_mouseout")."'\">";
?>
                            <td class="indent"><font size="2"><?php echo $row_sm->curName;?></font></td>
                            <td align="center"><font size="2"><?php echo $row_sm->smAdY;?></font></td>
                            <td class="indent"><font size="2"><?php echo $row_sm->etName;?></font></td>
                            <td align="center"><font size="2"><?php echo $row_sm->smStdSex;?></font></td>
                            <td align="right" class="indentR"><font size="2"><?php echo $row_sm->smNumAdmitSt;?></font></td>
                        </tr>
<?php
                            $i
++;
                        }

                        if (
$i == 0) {
?>
                        <tr>
                            <td height="22" colspan="5" align="center"><span class="error">** ไม่ปรากฏรายการในฐานข้อมูล **</span></td>
                        </tr>
<?php
                        
}
?>
                        <tr>
                            <td height="22" colspan="4" align="right" class="indentR"><font size="2"><b>รวมจำนวนนักศึกษา</b></font></td>
                            <td align="right" class="indentR"><font size="2"><b><?php echo number_format($sumNumAdmitSt);?></b></font></td>
                        </tr>
                    </table><br></td>
                </tr>
<?php
                
}

                if (
$summaryType2) {
?>
                <tr>
                    <td height="22"><font size="2" color="<?php //echo $GLOBALS["COLOR_FONT_4"];?>"><b>จำนวนนักศึกษาที่ศึกษาในวิทยาลัย/จำนวนนักศึกษาจำแนกรายหลักสูตรและชั้นปี</b></font></td>
                </tr>
                <tr>
                    <td><table width="100%" class="headCol">
                        <tr bgcolor="<?php //echo $GLOBALS["COLOR_BG_TABLE_2"];?>">
                            <th><font size="2" color="<?php echo $font_color_table;?>"><b>หลักสูตร</b></font></th>
                            <th><font size="2" color="<?php echo $font_color_table;?>"><b>ปีการศึกษาที่เข้า</b></font></th>
                            <th><font size="2" color="<?php echo $font_color_table;?>"><b>ชั้นปี</b></font></th>
                            <th><font size="2" color="<?php echo $font_color_table;?>"><b>ประเภททุน</b></font></th>
                            <th><font size="2" color="<?php echo $font_color_table;?>"><b>เพศ</b></font></th>
                            <th class="amtCol"><font size="2" color="<?php echo $font_color_table;?>"><b>จำนวนนักศึกษา</b></font></th>
                        </tr>
<?php
                        $i 
0;
                        foreach (
$rs_smy1->result() as $row_smy) {
                            echo 
"<tr onmouseover=\"bgColor='".$tr_color_even."'\" onmouseout=\"bgColor='".$this->config->item("rg_mouseout")."'\">";
?>
                            <td class="indent"><font size="2"><?php echo $row_smy->curName;?></font></td>
                            <td align="center"><font size="2"><?php echo $row_smy->smyAdY;?></font></td>
                            <td align="center"><font size="2"><?php echo $row_smy->syCode;?></font></td>
                            <td class="indent"><font size="2"><?php echo $row_smy->etName;?></font></td>
                            <td align="center"><font size="2"><?php echo $row_smy->smyStdSex;?></font></td>
                            <td align="right" class="indentR"><font size="2"><?php echo $row_smy->smyNumSt;?></font></td>
                        </tr>
<?php
                            $i
++;
                        }

                        if (
$i == 0) {
?>
                        <tr>
                            <td height="22" colspan="6" align="center"><span class="error">** ไม่ปรากฏรายการในฐานข้อมูล **</span></td>
                        </tr>
<?php
                        
}
?>
                        <tr bgcolor="<?php //echo $GLOBALS["COLOR_BG_TABLE_2"];?>">
                            <td height="22" colspan="5" align="right" class="indentR"><font size="2"><b>รวมจำนวนนักศึกษา</b></font></td>
                            <td align="right" class="indentR"><font size="2" color="<?php //echo $GLOBALS["COLOR_FONT_1"];?>"><b><?php echo number_format($sumNumSt);?></b></font></td>
                        </tr>
                    </table><br></td>
                </tr>
<?php
                
}

                if (
$summaryType3) {
?>
                <tr>
                    <td height="22"><font size="2" ><b>จำนวนนักศึกษาที่สำเร็จการศึกษาในแต่ละหลักสูตร</b></font></td>
                </tr>
                <tr>
                    <td><table width="100%" class="headCol">
                        <tr bgcolor="<?php //echo $GLOBALS["COLOR_BG_TABLE_2"];?>">
                            <th><font size="2" color="<?php echo $font_color_table;?>"><b>หลักสูตร</b></font></th>
                            <th><font size="2" color="<?php echo $font_color_table;?>"><b>ปีการศึกษาที่เข้า</b></font></th>
                            <th><font size="2" color="<?php echo $font_color_table;?>"><b>ชั้นปี</b></font></th>
                            <th><font size="2" color="<?php echo $font_color_table;?>"><b>ประเภททุน</b></font></th>
                            <th><font size="2" color="<?php echo $font_color_table;?>"><b>เพศ</b></font></th>
                            <th class="amtCol"><font size="2" color="<?php echo $font_color_table;?>"><b>จำนวนนักศึกษา</b></font></th>
                        </tr>
<?php
                        $i 
0;
                        foreach (
$rs_sm2->result() as $row_sm) {
                            echo 
"<tr onmouseover=\"bgColor='".$tr_color_even."'\" onmouseout=\"bgColor='".$this->config->item("rg_mouseout")."'\">";
?>
                            <td class="indent"><font size="2"><?php echo $row_sm->curName;?></font></td>
                            <td align="center"><font size="2"><?php echo $row_sm->smAdY;?></font></td>
                            <td align="center"><font size="2"><?php echo $row_sm->etName;?></font></td>
                            <td align="center"><font size="2"><?php echo $row_sm->smStdSex;?></font></td>
                            <td align="right" class="indentR"><font size="2" ><?php echo $row_sm->smNumGraduateSt;?></font></td>
                        </tr>
<?php
                            $i
++;
                        }

                        if(
$i == 0) {
?>
                        <tr>
                            <td height="22" colspan="5" align="center"><span class="error">** ไม่ปรากฏรายการในฐานข้อมูล **</span></td>
                        </tr>
<?php
                        
}
?>
                        <tr bgcolor="<?php //echo $GLOBALS["COLOR_BG_TABLE_2"];?>">
                            <td height="22" colspan="5" align="right" class="indentR"><font size="2" color="<?php //echo $GLOBALS["COLOR_FONT_1"];?>"><b>รวมจำนวนนักศึกษา</b></font></td>
                            <td align="right" class="indentR"><font size="2" color="<?php //echo $GLOBALS["COLOR_FONT_1"];?>"><b><?php echo number_format($sumNumGraduateSt);?></b></font></td>
                        </tr>
                    </table><br></td>
                </tr>
<?php
                
}

                if (
$summaryType4) {
?>
                <tr>
                    <td height="22"><font size="2" ><b>จำนวนผู้รับทุนของวิทยาลัย</b></font></td>
                </tr>
                <tr>
                    <td><table width="100%" class="headCol">
                        <tr bgcolor="<?php //echo $GLOBALS["COLOR_BG_TABLE_2"];?>">
                            <th><font size="2" color="<?php echo $font_color_table;?>"><b>หลักสูตร</b></font></th>
                            <th><font size="2" color="<?php echo $font_color_table;?>"><b>ปีการศึกษาที่เข้า</b></font></th>
                            <th><font size="2" color="<?php echo $font_color_table;?>"><b>ประเภททุน</b></font></th>
                            <th><font size="2" color="<?php echo $font_color_table;?>"><b>เพศ</b></font></th>
                            <th class="amtCol"><font size="2" color="<?php echo $font_color_table;?>"><b>จำนวนนักศึกษา</b></font></th>
                        </tr>
<?php
                        $i 
0;
                        foreach (
$rs_sm3->result() as $row_sm) {
                            echo 
"<tr onmouseover=\"bgColor='".$tr_color_even."'\" onmouseout=\"bgColor='".$this->config->item("rg_mouseout")."'\">";
?>
                            <td class="indent"><font size="2" ><?php echo $row_sm->curName;?></font></td>
                            <td align="center"><font size="2" ><?php echo $row_sm->smAdY;?></font></td>
                            <td class="indent"><font size="2" ><?php echo $row_sm->etName;?></font></td>
                            <td align="center"><font size="2" ><?php echo $row_sm->smStdSex;?></font></td>
                            <td align="right" class="indentR"><font size="2" ><?php echo $row_sm->smNumScholarSt;?></font></td>
                        </tr>
<?php
                            $i
++;
                        }

                        if (
$i == 0) {
?>
                        <tr>
                            <td height="22" colspan="5" align="center"><span class="error">** ไม่ปรากฏรายการในฐานข้อมูล **</span></td>
                        </tr>
<?php
                        
}
?>
                        <tr bgcolor="<?php //echo $GLOBALS["COLOR_BG_TABLE_2"];?>">
                            <td height="22" colspan="4" align="right" class="indentR"><font size="2" color="<?php //echo $GLOBALS["COLOR_FONT_1"];?>"><b>รวมจำนวนนักศึกษา</b></font></td>
                            <td align="right" class="indentR"><font size="2" color="<?php //echo $GLOBALS["COLOR_FONT_1"];?>"><b><?php echo number_format($sumNumScholarSt);?></b></font></td>
                        </tr>
                    </table><br></td>
                </tr>
<?php
                
}

                if (
$summaryType5) {
?>
                <tr>
                    <td height="22"><font size="2" ><b>จำนวนนักศึกษาที่ซ้ำชั้นในแต่ละหลักสูตรจำแนกรายชั้นปี</b></font></td>
                </tr>
                <tr>
                    <td><table width="100%" class="headCol">
                        <tr bgcolor="<?php //echo $GLOBALS["COLOR_BG_TABLE_2"];?>">
                            <th><font size="2" color="<?php echo $font_color_table;?>"><b>หลักสูตร</b></font></th>
                            <th><font size="2" color="<?php echo $font_color_table;?>"><b>ปีการศึกษาที่เข้า</b></font></th>
                            <th><font size="2" color="<?php echo $font_color_table;?>"><b>ชั้นปี</b></font></th>
                            <th><font size="2" color="<?php echo $font_color_table;?>"><b>ประเภททุน</b></font></th>
                            <th><font size="2" color="<?php echo $font_color_table;?>"><b>เพศ</b></font></th>
                            <th class="amtCol"><font size="2" color="<?php echo $font_color_table;?>"><b>จำนวนนักศึกษา</b></font></th>
                        </tr>
<?php
                        $i 
0;
                        foreach (
$rs_smy2->result() as $row_smy) {
                            echo 
"<tr onmouseover=\"bgColor='".$tr_color_even."'\" onmouseout=\"bgColor='".$this->config->item("rg_mouseout")."'\">";
?>
                            <td class="indent"><font size="2" ><?php echo $row_smy->curName;?></font></td>
                            <td align="center"><font size="2" ><?php echo $row_smy->smyAdY;?></font></td>
                            <td align="center"><font size="2" ><?php echo $row_smy->syCode;?></font></td>
                            <td class="indent"><font size="2" ><?php echo $row_smy->etName;?></font></td>
                            <td align="center"><font size="2" ><?php echo $row_smy->smyStdSex;?></font></td>
                            <td align="right" class="indentR"><font size="2" ><?php echo $row_smy->smyNumRepeatClassSt;?></font></td>
                        </tr>
<?php
                            $i
++;
                        }

                        if (
$i == 0) {
?>
                        <tr>
                            <td height="22" colspan="6" align="center"><span class="error">** ไม่ปรากฏรายการในฐานข้อมูล **</span></td>
                        </tr>
<?php
                        
}
?>
                        <tr bgcolor="<?php //echo $GLOBALS["COLOR_BG_TABLE_2"];?>">
                            <td height="22" colspan="5" align="right" class="indentR"><font size="2" color="<?php //echo $GLOBALS["COLOR_FONT_1"];?>"><b>รวมจำนวนนักศึกษา</b></font></td>
                            <td align="right" class="indentR"><font size="2" color="<?php //echo $GLOBALS["COLOR_FONT_1"];?>"><b><?php echo number_format($sumNumRepeatClassSt);?></b></font></td>
                        </tr>
                    </table><br></td>
                </tr>
<?php
                
}

                if (
$summaryType6) {
?>
                <tr>
                    <td height="22"><font size="2" ><b>จำนวนนักศึกษาที่ออกนอกระบบ (ตาย/ลาออก/ให้ออก)</b></font></td>
                </tr>
                <tr>
                    <td><table width="100%" class="headCol">
                        <tr bgcolor="<?php //echo $GLOBALS["COLOR_BG_TABLE_2"];?>">
                            <th><font size="2" color="<?php echo $font_color_table;?>"><b>หลักสูตร</b></font></th>
                            <th><font size="2" color="<?php echo $font_color_table;?>"><b>ปีการศึกษาที่เข้า</b></font></th>
                            <th><font size="2" color="<?php echo $font_color_table;?>"><b>ชั้นปี</b></font></th>
                            <th><font size="2" color="<?php echo $font_color_table;?>"><b>ประเภททุน</b></font></th>
                            <th><font size="2" color="<?php echo $font_color_table;?>"><b>เพศ</b></font></th>
                            <th class="amtCol"><font size="2" color="<?php echo $font_color_table;?>"><b>จำนวนนักศึกษา</b></font></th>
                        </tr>
<?php
                        $i 
0;
                        foreach (
$rs_smy2->result() as $row_smy) {
                            echo 
"<tr onmouseover=\"bgColor='".$tr_color_even."'\" onmouseout=\"bgColor='".$this->config->item("rg_mouseout")."'\">";
?>
                            <td class="indent"><font size="2" ><?php echo $row_smy->curName;?></font></td>
                            <td align="center"><font size="2" ><?php echo $row_smy->smyAdY;?></font></td>
                            <td align="center"><font size="2" ><?php echo $row_smy->syCode;?></font></td>
                            <td class="indent"><font size="2" ><?php echo $row_smy->etName;?></font></td>
                            <td align="center"><font size="2" ><?php echo $row_smy->smyStdSex;?></font></td>
                            <td align="right" class="indentR"><font size="2" ><?php echo $row_smy->smyNumOutSt;?></font></td>
                        </tr>
<?php
                            $i
++;
                        }

                        if (
$i == 0) {
?>
                        <tr>
                            <td height="22" colspan="6" align="center"><span class="error">** ไม่ปรากฏรายการในฐานข้อมูล **</span></td>
                        </tr>
<?php
                        
}
?>
                        <tr bgcolor="<?php //echo $GLOBALS["COLOR_BG_TABLE_2"];?>">
                            <td height="22" colspan="5" align="right" class="indentR"><font size="2" color="<?php //echo $GLOBALS["COLOR_FONT_1"];?>"><b>รวมจำนวนนักศึกษา</b></font></td>
                            <td align="right" class="indentR"><font size="2" color="<?php //echo $GLOBALS["COLOR_FONT_1"];?>"><b><?php echo number_format($sumNumOutSt);?></b></font></td>
                        </tr>
                    </table><br></td>
                </tr>
<?php
                
}
?>
            </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.0136 ]--