!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/php-flasher/flasher/   drwxr-xr-x
Free 29.16 GB of 117.98 GB (24.72%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

/*
 * This file is part of the PHPFlasher package.
 * (c) Younes KHOUBZA <younes.khoubza@gmail.com>
 */

namespace Flasher\Prime;

use 
Flasher\Prime\Factory\NotificationFactory;
use 
Flasher\Prime\Factory\NotificationFactoryInterface;
use 
Flasher\Prime\Notification\NotificationBuilderInterface;
use 
Flasher\Prime\Response\ResponseManager;
use 
Flasher\Prime\Response\ResponseManagerInterface;
use 
Flasher\Prime\Storage\StorageManagerInterface;

/**
 * @mixin NotificationBuilderInterface
 */
final class Flasher implements FlasherInterface
{
    
/**
     * @var string|null
     */
    
private $defaultHandler;

    
/**
     * @var ResponseManagerInterface
     */
    
private $responseManager;

    
/**
     * @var StorageManagerInterface|null
     */
    
private $storageManager;

    
/**
     * @var array<string, callable|NotificationFactoryInterface>
     */
    
private $factories = array();

    
/**
     * @param string $defaultHandler
     */
    
public function __construct($defaultHandlerResponseManagerInterface $responseManager nullStorageManagerInterface $storageManager null)
    {
        
$this->defaultHandler $defaultHandler ?: 'flasher';
        
$this->responseManager $responseManager ?: new ResponseManager();
        
$this->storageManager $storageManager;
    }

    
/**
     * Dynamically call the default factory instance.
     *
     * @param string  $method
     * @param mixed[] $parameters
     *
     * @return mixed
     */
    
public function __call($method, array $parameters)
    {
        
/** @var callable $callback */
        
$callback = array($this->create(), $method);

        return 
\call_user_func_array($callback$parameters);
    }

    
/**
     * {@inheritdoc}
     */
    
public function create($alias null)
    {
        
$alias trim($alias ?: $this->defaultHandler ?: '');

        if (
=== strpos($alias'template.')) {
            
$alias 'theme.'.substr($alias\strlen('template.'));
            @
trigger_error('Since php-flasher/flasher v1.0, the "template." prefix is deprecated and will be removed in v2.0. Use "theme." instead.'\E_USER_DEPRECATED);
        }

        if (empty(
$alias)) {
            throw new 
\InvalidArgumentException('Unable to resolve empty factory.');
        }

        if (!isset(
$this->factories[$alias])) {
            
$this->addFactory($alias, new NotificationFactory($this->storageManager$alias));
        }

        
$factory $this->factories[$alias];

        return 
\is_callable($factory) ? $factory() : $factory;
    }

    
/**
     * {@inheritdoc}
     */
    
public function using($alias)
    {
        return 
$this->create($alias);
    }

    
/**
     * {@inheritdoc}
     */
    
public function render(array $criteria = array(), $presenter 'html', array $context = array())
    {
        return 
$this->responseManager->render($criteria$presenter$context);
    }

    
/**
     * {@inheritdoc}
     */
    
public function addFactory($alias$factory)
    {
        
$this->factories[$alias] = $factory;

        return 
$this;
    }
}

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