!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/var/www/html/laravel-crm/vendor/pestphp/pest-plugin-arch/src/Support/   drwxrwxrwx
Free 13.19 GB of 57.97 GB (22.75%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

declare(strict_types=1);

namespace 
Pest\Arch\Support;

use 
Pest\Exceptions\ShouldNotHappen;
use 
PhpParser\Node\Expr;
use 
PhpParser\Node\Expr\Clone_;
use 
PhpParser\Node\Expr\Empty_;
use 
PhpParser\Node\Expr\Eval_;
use 
PhpParser\Node\Expr\Exit_;
use 
PhpParser\Node\Expr\Include_;
use 
PhpParser\Node\Expr\Isset_;
use 
PhpParser\Node\Expr\Print_;
use 
PhpParser\Node\Expr\ShellExec;

/**
 * @internal
 */
final class PhpCoreExpressions
{
    
/**
     * @var array<int, class-string<Expr>>
     */
    
public static array $ENABLED = [
        
Clone_::class,
        
Empty_::class,
        
Eval_::class,
        
Exit_::class,
        
Isset_::class,
        
Print_::class,
    ];

    public static function 
getName(Expr $expression): string
    
{
        return match (
$expression::class) {
            
Clone_::class => 'clone',
            
Empty_::class => 'empty',
            
Eval_::class => 'eval',
            
Exit_::class => match ($expression->getAttribute('kind')) {
                
Exit_::KIND_EXIT => 'exit',
                
Exit_::KIND_DIE => 'die',
                default => throw 
ShouldNotHappen::fromMessage('Unhandled Exit expression kind '.$expression->getAttribute('kind')),
            },
            
Isset_::class => 'isset',
            
Print_::class => 'print',
            default => throw 
ShouldNotHappen::fromMessage('Unsupported Core Expression'),
        };
    }

    public static function 
getClass(string $name): ?string
    
{
        return match (
$name) {
            
'clone' => Clone_::class,
            
'empty' => Empty_::class,
            
'eval' => Eval_::class,
            
'die''exit' => Exit_::class,
            
'include' => Include_::class,
            
'isset' => Isset_::class,
            
'print' => Print_::class,
            
'shell_exec' => ShellExec::class,
            default => 
null,
        };
    }
}

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