!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:     initSSO.php (1.93 KB)      -rwxrwxr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
 * WS-Federation/ADFS PRP protocol support for simpleSAMLphp.
 *
 * The initSSO handler relays an internal request from a simpleSAMLphp
 * Service Provider as a WS-Federation Resource Partner using the Passive
 * Requestor Profile (PRP) to an Account Partner.
 *
 * @author Hans Zandbelt, SURFnet BV. <hans.zandbelt@surfnet.nl>
 * @package simpleSAMLphp
 * @version $Id$
 */

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

$config SimpleSAML_Configuration::getInstance();
$metadata SimpleSAML_Metadata_MetaDataStorageHandler::getMetadataHandler();

SimpleSAML_Logger::info('WS-Fed - SP.initSSO: Accessing WS-Fed SP initSSO script');

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

if (empty(
$_GET['RelayState'])) {
    throw new 
SimpleSAML_Error_Error('NORELAYSTATE');
}

try {

    
$idpentityid = isset($_GET['idpentityid']) ? $_GET['idpentityid'] : $config->getString('default-wsfed-idp'NULL);
    
$spentityid = isset($_GET['spentityid']) ? $_GET['spentityid'] : $metadata->getMetaDataCurrentEntityID('wsfed-sp-hosted');

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

if (
$idpentityid == null) {

    
SimpleSAML_Logger::info('WS-Fed - SP.initSSO: No chosen or default IdP, go to WSFeddisco');

    
SimpleSAML_Utilities::redirect('/' $config->getBaseURL() . 'wsfed/sp/idpdisco.php', array(
        
'entityID' => $spentityid,
        
'return' => SimpleSAML_Utilities::selfURL(),
        
'returnIDParam' => 'idpentityid')
    );
}

try {
    
$relaystate $_GET['RelayState'];
    
    
$idpmeta $metadata->getMetaData($idpentityid'wsfed-idp-remote');
    
$spmeta $metadata->getMetaData($spentityid'wsfed-sp-hosted');

    
SimpleSAML_Utilities::redirect($idpmeta['prp'], array(
        
'wa' => 'wsignin1.0',
        
'wct' =>  gmdate('Y-m-d\TH:i:s\Z'time()),
        
'wtrealm' => $spentityid,
        
'wctx' => $relaystate
        
));
    
} 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.4832 ]--