!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/Responses/   drwxr-xr-x
Free 28.39 GB of 117.98 GB (24.07%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace League\Glide\Responses;

use 
Closure;
use 
League\Flysystem\FilesystemOperator;
use 
Psr\Http\Message\ResponseInterface;

class 
PsrResponseFactory implements ResponseFactoryInterface
{
    
/**
     * Base response object.
     *
     * @var ResponseInterface
     */
    
protected $response;

    
/**
     * Callback to create stream.
     *
     * @var Closure
     */
    
protected $streamCallback;

    
/**
     * Create PsrResponseFactory instance.
     *
     * @param ResponseInterface $response       Base response object.
     * @param Closure           $streamCallback Callback to create stream.
     */
    
public function __construct(ResponseInterface $responseClosure $streamCallback)
    {
        
$this->response $response;
        
$this->streamCallback $streamCallback;
    }

    
/**
     * Create response.
     *
     * @param FilesystemOperator $cache Cache file system.
     * @param string             $path  Cached file path.
     *
     * @return ResponseInterface Response object.
     */
    
public function create(FilesystemOperator $cache$path)
    {
        
$stream $this->streamCallback->__invoke(
            
$cache->readStream($path)
        );

        
$contentType $cache->mimeType($path);
        
$contentLength = (string) $cache->fileSize($path);
        
$cacheControl 'max-age=31536000, public';
        
$expires date_create('+1 years')->format('D, d M Y H:i:s').' GMT';

        return 
$this->response->withBody($stream)
            ->
withHeader('Content-Type'$contentType)
            ->
withHeader('Content-Length'$contentLength)
            ->
withHeader('Cache-Control'$cacheControl)
            ->
withHeader('Expires'$expires);
    }
}

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