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


Viewing file:     frontpage_config.php (4.05 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php



/* Load simpleSAMLphp, configuration */
$config SimpleSAML_Configuration::getInstance();
$session SimpleSAML_Session::getInstance();

/* Check if valid local session exists.. */
if ($config->getBoolean('admin.protectindexpage'false)) {
    
SimpleSAML_Utilities::requireAdmin();
}
$loginurl SimpleSAML_Utilities::getAdminLoginURL();
$isadmin SimpleSAML_Utilities::isAdmin();


$warnings = array();

if (!
SimpleSAML_Utilities::isHTTPS()) {
    
$warnings[] = '{core:frontpage:warnings_https}';
}

if (
$config->getValue('secretsalt') === 'defaultsecretsalt') {
    
$warnings[] = '{core:frontpage:warnings_secretsalt}';
}

if (
extension_loaded('suhosin')) {
    
$suhosinLength ini_get('suhosin.get.max_value_length');
    if (empty(
$suhosinLength) || (int)$suhosinLength 2048) {
        
$warnings[] = '{core:frontpage:warnings_suhosin_url_length}';
    }
}





$links = array();
$links_welcome = array();
$links_config = array();
$links_auth = array();
$links_federation = array();



$links_config[] = array(
    
'href' => SimpleSAML_Utilities::getBaseURL() . 'example-simple/hostnames.php?dummy=1',
    
'text' => '{core:frontpage:link_diagnostics}'
);

$links_config[] = array(
    
'href' => SimpleSAML_Utilities::getBaseURL() . 'admin/phpinfo.php',
    
'text' => '{core:frontpage:link_phpinfo}'
);





$allLinks = array(
    
'links'      => &$links,
    
'welcome'    => &$links_welcome,
    
'config'     => &$links_config,
    
'auth'       => &$links_auth,
    
'federation' => &$links_federation,
);
SimpleSAML_Module::callHooks('frontpage'$allLinks);







$enablematrix = array(
    
'saml20-idp' => $config->getBoolean('enable.saml20-idp'false),
    
'shib13-idp' => $config->getBoolean('enable.shib13-idp'false),
);


$functionchecks = array(
    
'hash'             => array('required',  'Hashing function'),
    
'gzinflate'        => array('required',  'ZLib'),
    
'openssl_sign'     => array('required',  'OpenSSL'),
    
'simplexml_import_dom' => array('required''SimpleXML'),
    
'dom_import_simplexml' => array('required''XML DOM'),
    
'preg_match'       => array('required',  'RegEx support'),
    
'mcrypt_module_open'=> array('required',  'MCrypt'),
    
'mysql_connect'    => array('optional',  'MySQL support'),
);
if (
SimpleSAML_Module::isModuleEnabled('ldap')) {
    
$functionchecks['ldap_bind'] = array('required_ldap',  'LDAP Extension');
}
if (
SimpleSAML_Module::isModuleEnabled('radius')) {
        
$functionchecks['radius_auth_open'] = array('required_radius',  'Radius Extension');
}

$funcmatrix = array();
$funcmatrix[] = array(
    
'required' => 'required'
    
'descr' => 'PHP Version >= 5.2. You run: ' phpversion(),
    
'enabled' => version_compare(phpversion(), '5.2''>='));
foreach (
$functionchecks AS $func => $descr) {
    
$funcmatrix[] = array('descr' => $descr[1], 'required' => $descr[0], 'enabled' => function_exists($func));
}


/* Some basic configuration checks */

if($config->getString('technicalcontact_email''na@example.org') === 'na@example.org') {
    
$mail_ok FALSE;
} else {
    
$mail_ok TRUE;
}
$funcmatrix[] = array(
    
'required' => 'reccomended',
    
'descr' => 'technicalcontact_email option set',
    
'enabled' => $mail_ok
    
);
if(
$config->getString('auth.adminpassword''123') === '123') {
    
$password_ok FALSE;
} else {
    
$password_ok TRUE;
}
$funcmatrix[] = array(
    
'required' => 'required',
    
'descr' => 'auth.adminpassword option set',
    
'enabled' => $password_ok
);

$funcmatrix[] = array(
    
'required' => 'reccomended',
    
'descr' => 'Magic Quotes should be turned off',
    
'enabled' => (get_magic_quotes_runtime() == 0)
);


$t = new SimpleSAML_XHTML_Template($config'core:frontpage_config.tpl.php');
$t->data['pageid'] = 'frontpage_config';
$t->data['isadmin'] = $isadmin;
$t->data['loginurl'] = $loginurl;
$t->data['warnings'] = $warnings;


$t->data['links'] = $links;
$t->data['links_welcome'] = $links_welcome;
$t->data['links_config'] = $links_config;
$t->data['links_auth'] = $links_auth;
$t->data['links_federation'] = $links_federation;



$t->data['enablematrix'] = $enablematrix;
$t->data['funcmatrix'] = $funcmatrix;
$t->data['version'] = $config->getVersion();
$t->data['directory'] = dirname(dirname(dirname(dirname(__FILE__))));

$t->show();



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