!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/wsfed/sp/   drwxrwxr-x
Free 13.77 GB of 61.93 GB (22.23%)
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 (1.47 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('WS-Fed - SP.initSLO: Accessing WS-Fed SP initSLO script');

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


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

    
if (isset(
$session) ) {
    
    try {
    
        
$metadata SimpleSAML_Metadata_MetaDataStorageHandler::getMetadataHandler();
    
        
$idpentityid $session->getAuthData('wsfed''saml:sp:IdP');
        
$spentityid = isset($_GET['spentityid']) ? $_GET['spentityid'] : $metadata->getMetaDataCurrentEntityID();
    
        
/**
         * Create a logout request
         */        
        
        
$session->doLogout('wsfed');
        
        
SimpleSAML_Logger::info('WS-Fed - SP.initSLO: SP (' $spentityid ') is sending logout request to IdP (' $idpentityid ')');
            
        
$idpmeta $metadata->getMetaData($idpentityid'wsfed-idp-remote');
        
        
SimpleSAML_Utilities::redirect($idpmeta['prp'], array(
            
'wa' => 'wsignout1.0',
            
'wct' =>  gmdate('Y-m-d\TH:i:s\Z'time()),
            
'wtrealm' => $spentityid,
            
'wctx' => $returnTo
        
));
        

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

} else {

    
SimpleSAML_Logger::info('WS-Fed - SP.initSLO: User is already logged out. Go back to relaystate');
    
SimpleSAML_Utilities::redirect($returnTo);
    
}


?>

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