!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: nginx/1.23.4. PHP/5.6.40-65+ubuntu20.04.1+deb.sury.org+1 

uname -a: Linux foro-restaurado-2 5.15.0-1040-oracle #46-Ubuntu SMP Fri Jul 14 21:47:21 UTC 2023
aarch64
 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/usr/share/nginx/html/phpbb3/includes/acp/   drwxrwxr-x
Free 83.36 GB of 96.73 GB (86.18%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     acp_disallow.php (2.65 KB)      -rw-rw-r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
*
* @package acp
* @version $Id: acp_disallow.php 8479 2008-03-29 00:22:48Z naderman $
* @copyright (c) 2005 phpBB Group
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/

/**
* @ignore
*/
if (!defined('IN_PHPBB'))
{
    exit;
}

/**
* @package acp
*/
class acp_disallow
{
    var 
$u_action;

    function 
main($id$mode)
    {
        global 
$db$user$auth$template$cache;
        global 
$config$phpbb_root_path$phpbb_admin_path$phpEx;

        include(
$phpbb_root_path 'includes/functions_user.' $phpEx);

        
$user->add_lang('acp/posting');

        
// Set up general vars
        
$this->tpl_name 'acp_disallow';
        
$this->page_title 'ACP_DISALLOW_USERNAMES';

        
$form_key 'acp_disallow';
        
add_form_key($form_key);

        
$disallow = (isset($_POST['disallow'])) ? true false;
        
$allow = (isset($_POST['allow'])) ? true false;

        if ((
$allow || $disallow) && !check_form_key($form_key))
        {
            
trigger_error($user->lang['FORM_INVALID'] . adm_back_link($this->u_action), E_USER_WARNING);
        }

        if (
$disallow)
        {
            
$disallowed_user str_replace('*''%'utf8_normalize_nfc(request_var('disallowed_user'''true)));

            if (!
$disallowed_user)
            {
                
trigger_error($user->lang['NO_USERNAME_SPECIFIED'] . adm_back_link($this->u_action), E_USER_WARNING);
            }

            
$sql 'INSERT INTO ' DISALLOW_TABLE ' ' $db->sql_build_array('INSERT', array('disallow_username' => $disallowed_user));
            
$db->sql_query($sql);

            
$cache->destroy('_disallowed_usernames');

            
$message $user->lang['DISALLOW_SUCCESSFUL'];
            
add_log('admin''LOG_DISALLOW_ADD'str_replace('%''*'$disallowed_user));

            
trigger_error($message adm_back_link($this->u_action));
        }
        else if (
$allow)
        {
            
$disallowed_id request_var('disallowed_id'0);

            if (!
$disallowed_id)
            {
                
trigger_error($user->lang['NO_USERNAME_SPECIFIED'] . adm_back_link($this->u_action), E_USER_WARNING);
            }

            
$sql 'DELETE FROM ' DISALLOW_TABLE '
                WHERE disallow_id = ' 
$disallowed_id;
            
$db->sql_query($sql);

            
$cache->destroy('_disallowed_usernames');

            
add_log('admin''LOG_DISALLOW_DELETE');

            
trigger_error($user->lang['DISALLOWED_DELETED'] . adm_back_link($this->u_action));
        }

        
// Grab the current list of disallowed usernames...
        
$sql 'SELECT *
            FROM ' 
DISALLOW_TABLE;
        
$result $db->sql_query($sql);

        
$disallow_select '';
        while (
$row $db->sql_fetchrow($result))
        {
            
$disallow_select .= '<option value="' $row['disallow_id'] . '">' str_replace('%''*'$row['disallow_username']) . '</option>';
        }
        
$db->sql_freeresult($result);

        
$template->assign_vars(array(
            
'U_ACTION'                => $this->u_action,
            
'S_DISALLOWED_NAMES'    => $disallow_select)
        );
    }
}

?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by HackingTool | HackingTool | Generation time: 0.0034 ]--