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


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

/**
 * Hook to inject HTML content into all pages...
 *
 * @param array &$hookinfo  hookinfo
 */
function portal_hook_htmlinject(&$hookinfo) {
    
assert('is_array($hookinfo)');
    
assert('array_key_exists("pre", $hookinfo)');
    
assert('array_key_exists("post", $hookinfo)');
    
assert('array_key_exists("page", $hookinfo)');

    
$links = array('links' => array());
    
SimpleSAML_Module::callHooks('frontpage'$links);

#    echo('<pre>');    print_r($links); exit;

    
$portalConfig SimpleSAML_Configuration::getOptionalConfig('module_portal.php');
    
    
$allLinks = array();
    foreach(
$links AS $ls) {
        
$allLinks array_merge($allLinks$ls);
    }

    
$pagesets $portalConfig->getValue('pagesets', array(
        array(
'frontpage_welcome''frontpage_config''frontpage_auth''frontpage_federation'),
    ));
    
SimpleSAML_Module::callHooks('portalextras'$pagesets);
    
$portal = new sspmod_portal_Portal($allLinks$pagesets);
    
    if (!
$portal->isPortalized($hookinfo['page'])) return;

    
#print_r($portal->getMenu($hookinfo['page'])); exit;

    // Include jquery UI CSS files in header.
    
$hookinfo['jquery']['css'] = TRUE;
    
$hookinfo['jquery']['version'] = '1.6';

    
// Header
    
$hookinfo['pre'][]  = '<div id="portalmenu" class="ui-tabs ui-widget ui-widget-content ui-corner-all">' 
        
$portal->getMenu($hookinfo['page']) . 
        
'<div id="portalcontent" class="ui-tabs-panel ui-widget-content ui-corner-bottom">';

    
// Footer
    
$hookinfo['post'][] = '</div></div>';
    
}

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