!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_tdfonline/php/3ros/guzzle/guzzle/guzzle/src/Guzzle/Service/Builder/   drwxr-xr-x
Free 13.77 GB of 61.93 GB (22.24%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


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

namespace Guzzle\Service\Builder;

use 
Guzzle\Service\AbstractConfigLoader;
use 
Guzzle\Service\Exception\ServiceNotFoundException;

/**
 * Service builder config loader
 */
class ServiceBuilderLoader extends AbstractConfigLoader
{
    protected function 
build($config, array $options)
    {
        
// A service builder class can be specified in the class field
        
$class = !empty($config['class']) ? $config['class'] : __NAMESPACE__ '\\ServiceBuilder';

        
// Account for old style configs that do not have a services array
        
$services = isset($config['services']) ? $config['services'] : $config;

        
// Validate the configuration and handle extensions
        
foreach ($services as $name => &$service) {

            
$service['params'] = isset($service['params']) ? $service['params'] : array();

            
// Check if this client builder extends another client
            
if (!empty($service['extends'])) {

                
// Make sure that the service it's extending has been defined
                
if (!isset($services[$service['extends']])) {
                    throw new 
ServiceNotFoundException(
                        
"{$name} is trying to extend a non-existent service: {$service['extends']}"
                    
);
                }

                
$extended = &$services[$service['extends']];

                
// Use the correct class attribute
                
if (empty($service['class'])) {
                    
$service['class'] = isset($extended['class']) ? $extended['class'] : '';
                }
                if (
$extendsParams = isset($extended['params']) ? $extended['params'] : false) {
                    
$service['params'] = $service['params'] + $extendsParams;
                }
            }

            
// Overwrite default values with global parameter values
            
if (!empty($options)) {
                
$service['params'] = $options $service['params'];
            }

            
$service['class'] = isset($service['class']) ? $service['class'] : '';
        }

        return new 
$class($services);
    }

    protected function 
mergeData(array $a, array $b)
    {
        
$result $b $a;

        
// Merge services using a recursive union of arrays
        
if (isset($a['services']) && $b['services']) {

            
// Get a union of the services of the two arrays
            
$result['services'] = $b['services'] + $a['services'];

            
// Merge each service in using a union of the two arrays
            
foreach ($result['services'] as $name => &$service) {

                
// By default, services completely override a previously defined service unless it extends itself
                
if (isset($a['services'][$name]['extends'])
                    && isset(
$b['services'][$name]['extends'])
                    && 
$b['services'][$name]['extends'] == $name
                
) {
                    
$service += $a['services'][$name];
                    
// Use the `extends` attribute of the parent
                    
$service['extends'] = $a['services'][$name]['extends'];
                    
// Merge parameters using a union if both have parameters
                    
if (isset($a['services'][$name]['params'])) {
                        
$service['params'] += $a['services'][$name]['params'];
                    }
                }
            }
        }

        return 
$result;
    }
}

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