!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/esa/   drwxr-xr-x
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_pop_search_std.php (2.33 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<script language="JavaScript"><!--
function ReturnValue(psid,pscode,psname)
{
    window.opener.document.myform.elements["std_id"].value = psid;
//    window.opener.document.myform.elements["ps_code"].value = pscode;
    window.opener.document.myform.elements["std_name"].value = psname;
    window.close();
}
//-->
</script>
<?php echo form_open("esa/search/search_std", array("name" => "myform""id" => "myform")); ?>
<table class='tb_1' border="0" width="100%" >
    <tr>
        <td colspan="3">
        <b>รหัสนักศึกษา : <input type="text" name="code_search" value="" size="10" maxlength="10" /><br>
        <b>ชื่อ : <input type="text" name="name_search" value="" size="10" maxlength="30" />
        ชื่อสกุล : <input type="text" name="lname_search" value="" size="10" maxlength="30" />
        <input type="submit" name="search" value="ค้นหา">
        </td>
    </tr>
    <tr>
        <td>&nbsp;</td>
    </tr>
    <tr>
        <td colspan="3"><font size="1" color="#808080" > ** คลิ้กที่ชื่อ-สกุล เพื่อเพิ่มรายการ</td>
    </tr>
    <tr class='light'>
      <th align=center width="15%">ลำดับ</th> 
      <th align=center width="20%">รหัสนักศึกษา</th> 
      <th align=center >ชื่อ - สกุล</th>
    </tr>


<?php
   
if(isset($std)){
    if(
$std->num_rows() > 0){
    
$seq 1;
    foreach (
$std->result() as $row){
        if(
$seq%2==0)
            
$class 'light3';
        else
            
$class 'light2';
?>  
    <tr class=<?=$class?>>
        <td align="center"><?=$seq?></td>
        <td align="center"><?=$row->stdCode?></td>
        <td onClick="ReturnValue('<?=$row->stdId?>','<?=$row->stdCode?>','<?=$row->stdName.'  '.$row->stdSurname;?>')" onMouseOver="this.style.cursor='pointer'"><?php echo $row->stdName.'  '.$row->stdSurname?></td>
    </tr>
<?      $seq++; 
    }   }else{   
?>
    <tr >
      <td colspan="3" align="center" bgcolor="#D1DCF3">ไม่พบรายชื่อนักศึกษา</td> 
    </tr>
<?  }
}else{   
?>
    <tr >
      <td colspan="3" align="center" bgcolor="#D1DCF3">ไม่พบรายชื่อนักศึกษา</td> 
    </tr>
<?  }?>
</table>
<?php echo form_close();?>

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