!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_studentTable.php (3.83 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<script language="javascript">
function get_studentBycur(curId,eleName,seed){    
        var url = "<?=site_url($this->config->item('rg_folder')."officer/get_studentBycur")?>"+"/"+curId+"/"+seed;
        xmlhttp = newXmlHttp();
        xmlhttp.open("GET", url, false);
        xmlhttp.send(null); 

        document.getElementById("ele_"+eleName).innerHTML = xmlhttp.responseText;
}
</script>
<?php
//echo $prsId."<<<<<<<<<<";
//include_once "../link/function.php";
//include_once "../class/clsProgram.php";
//include_once "../class/clsStudentMaster.php";
//include_once "../class/clsPrefix.php";
//
//$conn = new Connection();
//
//$oPg = new Program();
//$oSm = new StudentMaster();
//$oPf = new Prefix();
//
//doCheckAll();
////********************************************
//// if method edit
////********************************************
//if($method=="edit") {
//    $conn->BeginTrans();
//    for($i=0; $i<$cnt; $i++) {
//        if($studentId[$i]) {
//            $oSm->SearchByKey($studentId[$i]);
//            $oSm->GetRecord();
//            $oSm->Edit();
//            $oSm->officerId1 = $officerId;
//            if(is_null($oSm->officerId2))
//                $oSm->officerId2 = 'NULL';
//            $oSm->updateUserId = $updateUserId;
//            $oSm->updateDateTime = date('Y-m-d H:i:s');
//            if(is_null($oSm->citizenId))
//                $oSm->citizenId = 'NULL';
//            if(is_null($oSm->preAdmitPositionId))
//                $oSm->preAdmitPositionId = 'NULL';
//            $oSm->Save();
//        }
//    }
//    $conn->CommitTrans();
?>
<script language="javascript1.2">
    window.opener.location.href="index.php?officerId=<?php echo $officerId;?>";
    window.close();
</script>
<?php
//}
//********************************************
?>
<html>
<head>
<title>ตารางนักศึกษา</title>
<meta http-equiv="Content-Type" content="text/html; charset=tis-620">
</head>
<body bgcolor="#FFFFFF">
<?php
$attributes 
= array('id' => 'my_form1''class' => 'chkBeforeSubmit');
echo 
form_open($this->config->item('rg_folder').'officer/studentTable_save'$attributes);
?>
<table width="100%" border="0" cellspacing="1" cellpadding="1">
    <tr>
        <td colspan="3" align="center"><font size="2"><b>หลักสูตร</b></font>: 
    <?php echo form_dropdown('curId'$rs_cur,set_value('curId'), " id='curId' onchange=\"get_studentBycur(this.value,'stdId','".rand()."')\"");?>
    <font size="2" color="<?php echo $font_color_err;?>">*</font>
    <br /><?php echo form_error('curId');?></td>
    </tr>
    <tr>
        <td colspan="3">
            <span id="ele_stdId">
                <table width="100%">
                    <tr bgcolor="#0066CC"> 
                        <td width="20%" align="center"><font size="2" color="#FFFFFF"><b>เลือก</b></font></td>
                        <td width="25%" align="center"><font size="2" color="#FFFFFF"><b>รหัสนักศึกษา</b></font></td>
                        <td width="55%" align="center"><font size="2" color="#FFFFFF"><b>ชื่อ-สกุลนักศึกษา</b></font></td>
                    </tr>    
                </table>
            </span>
        </td>
    </tr>
    <tr bgcolor="#CCCCCC">
        <td colspan="3"><input type="button" name="selectAll" value="เลือกทั้งหมด" onClick="doCheckAll(this.form,true);">
        <input type="reset" name="cancelAll" value="ยกเลิกทั้งหมด" onClick="doCheckAll(this.form,false);"></td>
    </tr>
    <tr>
        <td align="center" colspan="3"><input type="submit" name="edit" value="บันทึก">
        <input type="button" name="cancel" value="ยกเลิก" onClick="window.close()">
        <input type="hidden" name="method" value="edit">
        <input type="hidden" name="prsId" id="prsId" value="<?php echo $prsId;?>">
        <input type="hidden" name="AcY" id="AcY" value="<?php echo $this->session->userdata('acY_R');?>"></td>
    </tr>    
    <tr>
        <td align="center" colspan="3"><a href="#" onClick="window.close()"><font size="1">[ปิดหน้าต่าง]</font></a></td>
    </tr>
</table>
<?php echo form_close();?>
</body>
</html>

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