!C99Shell v. 1.0 pre-release build #13!

Software: Apache. PHP/5.5.15 

uname -a: Windows NT SVR-DMZ 6.1 build 7600 (Windows Server 2008 R2 Enterprise Edition) i586 

SYSTEM 

Safe-mode: OFF (not secure)

C:\dmz\php\pear\Math\   drwxrwxrwx
Free 4.13 GB of 39.52 GB (10.45%)
Detected drives: [ a ] [ c ] [ d ] [ e ] [ f ]
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     Finance_FunctionParameters.php (1.35 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
 * Singleton class to preserve given values of other variables in the callback functions
 */
class Math_Finance_FunctionParameters
{
    var 
$parameters = array();

    
/**
    * Constructor. Should be private, so used little hack.
    *
    * @param bool       Whether constructor has been called from a method of the class
    * @param array      Parameters (variables values of the function) to be preserved
    * @access private
    */
    
function Math_Finance_FunctionParameters($called_from_get_instance False$parameters = array())
    {
        
// PHP4 hack
        
if (!$called_from_get_instance)
            
trigger_error("Cannot instantiate Math_Finance_FunctionParameters class directly (It's a Singleton)"E_USER_ERROR);
        
        foreach (
$parameters as $name => $value) {
            
$this->parameters[$name] = $value;
        }
    }

    
/**
    * Method to be called statically to create Singleton
    *
    * @param array      Parameters (variables values of the function) to be preserved
    * @param bool       Whether the Singleton should be reset
    * @static
    * @access public
    */
    
function &getInstance($parameters = array(), $reset False)
    {
        static 
$singleton;

        if (
$reset$singleton null;

        if (!
is_object($singleton)) {
            
$singleton = new Math_Finance_FunctionParameters(True$parameters);
        }

        return 
$singleton;
    }
}
?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 1.0 pre-release build #13 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0156 ]--