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


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

/**
 * Class for handling the mdrpi:RegistrationInfo element.
 *
 * @link: http://docs.oasis-open.org/security/saml/Post2.0/saml-metadata-rpi/v1.0/saml-metadata-rpi-v1.0.pdf
 * @package simpleSAMLphp
 * @version $Id$
 */
class SAML2_XML_mdrpi_RegistrationInfo {

    
/**
     * The identifier of the metadata registration authority.
     *
     * @var string
     */
    
public $registrationAuthority;

    
/**
     * The registration timestamp for the metadata, as a UNIX timestamp.
     *
     * @var int|NULL
     */
    
public $registrationInstant;

    
/**
     * Link to registration policy for this metadata.
     *
     * This is an associative array with language=>URL.
     *
     * @var array
     */
    
public $RegistrationPolicy = array();


    
/**
     * Create/parse a mdrpi:RegistrationInfo element.
     *
     * @param DOMElement|NULL $xml  The XML element we should load.
     */
    
public function __construct(DOMElement $xml NULL) {

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

        if (!
$xml->hasAttribute('registrationAuthority')) {
            throw new 
Exception('Missing required attribute "registrationAuthority" in mdrpi:RegistrationInfo element.');
        }
        
$this->registrationAuthority $xml->getAttribute('registrationAuthority');

        if (
$xml->hasAttribute('registrationInstant')) {
            
$this->registrationInstant SimpleSAML_Utilities::parseSAML2Time($xml->getAttribute('registrationInstant'));
        }

        
$this->RegistrationPolicy SAML2_Utils::extractLocalizedStrings($xmlSAML2_XML_mdrpi_Common::NS_MDRPI'RegistrationPolicy');
    }


    
/**
     * Convert this element to XML.
     *
     * @param DOMElement $parent  The element we should append to.
     */
    
public function toXML(DOMElement $parent) {
        
assert('is_string($this->registrationAuthority)');
        
assert('is_int($this->registrationInstant) || is_null($this->registrationInstant)');
        
assert('is_array($this->RegistrationPolicy)');

        
$doc $parent->ownerDocument;

        
$e $doc->createElementNS(SAML2_XML_mdrpi_Common::NS_MDRPI'mdrpi:RegistrationInfo');
        
$parent->appendChild($e);

        
$e->setAttribute('registrationAuthority'$this->registrationAuthority);

        if (
$this->registrationInstant !== NULL) {
            
$e->setAttribute('registrationInstant'gmdate('Y-m-d\TH:i:s\Z'$this->registrationInstant));
        }

        
SAML2_Utils::addStrings($eSAML2_XML_mdrpi_Common::NS_MDRPI'mdrpi:RegistrationPolicy'TRUE$this->RegistrationPolicy);

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