!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/queuepro/vendor/laravel/ui/tests/AuthBackend/   drwxrwxr-x
Free 13.14 GB of 57.97 GB (22.68%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     ThrottleLoginsTest.php (1.47 KB)      -rwxrwxr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

namespace Laravel\Ui\Tests\AuthBackend;

use 
Illuminate\Foundation\Auth\ThrottlesLogins;
use 
Orchestra\Testbench\TestCase;
use 
Illuminate\Http\Request;
use 
PHPUnit\Framework\MockObject\MockObject;

class 
ThrottleLoginsTest extends TestCase
{
    
/**
     * @test
     * @dataProvider emailProvider
     */
    
public function it_can_generate_throttle_key(string $emailstring $expectedEmail): void
    
{
        
$throttle $this->getMockForTrait(ThrottlesLogins::class, [], ''truetruetrue, ['username']);
        
$throttle->method('username')->willReturn('email');
        
$reflection = new \ReflectionClass($throttle);
        
$method $reflection->getMethod('throttleKey');
        
$method->setAccessible(true);

        
$request $this->mock(Request::class);
        
$request->expects('input')->with('email')->andReturn($email);
        
$request->expects('ip')->andReturn('192.168.0.1');

        
$this->assertSame($expectedEmail '|192.168.0.1'$method->invoke($throttle$request));
    }

    public function 
emailProvider(): array
    {
        return [
            
'lowercase special characters' => ['ⓣⓔⓢⓣ@ⓛⓐⓡⓐⓥⓔⓛ.ⓒⓞⓜ''test@laravel.com'],
            
'uppercase special characters' => ['ⓉⒺⓈⓉ@ⓁⒶⓇⒶⓋⒺⓁ.ⒸⓄⓂ''test@laravel.com'],
            
'special character numbers' =>['test⑩⓸③@laravel.com''test1043@laravel.com'],
            
'default email' => ['test@laravel.com''test@laravel.com'],
        ];
    }
}

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