!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/multirest.picotech.app/public_html/vendor/league/flysystem/src/   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:     Handler.php (2.53 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

namespace League\Flysystem;

use 
BadMethodCallException;

/**
 * @deprecated
 */
abstract class Handler
{
    
/**
     * @var string
     */
    
protected $path;

    
/**
     * @var FilesystemInterface
     */
    
protected $filesystem;

    
/**
     * Constructor.
     *
     * @param FilesystemInterface $filesystem
     * @param string              $path
     */
    
public function __construct(FilesystemInterface $filesystem null$path null)
    {
        
$this->path $path;
        
$this->filesystem $filesystem;
    }

    
/**
     * Check whether the entree is a directory.
     *
     * @return bool
     */
    
public function isDir()
    {
        return 
$this->getType() === 'dir';
    }

    
/**
     * Check whether the entree is a file.
     *
     * @return bool
     */
    
public function isFile()
    {
        return 
$this->getType() === 'file';
    }

    
/**
     * Retrieve the entree type (file|dir).
     *
     * @return string file or dir
     */
    
public function getType()
    {
        
$metadata $this->filesystem->getMetadata($this->path);

        return 
$metadata $metadata['type'] : 'dir';
    }

    
/**
     * Set the Filesystem object.
     *
     * @param FilesystemInterface $filesystem
     *
     * @return $this
     */
    
public function setFilesystem(FilesystemInterface $filesystem)
    {
        
$this->filesystem $filesystem;

        return 
$this;
    }
    
    
/**
     * Retrieve the Filesystem object.
     *
     * @return FilesystemInterface
     */
    
public function getFilesystem()
    {
        return 
$this->filesystem;
    }

    
/**
     * Set the entree path.
     *
     * @param string $path
     *
     * @return $this
     */
    
public function setPath($path)
    {
        
$this->path $path;

        return 
$this;
    }

    
/**
     * Retrieve the entree path.
     *
     * @return string path
     */
    
public function getPath()
    {
        return 
$this->path;
    }

    
/**
     * Plugins pass-through.
     *
     * @param string $method
     * @param array  $arguments
     *
     * @return mixed
     */
    
public function __call($method, array $arguments)
    {
        
array_unshift($arguments$this->path);
        
$callback = [$this->filesystem$method];

        try {
            return 
call_user_func_array($callback$arguments);
        } catch (
BadMethodCallException $e) {
            throw new 
BadMethodCallException(
                
'Call to undefined method '
                
get_called_class()
                . 
'::' $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.004 ]--