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

namespace Livewire;

use 
Illuminate\Support\Str;

class 
LivewireBladeDirectives
{
    public static function 
this()
    {
        return 
"window.livewire.find('{{ \$_instance->id }}')";
    }

    public static function 
entangle($expression)
    {
        return <<<EOT
<?php if ((object) ({$expression}) instanceof \Livewire\WireDirective) : ?>window.Livewire.find('{{ \$_instance->id }}').entangle('{{ {$expression}->value() }}'){{ {$expression}->hasModifier('defer') ? '.defer' : '' }}<?php else : ?>window.Livewire.find('{{ \$_instance->id }}').entangle('{{ {$expression} }}')<?php endif; ?>
EOT;
    }

    public static function 
js($expression)
    {
        return <<<EOT
<?php
    if (is_object(
{$expression}) || is_array({$expression})) {
        echo "JSON.parse(atob('".base64_encode(json_encode(
{$expression}))."'))";
    } elseif (is_string(
{$expression})) {
        echo "'".str_replace("'", "\'", 
{$expression})."'";
    } else {
        echo json_encode(
{$expression});
    }
?>
EOT;
    }

    public static function 
livewireStyles($expression)
    {
        return 
'{!! \Livewire\Livewire::styles('.$expression.') !!}';
    }

    public static function 
livewireScripts($expression)
    {
        return 
'{!! \Livewire\Livewire::scripts('.$expression.') !!}';
    }

    public static function 
livewire($expression)
    {
        
$cachedKey "'" Str::random(7) . "'";

        
// If we are inside a Livewire component, we know we're rendering a child.
        // Therefore, we must create a more deterministic view cache key so that
        // Livewire children are properly tracked across load balancers.
        
if (LivewireManager::$currentCompilingViewPath !== null) {
            
// $cachedKey = '[hash of Blade view path]-[current @livewire directive count]'
            
$cachedKey "'l" crc32(LivewireManager::$currentCompilingViewPath) . "-" LivewireManager::$currentCompilingChildCounter "'";

            
// We'll increment count, so each cache key inside a compiled view is unique.
            
LivewireManager::$currentCompilingChildCounter++;
        } 

        
$pattern "/,\s*?key\(([\s\S]*)\)/"//everything between ",key(" and ")"
        
$expression preg_replace_callback($pattern, function ($match) use (&$cachedKey) {
            
$cachedKey trim($match[1]) ?: $cachedKey;
            return 
"";
        }, 
$expression);

        return <<<EOT
<?php
if (! isset(\$_instance)) {
    \$html = \Livewire\Livewire::mount(
{$expression})->html();
} elseif (\$_instance->childHasBeenRendered(
$cachedKey)) {
    \$componentId = \$_instance->getRenderedChildComponentId(
$cachedKey);
    \$componentTag = \$_instance->getRenderedChildComponentTagName(
$cachedKey);
    \$html = \Livewire\Livewire::dummyMount(\$componentId, \$componentTag);
    \$_instance->preserveRenderedChild(
$cachedKey);
} else {
    \$response = \Livewire\Livewire::mount(
{$expression});
    \$html = \$response->html();
    \$_instance->logRenderedChild(
$cachedKey, \$response->id(), \Livewire\Livewire::getRootElementTagName(\$html));
}
echo \$html;
?>
EOT;
    }

    public static function 
stack($name$default '') {
        
$expression rtrim("{$name}{$default}"', ');

        return 
"
            <template livewire-stack=\"<?php echo 
{$name}; ?>\"></template>
            <?php echo \$__env->yieldPushContent(
$expression); ?>
            <template livewire-end-stack=\"<?php echo 
{$name}; ?>\"></template>
        "
;
    }

    public static function 
once($id null) {
        
$id $id ?: "'".(string) Str::uuid()."'";

        return 
"<?php
            if (isset(\$_instance)) \$__stack_once = true;

            if (! \$__env->hasRenderedOnce(
{$id})): \$__env->markAsRenderedOnce({$id});
        ?>"
;
    }

    public static function 
endonce() {
        return 
"<?php
            endif;

            if (isset(\$_instance) && isset(\$__stack_once)) unset(\$__stack_once);
        ?>"
;
    }

    public static function 
push($name$content '') {
        
$randomKey Str::random(9);
        
$expression rtrim("{$name}{$content}"', ');

        return 
"<?php
            if (isset(\$_instance)) {
                \$__stack_item_key = isset(\$__stack_once) ? crc32(\$__path) : '
{$randomKey}';

                \$__env->startPush(
{$expression});

                \$__stack_name = 
{$name};

                ob_start();

                echo '<template livewire-stack-key=\"'.\$__stack_item_key.'\"></template>';
            } else {
                \$__env->startPush(
{$expression});
            }
        ?>"
;
    }

    public static function 
prepend($name$content '') {
        
$randomKey Str::random(9);
        
$expression rtrim("{$name}{$content}"', ');

        return 
"<?php
            if (isset(\$_instance)) {
                \$__stack_item_key = isset(\$__stack_once) ? crc32(\$__path) : '
{$randomKey}';

                \$__env->startPrepend(
{$expression});

                \$__stack_name = 
{$name};

                ob_start();

                echo '<template livewire-stack-key=\"'.\$__stack_item_key.'\"></template>';
            } else {
                \$__env->startPrepend(
{$expression});
            }
        ?>"
;
    }

    public static function 
endpush() {
        return 
"<?php
            if (isset(\$_instance)) {
                \$__contents = ob_get_clean();

                \$_instance->addToStack(\$__stack_name, 'push', \$__contents, \$__stack_item_key);

                echo \$__contents;
                unset(\$__contents);

                unset(\$__stack_item_key);
                unset(\$__stack_name);

                \$__env->stopPush();
            } else {
                \$__env->stopPush();
            }
        ?>"
;
    }

    public static function 
endprepend() {
        return 
"<?php
            if (isset(\$_instance)) {
                \$__contents = ob_get_clean();

                \$_instance->addToStack(\$__stack_name, 'prepend', \$__contents, \$__stack_item_key);

                echo \$__contents;
                unset(\$__contents);

                unset(\$__stack_item_key);
                unset(\$__stack_name);

                \$__env->stopPrepend();
            } else {
                \$__env->stopPrepend();
            }
        ?>"
;
    }
}

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