!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_tdfonline/php/3ros/simplesamlphp/modules/core/hooks/   drwxr-xr-x
Free 13.81 GB of 61.93 GB (22.3%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     hook_sanitycheck.php (1.84 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
 * Hook to do sanitycheck
 *
 * @param array &$hookinfo  hookinfo
 */
function core_hook_sanitycheck(&$hookinfo) {
    
assert('is_array($hookinfo)');
    
assert('array_key_exists("errors", $hookinfo)');
    
assert('array_key_exists("info", $hookinfo)');

    
$config SimpleSAML_Configuration::getInstance();
    
    if(
$config->getString('auth.adminpassword''123') === '123') {
        
$hookinfo['errors'][] = '[core] Password in config.php is not set properly';
    } else {
        
$hookinfo['info'][] = '[core] Password in config.php is set properly';
    }

    if(
$config->getString('technicalcontact_email''na@example.org') === 'na@example.org') {
        
$hookinfo['errors'][] = '[core] In config.php technicalcontact_email is not set properly';
    } else {
        
$hookinfo['info'][] = '[core] In config.php technicalcontact_email is set properly';
    }
    
    if (
version_compare(phpversion(), '5.2''>=')) {
        
$hookinfo['info'][] = '[core] You are running PHP version ' phpversion() . '. Great.';
    } elseif( 
version_compare(phpversion(), '5.1.2''>=')) {
        
$hookinfo['info'][] = '[core] You are running PHP version ' phpversion() . '. It\'s recommended to upgrade to >= 5.2';
    } else {
        
$hookinfo['errors'][] = '[core] You are running PHP version ' phpversion() . '. SimpleSAMLphp requires version >= 5.1.2, and reccomends version >= 5.2. Please upgrade!';
    }
    
    
$info = array();
    
$mihookinfo = array(
        
'info' => &$info,
    );
    
$availmodules SimpleSAML_Module::getModules();
    
SimpleSAML_Module::callHooks('moduleinfo'$mihookinfo);
    foreach(
$info AS $mi => $i) {
        if (isset(
$i['dependencies']) && is_array($i['dependencies'])) {
            foreach (
$i['dependencies'] AS $dep) {
                
// $hookinfo['info'][] = '[core] Module ' . $mi . ' requires ' . $dep;
                
if (!in_array($dep$availmodules)) {
                    
$hookinfo['errors'][] = '[core] Module dependency not met: ' $mi ' requires ' $dep;
                }
            }
        }
    }
    
}
?>

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