!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: nginx/1.23.4. PHP/5.6.40-65+ubuntu20.04.1+deb.sury.org+1 

uname -a: Linux foro-restaurado-2 5.15.0-1040-oracle #46-Ubuntu SMP Fri Jul 14 21:47:21 UTC 2023
aarch64
 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/usr/share/php/Symfony/Component/VarExporter/Internal/   drwxr-xr-x
Free 83.25 GB of 96.73 GB (86.07%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     Registry.php (5.56 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

/*
 * This file is part of the Symfony package.
 *
 * (c) Fabien Potencier <[email protected]>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Symfony\Component\VarExporter\Internal;

use 
Symfony\Component\VarExporter\Exception\ClassNotFoundException;
use 
Symfony\Component\VarExporter\Exception\NotInstantiableTypeException;

/**
 * @author Nicolas Grekas <[email protected]>
 *
 * @internal
 */
class Registry
{
    public static 
$reflectors = [];
    public static 
$prototypes = [];
    public static 
$factories = [];
    public static 
$cloneable = [];
    public static 
$instantiableWithoutConstructor = [];

    public 
$classes = [];

    public function 
__construct(array $classes)
    {
        
$this->classes $classes;
    }

    public static function 
unserialize($objects$serializables)
    {
        
$unserializeCallback ini_set('unserialize_callback_func'__CLASS__.'::getClassReflector');

        try {
            foreach (
$serializables as $k => $v) {
                
$objects[$k] = unserialize($v);
            }
        } finally {
            
ini_set('unserialize_callback_func'$unserializeCallback);
        }

        return 
$objects;
    }

    public static function 
p($class)
    {
        
self::getClassReflector($classtruetrue);

        return 
self::$prototypes[$class];
    }

    public static function 
f($class)
    {
        
$reflector self::$reflectors[$class] ?? self::getClassReflector($classtruefalse);

        return 
self::$factories[$class] = \Closure::fromCallable([$reflector'newInstanceWithoutConstructor']);
    }

    public static function 
getClassReflector($class$instantiableWithoutConstructor false$cloneable null)
    {
        if (!(
$isClass class_exists($class)) && !interface_exists($classfalse) && !trait_exists($classfalse)) {
            throw new 
ClassNotFoundException($class);
        }
        
$reflector = new \ReflectionClass($class);

        if (
$instantiableWithoutConstructor) {
            
$proto $reflector->newInstanceWithoutConstructor();
        } elseif (!
$isClass || $reflector->isAbstract()) {
            throw new 
NotInstantiableTypeException($class);
        } elseif (
$reflector->name !== $class) {
            
$reflector self::$reflectors[$name $reflector->name] ?? self::getClassReflector($namefalse$cloneable);
            
self::$cloneable[$class] = self::$cloneable[$name];
            
self::$instantiableWithoutConstructor[$class] = self::$instantiableWithoutConstructor[$name];
            
self::$prototypes[$class] = self::$prototypes[$name];

            return 
self::$reflectors[$class] = $reflector;
        } else {
            try {
                
$proto $reflector->newInstanceWithoutConstructor();
                
$instantiableWithoutConstructor true;
            } catch (\
ReflectionException $e) {
                
$proto $reflector->implementsInterface('Serializable') && !method_exists($class'__unserialize') ? 'C:' 'O:';
                if (
'C:' === $proto && !$reflector->getMethod('unserialize')->isInternal()) {
                    
$proto null;
                } else {
                    try {
                        
$proto = @unserialize($proto.\strlen($class).':"'.$class.'":0:{}');
                    } catch (\
Exception $e) {
                        if (
__FILE__ !== $e->getFile()) {
                            throw 
$e;
                        }
                        throw new 
NotInstantiableTypeException($class$e);
                    }
                    if (
false === $proto) {
                        throw new 
NotInstantiableTypeException($class);
                    }
                }
            }
            if (
null !== $proto && !$proto instanceof \Throwable && !$proto instanceof \Serializable && !method_exists($class'__sleep') && (\PHP_VERSION_ID 70400 || !method_exists($class'__serialize'))) {
                try {
                    
serialize($proto);
                } catch (\
Exception $e) {
                    throw new 
NotInstantiableTypeException($class$e);
                }
            }
        }

        if (
null === $cloneable) {
            if ((
$proto instanceof \Reflector || $proto instanceof \ReflectionGenerator || $proto instanceof \ReflectionType || $proto instanceof \IteratorIterator || $proto instanceof \RecursiveIteratorIterator) && (!$proto instanceof \Serializable && !method_exists($proto'__wakeup') && (\PHP_VERSION_ID 70400 || !method_exists($class'__unserialize')))) {
                throw new 
NotInstantiableTypeException($class);
            }

            
$cloneable $reflector->isCloneable() && !$reflector->hasMethod('__clone');
        }

        
self::$cloneable[$class] = $cloneable;
        
self::$instantiableWithoutConstructor[$class] = $instantiableWithoutConstructor;
        
self::$prototypes[$class] = $proto;

        if (
$proto instanceof \Throwable) {
            static 
$setTrace;

            if (
null === $setTrace) {
                
$setTrace = [
                    new \
ReflectionProperty(\Error::class, 'trace'),
                    new \
ReflectionProperty(\Exception::class, 'trace'),
                ];
                
$setTrace[0]->setAccessible(true);
                
$setTrace[1]->setAccessible(true);
                
$setTrace[0] = \Closure::fromCallable([$setTrace[0], 'setValue']);
                
$setTrace[1] = \Closure::fromCallable([$setTrace[1], 'setValue']);
            }

            
$setTrace[$proto instanceof \Exception]($proto, []);
        }

        return 
self::$reflectors[$class] = $reflector;
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

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

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

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by HackingTool | HackingTool | Generation time: 0.0053 ]--