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


Viewing file:     Instantiator.php (3.84 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;

use 
Symfony\Component\VarExporter\Exception\ExceptionInterface;
use 
Symfony\Component\VarExporter\Exception\NotInstantiableTypeException;
use 
Symfony\Component\VarExporter\Internal\Hydrator;
use 
Symfony\Component\VarExporter\Internal\Registry;

/**
 * A utility class to create objects without calling their constructor.
 *
 * @author Nicolas Grekas <[email protected]>
 */
final class Instantiator
{
    
/**
     * Creates an object and sets its properties without calling its constructor nor any other methods.
     *
     * For example:
     *
     *     // creates an empty instance of Foo
     *     Instantiator::instantiate(Foo::class);
     *
     *     // creates a Foo instance and sets one of its properties
     *     Instantiator::instantiate(Foo::class, ['propertyName' => $propertyValue]);
     *
     *     // creates a Foo instance and sets a private property defined on its parent Bar class
     *     Instantiator::instantiate(Foo::class, [], [
     *         Bar::class => ['privateBarProperty' => $propertyValue],
     *     ]);
     *
     * Instances of ArrayObject, ArrayIterator and SplObjectHash can be created
     * by using the special "\0" property name to define their internal value:
     *
     *     // creates an SplObjectHash where $info1 is attached to $obj1, etc.
     *     Instantiator::instantiate(SplObjectStorage::class, ["\0" => [$obj1, $info1, $obj2, $info2...]]);
     *
     *     // creates an ArrayObject populated with $inputArray
     *     Instantiator::instantiate(ArrayObject::class, ["\0" => [$inputArray]]);
     *
     * @param string $class             The class of the instance to create
     * @param array  $properties        The properties to set on the instance
     * @param array  $privateProperties The private properties to set on the instance,
     *                                  keyed by their declaring class
     *
     * @throws ExceptionInterface When the instance cannot be created
     */
    
public static function instantiate(string $class, array $properties = [], array $privateProperties = []): object
    
{
        
$reflector Registry::$reflectors[$class] ?? Registry::getClassReflector($class);

        if (
Registry::$cloneable[$class]) {
            
$wrappedInstance = [clone Registry::$prototypes[$class]];
        } elseif (
Registry::$instantiableWithoutConstructor[$class]) {
            
$wrappedInstance = [$reflector->newInstanceWithoutConstructor()];
        } elseif (
null === Registry::$prototypes[$class]) {
            throw new 
NotInstantiableTypeException($class);
        } elseif (
$reflector->implementsInterface('Serializable') && (\PHP_VERSION_ID 70400 || !method_exists($class'__unserialize'))) {
            
$wrappedInstance = [unserialize('C:'.\strlen($class).':"'.$class.'":0:{}')];
        } else {
            
$wrappedInstance = [unserialize('O:'.\strlen($class).':"'.$class.'":0:{}')];
        }

        if (
$properties) {
            
$privateProperties[$class] = isset($privateProperties[$class]) ? $properties $privateProperties[$class] : $properties;
        }

        foreach (
$privateProperties as $class => $properties) {
            if (!
$properties) {
                continue;
            }
            foreach (
$properties as $name => $value) {
                
// because they're also used for "unserialization", hydrators
                // deal with array of instances, so we need to wrap values
                
$properties[$name] = [$value];
            }
            (
Hydrator::$hydrators[$class] ?? Hydrator::getHydrator($class))($properties$wrappedInstance);
        }

        return 
$wrappedInstance[0];
    }
}

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