!C99Shell v. 2.1 [PHP 8 Update] [02.02.2022]!

Software: Apache/2.4.53 (Unix) OpenSSL/1.1.1o PHP/7.4.29 mod_perl/2.0.12 Perl/v5.34.1. PHP/7.4.29 

uname -a: Linux vps-2738122-x 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 

uid=1(daemon) gid=1(daemon) grupos=1(daemon) 

Safe-mode: OFF (not secure)

/opt/apex_led/php/vendor/ircmaxell/random-lib/test/Unit/RandomLib/Source/   drwxrwxr-x
Free 11.49 GB of 61.93 GB (18.55%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


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

/*
 * The RandomLib library for securely generating random numbers and strings in PHP
 *
 * @author     Anthony Ferrara <ircmaxell@ircmaxell.com>
 * @copyright  2011 The Authors
 * @license    http://www.opensource.org/licenses/mit-license.html  MIT License
 * @version    Build @@version@@
 */
namespace RandomLib\Source;

use 
SecurityLib\Strength;

abstract class 
AbstractSourceTest extends \PHPUnit_Framework_TestCase
{
    public function 
setUp()
    {
        
$class = static::getTestedClass();

        if (!
$class::isSupported()) {
            
$this->markTestSkipped();
        }
    }

    protected static function 
getTestedClass()
    {
        return 
preg_replace('/Test$/'''get_called_class());
    }

    protected static function 
getExpectedStrength()
    {
        return new 
Strength(Strength::VERYLOW);
    }

    public static function 
provideGenerate()
    {
        
$data = array();
        for (
$i 0$i 100$i += 5) {
            
$not $i str_repeat(chr(0), $i) : chr(0);
            
$data[] = array($i$not);
        }

        return 
$data;
    }

    public function 
testGetStrength()
    {
        
$class = static::getTestedClass();
        
$strength = static::getExpectedStrength();
        
$actual $class::getStrength();
        
$this->assertEquals($actual$strength);
    }

    
/**
     * @dataProvider provideGenerate
     * @group slow
     */
    
public function testGenerate($length$not)
    {
        
$class = static::getTestedClass();
        
$rand = new $class();
        
$stub $rand->generate($length);
        
$this->assertEquals($lengthstrlen($stub));
        
$this->assertNotEquals($not$stub);
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

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

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

--[ c99shell v. 2.1 [PHP 8 Update] [02.02.2022] maintained byC99Shell Github | Generation time: 0.8146 ]--