!C99Shell v. 2.1 [PHP 8 Update] [02.02.2022]!

Software: Apache/2.4.53 (Unix) OpenSSL/1.1.1o PHP/7.4.29 mod_perl/2.0.12 Perl/v5.34.1. PHP/7.4.29 

uname -a: Linux vps-2738122-x 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 

uid=1(daemon) gid=1(daemon) grupos=1(daemon) 

Safe-mode: OFF (not secure)

/opt/apex_led/php/vendor/ircmaxell/security-lib/lib/SecurityLib/   drwxrwxr-x
Free 11.54 GB of 61.93 GB (18.63%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     Enum.php (3.21 KB)      -rwxrwxr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
 * The Enum base class for Enum functionality
 *
 * PHP version 5.3
 *
 * @category   PHPPasswordLib
 * @package    Core
 * @author     Anthony Ferrara <ircmaxell@ircmaxell.com>
 * @copyright  2011 The Authors
 * @license    http://www.opensource.org/licenses/mit-license.html  MIT License
 * @version    Build @@version@@
 */
namespace SecurityLib;

use \
ReflectionObject;

/**
 * The Enum base class for Enum functionality
 *
 * This is based off of the SplEnum class implementation (which is only available
 * as a PECL extension in 5.3)
 *
 * @see        http://www.php.net/manual/en/class.splenum.php
 * @category   PHPPasswordLib
 * @package    Core
 * @author     Anthony Ferrara <ircmaxell@ircmaxell.com>
 */
abstract class Enum {

    
/**
     * A default value of null is provided.  Override this to set your own default
     */
    
const __DEFAULT null;

    
/**
     * @var string The name of the constant this instance is using
     */
    
protected $name '';

    
/**
     * @var scalar The value of the constant this instance is using.
     */
    
protected $value '';

    
/**
     * Creates a new value of the Enum type
     *
     * @param mixed   $value  The value this instance represents
     * @param boolean $strict Not Implemented at this time
     *
     * @return void
     * @throws UnexpectedValueException If the value is not a constant
     */
    
public function __construct($value null$strict false) {
        if (
is_null($value)) {
            
$value = static::__DEFAULT;
        }
        
$validValues $this->getConstList();
        
$this->name  array_search($value$validValues);
        if (!
$this->name) {
            throw new \
UnexpectedValueException(
                
'Value not a const in enum ' get_class($this)
            );
        }
        
$this->value $value;
    }

    
/**
     * Cast the current object to a string and return its value
     *
     * @return mixed the current value of the instance
     */
    
public function __toString() {
        return (string) 
$this->value;
    }

    
/**
     * Compare two enums using numeric comparison
     *
     * @param Enum $arg The enum to compare this instance to
     *
     * @return int 0 if same, 1 if the argument is greater, -1 else
     */
    
public function compare(Enum $arg) {
        if (
$this->value == $arg->value) {
            return 
0;
        } elseif (
$this->value $arg->value) {
            return -
1;
        } else {
            return 
1;
        }
    }

    
/**
     * Returns all constants (including values) as an associative array
     *
     * @param boolean $include_default Include the __default magic value?
     *
     * @return array All of the constants found against this instance
     */
    
public function getConstList($include_default false) {
        static 
$constCache = array();
        
$class             get_class($this);
        if (!isset(
$constCache[$class])) {
            
$reflector          = new ReflectionObject($this);
            
$constCache[$class] = $reflector->getConstants();
        }
        if (!
$include_default) {
            
$constants $constCache[$class];
            unset(
$constants['__DEFAULT']);
            return 
$constants;
        }
        return 
$constCache[$class];
    }

}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

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

--[ c99shell v. 2.1 [PHP 8 Update] [02.02.2022] maintained byC99Shell Github | Generation time: 0.8163 ]--