Hackfut Security File Manager
Current Path:
/mnt/ceph/services/websiteos/phpmyadmin/phpMyAdmin-5.0.4-all-languages
mnt
/
ceph
/
services
/
websiteos
/
phpmyadmin
/
phpMyAdmin-5.0.4-all-languages
/
π
..
π
CONTRIBUTING.md
(2.53 KB)
π
ChangeLog
(32.24 KB)
π
LICENSE
(17.67 KB)
π
README
(1.48 KB)
π
RELEASE-DATE-5.0.4
(29 B)
π
ajax.php
(1.96 KB)
π
browse_foreigners.php
(1.77 KB)
π
changelog.php
(3.04 KB)
π
chk_rel.php
(1.16 KB)
π
composer.json
(3.47 KB)
π
composer.lock
(170.01 KB)
π
config.inc.php
(317 B)
π
config_template
π
db_central_columns.php
(4.5 KB)
π
db_datadict.php
(730 B)
π
db_designer.php
(7.6 KB)
π
db_events.php
(1.96 KB)
π
db_export.php
(5 KB)
π
db_import.php
(1.08 KB)
π
db_multi_table_query.php
(1.42 KB)
π
db_operations.php
(9.64 KB)
π
db_qbe.php
(5.19 KB)
π
db_routines.php
(2.2 KB)
π
db_search.php
(2.17 KB)
π
db_sql.php
(1.18 KB)
π
db_sql_autocomplete.php
(1.01 KB)
π
db_sql_format.php
(613 B)
π
db_structure.php
(2 KB)
π
db_tracking.php
(3.58 KB)
π
db_triggers.php
(1.96 KB)
π
doc
π
error_report.php
(4.64 KB)
π
examples
π
export.php
(16.93 KB)
π
favicon.ico
(21.96 KB)
π
gis_data_editor.php
(3.83 KB)
π
import.php
(24.03 KB)
π
import_status.php
(3.65 KB)
π
index.php
(3.01 KB)
π
js
π
libraries
π
license.php
(1021 B)
π
lint.php
(1.52 KB)
π
locale
π
login
π
logout.php
(437 B)
π
navigation.php
(2.58 KB)
π
normalization.php
(4.48 KB)
π
package.json
(1.42 KB)
π
phpinfo.php
(633 B)
π
prefs_forms.php
(3.02 KB)
π
prefs_manage.php
(7.29 KB)
π
prefs_twofactor.php
(1.93 KB)
π
print.css
(1.18 KB)
π
robots.txt
(26 B)
π
schema_export.php
(861 B)
π
server_binlog.php
(733 B)
π
server_collations.php
(626 B)
π
server_databases.php
(1.74 KB)
π
server_engines.php
(797 B)
π
server_export.php
(1.22 KB)
π
server_import.php
(833 B)
π
server_plugins.php
(595 B)
π
server_privileges.php
(14.8 KB)
π
server_replication.php
(1.57 KB)
π
server_sql.php
(1.06 KB)
π
server_status.php
(1.01 KB)
π
server_status_advisor.php
(885 B)
π
server_status_monitor.php
(3.22 KB)
π
server_status_processes.php
(1.78 KB)
π
server_status_queries.php
(1.34 KB)
π
server_status_variables.php
(1.31 KB)
π
server_user_groups.php
(2.16 KB)
π
server_variables.php
(1.08 KB)
π
services.yml
(3.09 KB)
π
services_controllers.yml
(8.4 KB)
π
setup
π
show_config_errors.php
(1.23 KB)
π
sql
π
sql.php
(6.73 KB)
π
tbl_addfield.php
(4.33 KB)
π
tbl_change.php
(6.86 KB)
π
tbl_chart.php
(1.13 KB)
π
tbl_create.php
(3.92 KB)
π
tbl_export.php
(2.9 KB)
π
tbl_find_replace.php
(1.29 KB)
π
tbl_get_field.php
(2.05 KB)
π
tbl_gis_visualization.php
(1.64 KB)
π
tbl_import.php
(895 B)
π
tbl_indexes.php
(1.23 KB)
π
tbl_operations.php
(15.43 KB)
π
tbl_recent_favorite.php
(590 B)
π
tbl_relation.php
(2.81 KB)
π
tbl_replace.php
(17.51 KB)
π
tbl_row_action.php
(5.48 KB)
π
tbl_select.php
(1.29 KB)
π
tbl_sql.php
(1.23 KB)
π
tbl_structure.php
(2.31 KB)
π
tbl_tracking.php
(5.33 KB)
π
tbl_triggers.php
(265 B)
π
tbl_zoom_select.php
(1.22 KB)
π
templates
π
themes
π
themes.php
(894 B)
π
transformation_overview.php
(846 B)
π
transformation_wrapper.php
(5.26 KB)
π
url.php
(1.56 KB)
π
user_password.php
(2.18 KB)
π
vendor
π
version_check.php
(1.17 KB)
π
view_create.php
(7.02 KB)
π
view_operations.php
(3.45 KB)
π
yarn.lock
(109.31 KB)
Editing: normalization.php
<?php /* vim: set expandtab sw=4 ts=4 sts=4: */ /** * Normalization process (temporarily specific to 1NF) * * @package PhpMyAdmin */ declare(strict_types=1); use PhpMyAdmin\Core; use PhpMyAdmin\DatabaseInterface; use PhpMyAdmin\Normalization; use PhpMyAdmin\Response; use PhpMyAdmin\Url; if (! defined('ROOT_PATH')) { define('ROOT_PATH', __DIR__ . DIRECTORY_SEPARATOR); } global $db, $table; require_once ROOT_PATH . 'libraries/common.inc.php'; /** @var Response $response */ $response = $containerBuilder->get(Response::class); /** @var DatabaseInterface $dbi */ $dbi = $containerBuilder->get(DatabaseInterface::class); /** @var Normalization $normalization */ $normalization = $containerBuilder->get('normalization'); if (isset($_POST['getColumns'])) { $html = '<option selected disabled>' . __('Select oneβ¦') . '</option>' . '<option value="no_such_col">' . __('No such column') . '</option>'; //get column whose datatype falls under string category $html .= $normalization->getHtmlForColumnsList( $db, $table, _pgettext('string types', 'String') ); echo $html; exit; } if (isset($_POST['splitColumn'])) { $num_fields = min(4096, intval($_POST['numFields'])); $html = $normalization->getHtmlForCreateNewColumn($num_fields, $db, $table); $html .= Url::getHiddenInputs($db, $table); echo $html; exit; } if (isset($_POST['addNewPrimary'])) { $num_fields = 1; $columnMeta = [ 'Field' => $table . "_id", 'Extra' => 'auto_increment', ]; $html = $normalization->getHtmlForCreateNewColumn( $num_fields, $db, $table, $columnMeta ); $html .= Url::getHiddenInputs($db, $table); echo $html; exit; } if (isset($_POST['findPdl'])) { $html = $normalization->findPartialDependencies($table, $db); echo $html; exit; } if (isset($_POST['getNewTables2NF'])) { $partialDependencies = json_decode($_POST['pd']); $html = $normalization->getHtmlForNewTables2NF($partialDependencies, $table); echo $html; exit; } if (isset($_POST['getNewTables3NF'])) { $dependencies = json_decode($_POST['pd']); $tables = json_decode($_POST['tables']); $newTables = $normalization->getHtmlForNewTables3NF($dependencies, $tables, $db); $response->disable(); Core::headerJSON(); echo json_encode($newTables); exit; } $header = $response->getHeader(); $scripts = $header->getScripts(); $scripts->addFile('normalization.js'); $scripts->addFile('vendor/jquery/jquery.uitablefilter.js'); $normalForm = '1nf'; if (Core::isValid($_POST['normalizeTo'], ['1nf', '2nf', '3nf'])) { $normalForm = $_POST['normalizeTo']; } if (isset($_POST['createNewTables2NF'])) { $partialDependencies = json_decode($_POST['pd']); $tablesName = json_decode($_POST['newTablesName']); $res = $normalization->createNewTablesFor2NF($partialDependencies, $tablesName, $table, $db); $response->addJSON($res); exit; } if (isset($_POST['createNewTables3NF'])) { $newtables = json_decode($_POST['newTables']); $res = $normalization->createNewTablesFor3NF($newtables, $db); $response->addJSON($res); exit; } if (isset($_POST['repeatingColumns'])) { $repeatingColumns = $_POST['repeatingColumns']; $newTable = $_POST['newTable']; $newColumn = $_POST['newColumn']; $primary_columns = $_POST['primary_columns']; $res = $normalization->moveRepeatingGroup( $repeatingColumns, $primary_columns, $newTable, $newColumn, $table, $db ); $response->addJSON($res); exit; } if (isset($_POST['step1'])) { $html = $normalization->getHtmlFor1NFStep1($db, $table, $normalForm); $response->addHTML($html); } elseif (isset($_POST['step2'])) { $res = $normalization->getHtmlContentsFor1NFStep2($db, $table); $response->addJSON($res); } elseif (isset($_POST['step3'])) { $res = $normalization->getHtmlContentsFor1NFStep3($db, $table); $response->addJSON($res); } elseif (isset($_POST['step4'])) { $res = $normalization->getHtmlContentsFor1NFStep4($db, $table); $response->addJSON($res); } elseif (isset($_POST['step']) && $_POST['step'] == '2.1') { $res = $normalization->getHtmlFor2NFstep1($db, $table); $response->addJSON($res); } elseif (isset($_POST['step']) && $_POST['step'] == '3.1') { $tables = $_POST['tables']; $res = $normalization->getHtmlFor3NFstep1($db, $tables); $response->addJSON($res); } else { $response->addHTML($normalization->getHtmlForNormalizeTable()); }
Upload File
Create Folder