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


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

namespace Illuminate\Testing\Concerns;

use 
Illuminate\Testing\Assert as PHPUnit;

trait 
AssertsStatusCodes
{
    
/**
     * Assert that the response has a 200 "OK" status code.
     *
     * @return $this
     */
    
public function assertOk()
    {
        return 
$this->assertStatus(200);
    }

    
/**
     * Assert that the response has a 201 "Created" status code.
     *
     * @return $this
     */
    
public function assertCreated()
    {
        return 
$this->assertStatus(201);
    }

    
/**
     * Assert that the response has a 202 "Accepted" status code.
     *
     * @return $this
     */
    
public function assertAccepted()
    {
        return 
$this->assertStatus(202);
    }

    
/**
     * Assert that the response has the given status code and no content.
     *
     * @param  int  $status
     * @return $this
     */
    
public function assertNoContent($status 204)
    {
        
$this->assertStatus($status);

        
PHPUnit::assertEmpty($this->getContent(), 'Response content is not empty.');

        return 
$this;
    }

    
/**
     * Assert that the response has a 301 "Moved Permanently" status code.
     *
     * @param  int  $status
     * @return $this
     */
    
public function assertMovedPermanently()
    {
        return 
$this->assertStatus(301);
    }

    
/**
     * Assert that the response has a 302 "Found" status code.
     *
     * @param  int  $status
     * @return $this
     */
    
public function assertFound()
    {
        return 
$this->assertStatus(302);
    }

    
/**
     * Assert that the response has a 400 "Bad Request" status code.
     *
     * @return $this
     */
    
public function assertBadRequest()
    {
        return 
$this->assertStatus(400);
    }

    
/**
     * Assert that the response has a 401 "Unauthorized" status code.
     *
     * @return $this
     */
    
public function assertUnauthorized()
    {
        return 
$this->assertStatus(401);
    }

    
/**
     * Assert that the response has a 402 "Payment Required" status code.
     *
     * @return $this
     */
    
public function assertPaymentRequired()
    {
        return 
$this->assertStatus(402);
    }

    
/**
     * Assert that the response has a 403 "Forbidden" status code.
     *
     * @return $this
     */
    
public function assertForbidden()
    {
        return 
$this->assertStatus(403);
    }

    
/**
     * Assert that the response has a 404 "Not Found" status code.
     *
     * @return $this
     */
    
public function assertNotFound()
    {
        return 
$this->assertStatus(404);
    }

    
/**
     * Assert that the response has a 408 "Request Timeout" status code.
     *
     * @return $this
     */
    
public function assertRequestTimeout()
    {
        return 
$this->assertStatus(408);
    }

    
/**
     * Assert that the response has a 409 "Conflict" status code.
     *
     * @return $this
     */
    
public function assertConflict()
    {
        return 
$this->assertStatus(409);
    }

    
/**
     * Assert that the response has a 422 "Unprocessable Entity" status code.
     *
     * @return $this
     */
    
public function assertUnprocessable()
    {
        return 
$this->assertStatus(422);
    }

    
/**
     * Assert that the response has a 429 "Too Many Requests" status code.
     *
     * @return $this
     */
    
public function assertTooManyRequests()
    {
        return 
$this->assertStatus(429);
    }
}

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