!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/www/saml2/sp/   drwxrwxr-x
Free 13.96 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:     initSLO.php (2.03 KB)      -rwxrwxr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

require_once('../../_include.php');

$config SimpleSAML_Configuration::getInstance();

$session SimpleSAML_Session::getInstance();

SimpleSAML_Logger::info('SAML2.0 - SP.initSLO: Accessing SAML 2.0 SP initSLO script');

if (!
$config->getBoolean('enable.saml20-sp'TRUE))
    throw new 
SimpleSAML_Error_Error('NOACCESS');


if (isset(
$_REQUEST['RelayState'])) {
    
$returnTo $_REQUEST['RelayState'];
} else {
    throw new 
SimpleSAML_Error_Error('NORELAYSTATE');
}


try {
    
$metadata SimpleSAML_Metadata_MetaDataStorageHandler::getMetadataHandler();

    
$idpEntityId $session->getAuthData('saml2''saml:sp:IdP');
    if (
$idpEntityId === NULL) {
        
SimpleSAML_Logger::info('SAML2.0 - SP.initSLO: User not authenticated with an IdP.');
        
SimpleSAML_Utilities::redirect($returnTo);
    }
    
$idpMetadata $metadata->getMetaDataConfig($idpEntityId'saml20-idp-remote');
    
$SLOendpoint $idpMetadata->getDefaultEndpoint('SingleLogoutService', array(SAML2_Const::BINDING_HTTP_REDIRECT), NULL);
    if (
$SLOendpoint === NULL) {
        
$session->doLogout('saml2');
        
SimpleSAML_Logger::info('SAML2.0 - SP.initSLO: No supported SingleLogoutService endpoint in IdP.');
        
SimpleSAML_Utilities::redirect($returnTo);
    }

    
$spEntityId = isset($_GET['spentityid']) ? $_GET['spentityid'] : $metadata->getMetaDataCurrentEntityID();
    
$spMetadata $metadata->getMetaDataConfig($spEntityId'saml20-sp-hosted');

    
$nameId $session->getAuthData('saml2''saml:sp:NameID');

    
$lr sspmod_saml_Message::buildLogoutRequest($spMetadata$idpMetadata);
    
$lr->setNameId($nameId);
    
$lr->setSessionIndex($session->getAuthData('saml2''saml:sp:SessionIndex'));

    
$session->doLogout('saml2');

    
/* Save the $returnTo url until the user returns from the IdP. */
    
$session->setData('spLogoutReturnTo'$lr->getId(), $returnTo);

    
SimpleSAML_Logger::info('SAML2.0 - SP.initSLO: SP (' $spEntityId ') is sending logout request to IdP (' $idpEntityId ')');

    
$b = new SAML2_HTTPRedirect();
    
$b->send($lr);


} catch(
Exception $exception) {
    throw new 
SimpleSAML_Error_Error('CREATEREQUEST'$exception);
}


?>

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