!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/phpmyadmin/libraries/classes/Controllers/Preferences/   drwxr-xr-x
Free 83.29 GB of 96.73 GB (86.11%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


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

declare(strict_types=1);

namespace 
PhpMyAdmin\Controllers\Preferences;

use 
PhpMyAdmin\Controllers\AbstractController;
use 
PhpMyAdmin\Message;
use 
PhpMyAdmin\Relation;
use 
PhpMyAdmin\Response;
use 
PhpMyAdmin\Template;
use 
PhpMyAdmin\TwoFactor;
use function 
count;

class 
TwoFactorController extends AbstractController
{
    
/** @var Relation */
    
private $relation;

    
/**
     * @param Response $response
     */
    
public function __construct($responseTemplate $templateRelation $relation)
    {
        
parent::__construct($response$template);
        
$this->relation $relation;
    }

    public function 
index(): void
    
{
        global 
$cfg$route;

        
$cfgRelation $this->relation->getRelationsParam();

        echo 
$this->template->render('preferences/header', [
            
'route' => $route,
            
'is_saved' => ! empty($_GET['saved']),
            
'has_config_storage' => $cfgRelation['userconfigwork'],
        ]);

        
$twoFactor = new TwoFactor($cfg['Server']['user']);

        if (isset(
$_POST['2fa_remove'])) {
            if (! 
$twoFactor->check(true)) {
                echo 
$this->template->render('preferences/two_factor/confirm', [
                    
'form' => $twoFactor->render(),
                ]);

                return;
            }

            
$twoFactor->configure('');
            echo 
Message::rawNotice(__('Two-factor authentication has been removed.'))->getDisplay();
        } elseif (isset(
$_POST['2fa_configure'])) {
            if (! 
$twoFactor->configure($_POST['2fa_configure'])) {
                echo 
$this->template->render('preferences/two_factor/configure', [
                    
'form' => $twoFactor->setup(),
                    
'configure' => $_POST['2fa_configure'],
                ]);

                return;
            }

            echo 
Message::rawNotice(__('Two-factor authentication has been configured.'))->getDisplay();
        }

        
$backend $twoFactor->getBackend();
        echo 
$this->template->render('preferences/two_factor/main', [
            
'enabled' => $twoFactor->isWritable(),
            
'num_backends' => count($twoFactor->getAvailable()),
            
'backend_id' => $backend::$id,
            
'backend_name' => $backend::getName(),
            
'backend_description' => $backend::getDescription(),
            
'backends' => $twoFactor->getAllBackends(),
            
'missing' => $twoFactor->getMissingDeps(),
        ]);
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

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

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