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


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

declare(strict_types=1);

namespace 
Vonage\Voice\Webhook;

use 
DateTimeImmutable;
use 
Exception;

use function 
array_key_exists;
use function 
is_null;

class 
Event
{
    public const 
STATUS_STARTED 'started';
    public const 
STATUS_RINGING 'ringing';
    public const 
STATUS_ANSWERED 'answered';
    public const 
STATUS_BUSY 'busy';
    public const 
STATUS_CANCELLED 'cancelled';
    public const 
STATUS_UNANSWERED 'unanswered';
    public const 
STATUS_DISCONNECTED 'disconnected';
    public const 
STATUS_REJECTED 'rejected';
    public const 
STATUS_FAILED 'failed';
    public const 
STATUS_HUMAN 'human';
    public const 
STATUS_MACHINE 'machine';
    public const 
STATUS_TIMEOUT 'timeout';
    public const 
STATUS_COMPLETED 'completed';

    protected ?
string $conversationUuid null;

    protected ?
string $detail null;

    protected ?
string $direction null;

    protected ?
string $duration null;

    protected ?
DateTimeImmutable $endTime null;

    protected ?
string $from null;

    protected ?
string $network null;

    protected ?
string $price null;

    protected ?
string $rate null;

    protected ?
string $status null;

    protected ?
DateTimeImmutable $startTime null;

    protected ?
DateTimeImmutable $timestamp null;

    protected ?
string $to null;

    protected ?
string $uuid null;

    
/**
     * @throws Exception
     */
    
public function __construct(array $event)
    {
        
$this->from $event['from'] ?? null;
        
$this->to $event['to'];
        
$this->uuid $event['uuid'] ?? $event['call_uuid'];
        
$this->conversationUuid $event['conversation_uuid'];
        
$this->status $event['status'];
        
$this->direction $event['direction'];
        
$this->timestamp = new DateTimeImmutable($event['timestamp']);
        
$this->rate $event['rate'] ?? null;
        
$this->network $event['network'] ?? null;
        
$this->duration $event['duration'] ?? null;
        
$this->price $event['price'] ?? null;

        if (
array_key_exists('start_time'$event) && !is_null($event['start_time'])) {
            
$this->startTime = new DateTimeImmutable($event['start_time']);
        }

        if (
array_key_exists('end_time'$event)) {
            
$this->endTime = new DateTimeImmutable($event['end_time']);
        }

        
$this->detail $event['detail'] ?? null;
    }

    public function 
getConversationUuid(): ?string
    
{
        return 
$this->conversationUuid;
    }

    
/**
     * Returns additional details on the event, if available
     * Not all events contain this field, so it may be null.
     */
    
public function getDetail(): ?string
    
{
        return 
$this->detail;
    }

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

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

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

    public function 
getTimestamp(): DateTimeImmutable
    
{
        return 
$this->timestamp;
    }

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

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

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

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

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

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

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

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

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