!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/jiff/vendor/laravel/lumen-framework/src/Http/   drwxr-xr-x
Free 13.22 GB of 57.97 GB (22.81%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace Laravel\Lumen\Http;

use 
Illuminate\Http\JsonResponse;
use 
Illuminate\Http\Response;
use 
Illuminate\Support\Str;
use 
Illuminate\Support\Traits\Macroable;
use 
Symfony\Component\HttpFoundation\BinaryFileResponse;
use 
Symfony\Component\HttpFoundation\StreamedResponse;

class 
ResponseFactory
{
    use 
Macroable;

    
/**
     * Return a new response from the application.
     *
     * @param  string  $content
     * @param  int  $status
     * @param  array  $headers
     * @return \Illuminate\Http\Response
     */
    
public function make($content ''$status 200, array $headers = [])
    {
        return new 
Response($content$status$headers);
    }

    
/**
     * Return a new JSON response from the application.
     *
     * @param  mixed  $data
     * @param  int  $status
     * @param  array  $headers
     * @param  int  $options
     * @return \Illuminate\Http\JsonResponse
     */
    
public function json($data = [], $status 200, array $headers = [], $options 0)
    {
        return new 
JsonResponse($data$status$headers$options);
    }

    
/**
     * Create a new JSONP response instance.
     *
     * @param  string  $callback
     * @param  mixed  $data
     * @param  int  $status
     * @param  array  $headers
     * @param  int  $options
     * @return \Illuminate\Http\JsonResponse
     */
    
public function jsonp($callback$data = [], $status 200, array $headers = [], $options 0)
    {
        return 
$this->json($data$status$headers$options)->setCallback($callback);
    }

    
/**
     * Create a new streamed response instance.
     *
     * @param  \Closure  $callback
     * @param  int  $status
     * @param  array  $headers
     * @return \Symfony\Component\HttpFoundation\StreamedResponse
     */
    
public function stream($callback$status 200, array $headers = [])
    {
        return new 
StreamedResponse($callback$status$headers);
    }

    
/**
     * Create a new streamed response instance as a file download.
     *
     * @param  \Closure  $callback
     * @param  string|null  $name
     * @param  array  $headers
     * @param  string|null  $disposition
     * @return \Symfony\Component\HttpFoundation\StreamedResponse
     */
    
public function streamDownload($callback$name null, array $headers = [], $disposition 'attachment')
    {
        
$response = new StreamedResponse($callback200$headers);

        if (! 
is_null($name)) {
            
$response->headers->set('Content-Disposition'$response->headers->makeDisposition(
                
$disposition,
                
$name,
                
$this->fallbackName($name)
            ));
        }

        return 
$response;
    }

    
/**
     * Create a new file download response.
     *
     * @param  \SplFileInfo|string  $file
     * @param  string  $name
     * @param  array  $headers
     * @param  null|string  $disposition
     * @return \Symfony\Component\HttpFoundation\BinaryFileResponse
     */
    
public function download($file$name null, array $headers = [], $disposition 'attachment')
    {
        
$response = new BinaryFileResponse($file200$headerstrue$disposition);

        if (! 
is_null($name)) {
            return 
$response->setContentDisposition($disposition$name$this->fallbackName($name));
        }

        return 
$response;
    }

    
/**
     * Convert the string to ASCII characters that are equivalent to the given name.
     *
     * @param  string  $name
     * @return string
     */
    
protected function fallbackName($name)
    {
        return 
str_replace('%'''Str::ascii($name));
    }

    
/**
     * Return the raw contents of a binary file.
     *
     * @param  \SplFileInfo|string  $file
     * @param  array  $headers
     * @return \Symfony\Component\HttpFoundation\BinaryFileResponse
     */
    
public function file($file, array $headers = [])
    {
        return new 
BinaryFileResponse($file200$headers);
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0081 ]--