Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 18.117.197.188
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
unp /
public /
myadmin /
libraries /
classes /
Delete
Unzip
Name
Size
Permission
Date
Action
Charsets
[ DIR ]
drwxr-xr-x
2020-10-15 12:07
Config
[ DIR ]
drwxr-xr-x
2020-10-15 12:07
Controllers
[ DIR ]
drwxr-xr-x
2020-10-15 12:07
Database
[ DIR ]
drwxr-xr-x
2020-10-15 12:07
Dbi
[ DIR ]
drwxr-xr-x
2020-10-15 12:07
Di
[ DIR ]
drwxr-xr-x
2020-10-15 12:07
Display
[ DIR ]
drwxr-xr-x
2020-10-15 12:07
Engines
[ DIR ]
drwxr-xr-x
2020-10-15 12:07
Gis
[ DIR ]
drwxr-xr-x
2020-10-15 12:07
Navigation
[ DIR ]
drwxr-xr-x
2020-10-15 12:07
Plugins
[ DIR ]
drwxr-xr-x
2020-10-15 12:07
Properties
[ DIR ]
drwxr-xr-x
2020-10-15 12:07
Rte
[ DIR ]
drwxr-xr-x
2020-10-15 12:07
Server
[ DIR ]
drwxr-xr-x
2020-10-15 12:07
Setup
[ DIR ]
drwxr-xr-x
2020-10-15 12:07
Twig
[ DIR ]
drwxr-xr-x
2020-10-15 12:07
Utils
[ DIR ]
drwxr-xr-x
2020-10-15 12:07
Advisor.php
19.56
KB
-rw-r--r--
2021-02-05 18:26
Bookmark.php
10.74
KB
-rw-r--r--
2021-02-05 18:26
BrowseForeigners.php
11.15
KB
-rw-r--r--
2021-02-05 18:26
CentralColumns.php
44.19
KB
-rw-r--r--
2021-02-05 18:26
Charsets.php
6.14
KB
-rw-r--r--
2021-02-05 18:26
CheckUserPrivileges.php
12.59
KB
-rw-r--r--
2021-02-05 18:26
Config.php
57.38
KB
-rw-r--r--
2021-02-05 18:26
Console.php
3.69
KB
-rw-r--r--
2021-02-05 18:26
Core.php
38.31
KB
-rw-r--r--
2021-02-05 18:26
CreateAddField.php
17.91
KB
-rw-r--r--
2021-02-05 18:26
DatabaseInterface.php
104.47
KB
-rw-r--r--
2021-02-05 18:26
Encoding.php
8.68
KB
-rw-r--r--
2021-02-05 18:26
Error.php
13.34
KB
-rw-r--r--
2021-02-05 18:26
ErrorHandler.php
17.17
KB
-rw-r--r--
2021-02-05 18:26
ErrorReport.php
8.92
KB
-rw-r--r--
2021-02-05 18:26
Export.php
42.76
KB
-rw-r--r--
2021-02-05 18:26
File.php
21.29
KB
-rw-r--r--
2021-02-05 18:26
FileListing.php
2.83
KB
-rw-r--r--
2021-02-05 18:26
Font.php
5.54
KB
-rw-r--r--
2021-02-05 18:26
Footer.php
10.6
KB
-rw-r--r--
2021-02-05 18:26
Header.php
21.87
KB
-rw-r--r--
2021-02-05 18:26
Import.php
56.56
KB
-rw-r--r--
2021-02-05 18:26
Index.php
24.5
KB
-rw-r--r--
2021-02-05 18:26
IndexColumn.php
4.44
KB
-rw-r--r--
2021-02-05 18:26
InsertEdit.php
129.31
KB
-rw-r--r--
2021-02-05 18:26
InternalRelations.php
17.42
KB
-rw-r--r--
2021-02-05 18:26
IpAllowDeny.php
9.57
KB
-rw-r--r--
2021-02-05 18:26
Language.php
4.31
KB
-rw-r--r--
2021-02-05 18:26
LanguageManager.php
23.71
KB
-rw-r--r--
2021-02-05 18:26
Linter.php
5.21
KB
-rw-r--r--
2021-02-05 18:26
ListAbstract.php
2.51
KB
-rw-r--r--
2021-02-05 18:26
ListDatabase.php
4.34
KB
-rw-r--r--
2021-02-05 18:26
Logging.php
2.6
KB
-rw-r--r--
2021-02-05 18:26
Menu.php
22.36
KB
-rw-r--r--
2021-02-05 18:26
Message.php
19.32
KB
-rw-r--r--
2021-02-05 18:26
Mime.php
916
B
-rw-r--r--
2021-02-05 18:26
MultSubmits.php
23.64
KB
-rw-r--r--
2021-02-05 18:26
Normalization.php
40.41
KB
-rw-r--r--
2021-02-05 18:26
OpenDocument.php
8.52
KB
-rw-r--r--
2021-02-05 18:26
Operations.php
81.25
KB
-rw-r--r--
2021-02-05 18:26
OutputBuffering.php
3.71
KB
-rw-r--r--
2021-02-05 18:26
ParseAnalyze.php
2.55
KB
-rw-r--r--
2021-02-05 18:26
Partition.php
7.27
KB
-rw-r--r--
2021-02-05 18:26
Pdf.php
4.37
KB
-rw-r--r--
2021-02-05 18:26
Plugins.php
22.95
KB
-rw-r--r--
2021-02-05 18:27
RecentFavoriteTable.php
12.04
KB
-rw-r--r--
2021-02-05 18:27
Relation.php
79.64
KB
-rw-r--r--
2021-02-05 18:27
RelationCleanup.php
15
KB
-rw-r--r--
2021-02-05 18:27
Replication.php
5.75
KB
-rw-r--r--
2021-02-05 18:27
ReplicationGui.php
21.23
KB
-rw-r--r--
2021-02-05 18:27
Response.php
16.14
KB
-rw-r--r--
2021-02-05 18:27
Sanitize.php
14.51
KB
-rw-r--r--
2021-02-05 18:27
SavedSearches.php
11.94
KB
-rw-r--r--
2021-02-05 18:27
Scripts.php
3.65
KB
-rw-r--r--
2021-02-05 18:27
Session.php
7.62
KB
-rw-r--r--
2021-02-05 18:27
Sql.php
82.09
KB
-rw-r--r--
2021-02-05 18:27
SqlQueryForm.php
17.63
KB
-rw-r--r--
2021-02-05 18:27
StorageEngine.php
13.75
KB
-rw-r--r--
2021-02-05 18:27
SubPartition.php
3.55
KB
-rw-r--r--
2021-02-05 18:27
SysInfo.php
1.61
KB
-rw-r--r--
2021-02-05 18:27
SysInfoBase.php
822
B
-rw-r--r--
2021-02-05 18:27
SysInfoLinux.php
2.16
KB
-rw-r--r--
2021-02-05 18:27
SysInfoSunOS.php
1.89
KB
-rw-r--r--
2021-02-05 18:27
SysInfoWINNT.php
3.27
KB
-rw-r--r--
2021-02-05 18:27
SystemDatabase.php
3.97
KB
-rw-r--r--
2021-02-05 18:27
Table.php
94.87
KB
-rw-r--r--
2021-02-05 18:27
TablePartitionDefinition.php
6.64
KB
-rw-r--r--
2021-02-05 18:27
Template.php
4.02
KB
-rw-r--r--
2021-02-05 18:27
Theme.php
8.62
KB
-rw-r--r--
2021-02-05 18:27
ThemeManager.php
10.42
KB
-rw-r--r--
2021-02-05 18:27
Tracker.php
30.13
KB
-rw-r--r--
2021-02-05 18:27
Tracking.php
40.26
KB
-rw-r--r--
2021-02-05 18:27
Transformations.php
16.27
KB
-rw-r--r--
2021-02-05 18:27
TwoFactor.php
7.14
KB
-rw-r--r--
2021-02-05 18:27
Types.php
24.93
KB
-rw-r--r--
2021-02-05 18:27
Url.php
8.32
KB
-rw-r--r--
2021-02-05 18:27
UserPassword.php
9
KB
-rw-r--r--
2021-02-05 18:27
UserPreferences.php
8.62
KB
-rw-r--r--
2021-02-05 18:27
UserPreferencesHeader.php
4.13
KB
-rw-r--r--
2021-02-05 18:27
Util.php
168.02
KB
-rw-r--r--
2021-02-05 18:27
VersionInformation.php
6.92
KB
-rw-r--r--
2021-02-05 18:27
ZipExtension.php
10.25
KB
-rw-r--r--
2021-02-05 18:27
Save
Rename
<?php /* vim: set expandtab sw=4 ts=4 sts=4: */ /** * functions for displaying the sql query form * * @usedby server_sql.php * @usedby db_sql.php * @usedby tbl_sql.php * @usedby tbl_structure.php * @usedby tbl_tracking.php * @package PhpMyAdmin */ declare(strict_types=1); namespace PhpMyAdmin; use PhpMyAdmin\Bookmark; use PhpMyAdmin\Encoding; use PhpMyAdmin\Url; use PhpMyAdmin\Util; /** * PhpMyAdmin\SqlQueryForm class * * @package PhpMyAdmin */ class SqlQueryForm { /** * return HTML for the sql query boxes * * @param boolean|string $query query to display in the textarea * or true to display last executed * @param boolean|string $display_tab sql|full|false * what part to display * false if not inside querywindow * @param string $delimiter delimiter * * @return string * * @usedby server_sql.php * @usedby db_sql.php * @usedby tbl_sql.php * @usedby tbl_structure.php * @usedby tbl_tracking.php */ public function getHtml( $query = true, $display_tab = false, $delimiter = ';' ) { $html = ''; if (! $display_tab) { $display_tab = 'full'; } // query to show if (true === $query) { $query = $GLOBALS['sql_query']; if (empty($query) && (isset($_GET['show_query']) || isset($_POST['show_query']))) { $query = $_GET['sql_query'] ?? $_POST['sql_query'] ?? ''; } } // set enctype to multipart for file uploads if ($GLOBALS['is_upload']) { $enctype = ' enctype="multipart/form-data"'; } else { $enctype = ''; } $table = ''; $db = ''; if (strlen($GLOBALS['db']) === 0) { // prepare for server related $goto = empty($GLOBALS['goto']) ? 'server_sql.php' : $GLOBALS['goto']; } elseif (strlen($GLOBALS['table']) === 0) { // prepare for db related $db = $GLOBALS['db']; $goto = empty($GLOBALS['goto']) ? 'db_sql.php' : $GLOBALS['goto']; } else { $table = $GLOBALS['table']; $db = $GLOBALS['db']; $goto = empty($GLOBALS['goto']) ? 'tbl_sql.php' : $GLOBALS['goto']; } // start output $html .= '<form method="post" action="import.php" ' . $enctype; $html .= ' class="ajax lock-page"'; $html .= ' id="sqlqueryform" name="sqlform">' . "\n"; $html .= '<input type="hidden" name="is_js_confirmed" value="0">' . "\n" . Url::getHiddenInputs($db, $table) . "\n" . '<input type="hidden" name="pos" value="0">' . "\n" . '<input type="hidden" name="goto" value="' . htmlspecialchars($goto) . '">' . "\n" . '<input type="hidden" name="message_to_show" value="' . __('Your SQL query has been executed successfully.') . '">' . "\n" . '<input type="hidden" name="prev_sql_query" value="' . htmlspecialchars($query) . '">' . "\n"; // display querybox if ($display_tab === 'full' || $display_tab === 'sql') { $html .= $this->getHtmlForInsert( $query, $delimiter ); } // Bookmark Support if ($display_tab === 'full') { $cfgBookmark = Bookmark::getParams($GLOBALS['cfg']['Server']['user']); if ($cfgBookmark) { $html .= $this->getHtmlForBookmark(); } } // Japanese encoding setting if (Encoding::canConvertKanji()) { $html .= Encoding::kanjiEncodingForm(); } $html .= '</form>' . "\n"; // print an empty div, which will be later filled with // the sql query results by ajax $html .= '<div id="sqlqueryresultsouter"></div>'; return $html; } /** * Get initial values for Sql Query Form Insert * * @param string $query query to display in the textarea * * @return array ($legend, $query, $columns_list) */ public function init($query) { $columns_list = []; if (strlen($GLOBALS['db']) === 0) { // prepare for server related $legend = sprintf( __('Run SQL query/queries on server ā%sā'), htmlspecialchars( ! empty($GLOBALS['cfg']['Servers'][$GLOBALS['server']]['verbose']) ? $GLOBALS['cfg']['Servers'][$GLOBALS['server']]['verbose'] : $GLOBALS['cfg']['Servers'][$GLOBALS['server']]['host'] ) ); } elseif (strlen($GLOBALS['table']) === 0) { // prepare for db related $db = $GLOBALS['db']; // if you want navigation: $tmp_db_link = '<a href="' . Util::getScriptNameForOption( $GLOBALS['cfg']['DefaultTabDatabase'], 'database' ) . Url::getCommon(['db' => $db]) . '"'; $tmp_db_link .= '>' . htmlspecialchars($db) . '</a>'; $legend = sprintf(__('Run SQL query/queries on database %s'), $tmp_db_link); if (empty($query)) { $query = Util::expandUserString( $GLOBALS['cfg']['DefaultQueryDatabase'], 'backquote' ); } } else { $db = $GLOBALS['db']; $table = $GLOBALS['table']; // Get the list and number of fields // we do a try_query here, because we could be in the query window, // trying to synchronize and the table has not yet been created $columns_list = $GLOBALS['dbi']->getColumns( $db, $GLOBALS['table'], null, true ); $tmp_tbl_link = '<a href="' . Util::getScriptNameForOption( $GLOBALS['cfg']['DefaultTabTable'], 'table' ) . Url::getCommon(['db' => $db, 'table' => $table]) . '" >'; $tmp_tbl_link .= htmlspecialchars($db) . '.' . htmlspecialchars($table) . '</a>'; $legend = sprintf(__('Run SQL query/queries on table %s'), $tmp_tbl_link); if (empty($query)) { $query = Util::expandUserString( $GLOBALS['cfg']['DefaultQueryTable'], 'backquote' ); } } $legend .= ': ' . Util::showMySQLDocu('SELECT'); return [ $legend, $query, $columns_list, ]; } /** * return HTML for Sql Query Form Insert * * @param string $query query to display in the textarea * @param string $delimiter default delimiter to use * * @return string */ public function getHtmlForInsert( $query = '', $delimiter = ';' ) { // enable auto select text in textarea if ($GLOBALS['cfg']['TextareaAutoSelect']) { $auto_sel = ' onclick="Functions.selectContent(this, sqlBoxLocked, true);"'; } else { $auto_sel = ''; } $locking = ''; $height = $GLOBALS['cfg']['TextareaRows'] * 2; list($legend, $query, $columns_list) = $this->init($query); if (! empty($columns_list)) { $sqlquerycontainer_id = 'sqlquerycontainer'; } else { $sqlquerycontainer_id = 'sqlquerycontainerfull'; } $html = '<a id="querybox"></a>' . '<div id="queryboxcontainer">' . '<fieldset id="queryboxf">'; $html .= '<legend>' . $legend . '</legend>'; $html .= '<div id="queryfieldscontainer">'; $html .= '<div id="' . $sqlquerycontainer_id . '">' . '<textarea tabindex="100" name="sql_query" id="sqlquery"' . ' cols="' . $GLOBALS['cfg']['TextareaCols'] . '"' . ' rows="' . $height . '"' . $auto_sel . $locking . '>' . htmlspecialchars($query) . '</textarea>'; $html .= '<div id="querymessage"></div>'; // Add buttons to generate query easily for // select all, single select, insert, update and delete if (! empty($columns_list)) { $html .= '<input type="button" value="SELECT *" id="selectall"' . ' class="btn btn-secondary button sqlbutton">'; $html .= '<input type="button" value="SELECT" id="select"' . ' class="btn btn-secondary button sqlbutton">'; $html .= '<input type="button" value="INSERT" id="insert"' . ' class="btn btn-secondary button sqlbutton">'; $html .= '<input type="button" value="UPDATE" id="update"' . ' class="btn btn-secondary button sqlbutton">'; $html .= '<input type="button" value="DELETE" id="delete"' . ' class="btn btn-secondary button sqlbutton">'; } $html .= '<input type="button" value="' . __('Clear') . '" id="clear"' . ' class="btn btn-secondary button sqlbutton">'; if ($GLOBALS['cfg']['CodemirrorEnable']) { $html .= '<input type="button" value="' . __('Format') . '" id="format"' . ' class="btn btn-secondary button sqlbutton">'; } $html .= '<input type="button" value="' . __('Get auto-saved query') . '" id="saved" class="btn btn-secondary button sqlbutton">'; // parameter binding $html .= '<div>'; $html .= '<input type="checkbox" name="parameterized" id="parameterized">'; $html .= '<label for="parameterized">' . __('Bind parameters') . '</label>'; $html .= Util::showDocu('faq', 'faq6-40'); $html .= '<div id="parametersDiv"></div>'; $html .= '</div>'; $html .= '</div>' . "\n"; if (! empty($columns_list)) { $html .= '<div id="tablefieldscontainer">' . '<label>' . __('Columns') . '</label>' . '<select id="tablefields" name="dummy" ' . 'size="' . ($GLOBALS['cfg']['TextareaRows'] - 2) . '" ' . 'multiple="multiple" ondblclick="Functions.insertValueQuery()">'; foreach ($columns_list as $field) { $html .= '<option value="' . Util::backquote(htmlspecialchars($field['Field'])) . '"'; if (isset($field['Field']) && strlen($field['Field']) > 0 && isset($field['Comment']) ) { $html .= ' title="' . htmlspecialchars($field['Comment']) . '"'; } $html .= '>' . htmlspecialchars($field['Field']) . '</option>' . "\n"; } $html .= '</select>' . '<div id="tablefieldinsertbuttoncontainer">'; if (Util::showIcons('ActionLinksMode')) { $html .= '<input type="button" class="btn btn-secondary button" name="insert"' . ' value="<<" onclick="Functions.insertValueQuery()"' . ' title="' . __('Insert') . '">'; } else { $html .= '<input type="button" class="btn btn-secondary button" name="insert"' . ' value="' . __('Insert') . '"' . ' onclick="Functions.insertValueQuery()">'; } $html .= '</div>' . "\n" . '</div>' . "\n"; } $html .= '<div class="clearfloat"></div>' . "\n"; $html .= '</div>' . "\n"; $cfgBookmark = Bookmark::getParams($GLOBALS['cfg']['Server']['user']); if ($cfgBookmark) { $html .= '<div id="bookmarkoptions">'; $html .= '<div class="formelement">'; $html .= '<label for="bkm_label">' . __('Bookmark this SQL query:') . '</label>'; $html .= '<input type="text" name="bkm_label" id="bkm_label"' . ' tabindex="110" value="">'; $html .= '</div>'; $html .= '<div class="formelement">'; $html .= '<input type="checkbox" name="bkm_all_users" tabindex="111"' . ' id="id_bkm_all_users" value="true">'; $html .= '<label for="id_bkm_all_users">' . __('Let every user access this bookmark') . '</label>'; $html .= '</div>'; $html .= '<div class="formelement">'; $html .= '<input type="checkbox" name="bkm_replace" tabindex="112"' . ' id="id_bkm_replace" value="true">'; $html .= '<label for="id_bkm_replace">' . __('Replace existing bookmark of same name') . '</label>'; $html .= '</div>'; $html .= '</div>'; } $html .= '<div class="clearfloat"></div>' . "\n"; $html .= '</fieldset>' . "\n" . '</div>' . "\n"; $html .= '<fieldset id="queryboxfooter" class="tblFooters">' . "\n"; $html .= '<div class="formelement">' . "\n"; $html .= '</div>' . "\n"; $html .= '<div class="formelement">'; $html .= '<label for="id_sql_delimiter">[ ' . __('Delimiter') . '</label>' . "\n"; $html .= '<input type="text" name="sql_delimiter" tabindex="131" size="3" ' . 'value="' . $delimiter . '" ' . 'id="id_sql_delimiter"> ]'; $html .= '</div>'; $html .= '<div class="formelement">'; $html .= '<input type="checkbox" name="show_query" value="1" ' . 'id="checkbox_show_query" tabindex="132">' . '<label for="checkbox_show_query">' . __('Show this query here again') . '</label>'; $html .= '</div>'; $html .= '<div class="formelement">'; $html .= '<input type="checkbox" name="retain_query_box" value="1" ' . 'id="retain_query_box" tabindex="133" ' . ($GLOBALS['cfg']['RetainQueryBox'] === false ? '' : ' checked="checked"') . '>' . '<label for="retain_query_box">' . __('Retain query box') . '</label>'; $html .= '</div>'; $html .= '<div class="formelement">'; $html .= '<input type="checkbox" name="rollback_query" value="1" ' . 'id="rollback_query" tabindex="134">' . '<label for="rollback_query">' . __('Rollback when finished') . '</label>'; $html .= '</div>'; // Disable/Enable foreign key checks $html .= '<div class="formelement">'; $html .= Util::getFKCheckbox(); $html .= '</div>'; $html .= '<input class="btn btn-primary" type="submit" id="button_submit_query" name="SQL"'; $html .= ' tabindex="200" value="' . __('Go') . '">' . "\n"; $html .= '<div class="clearfloat"></div>' . "\n"; $html .= '</fieldset>' . "\n"; return $html; } /** * return HTML for sql Query Form Bookmark * * @return string|null */ public function getHtmlForBookmark() { $bookmark_list = Bookmark::getList( $GLOBALS['dbi'], $GLOBALS['cfg']['Server']['user'], $GLOBALS['db'] ); if (empty($bookmark_list) || count($bookmark_list) < 1) { return null; } $html = '<fieldset id="fieldsetBookmarkOptions">'; $html .= '<legend>'; $html .= __('Bookmarked SQL query') . '</legend>' . "\n"; $html .= '<div class="formelement">'; $html .= '<select name="id_bookmark" id="id_bookmark">' . "\n"; $html .= '<option value=""> </option>' . "\n"; foreach ($bookmark_list as $bookmark) { $html .= '<option value="' . htmlspecialchars((string) $bookmark->getId()) . '"' . ' data-varcount="' . $bookmark->getVariableCount() . '">' . htmlspecialchars($bookmark->getLabel()) . (empty($bookmark->getUser()) ? (' (' . __('shared') . ')') : '') . '</option>' . "\n"; } // is required for correct display with styles/line height $html .= '</select> ' . "\n"; $html .= '</div>' . "\n"; $html .= '<div class="formelement">' . "\n"; $html .= '<input type="radio" name="action_bookmark" value="0"' . ' id="radio_bookmark_exe" checked="checked">' . '<label for="radio_bookmark_exe">' . __('Submit') . '</label>' . "\n"; $html .= '<input type="radio" name="action_bookmark" value="1"' . ' id="radio_bookmark_view">' . '<label for="radio_bookmark_view">' . __('View only') . '</label>' . "\n"; $html .= '<input type="radio" name="action_bookmark" value="2"' . ' id="radio_bookmark_del">' . '<label for="radio_bookmark_del">' . __('Delete') . '</label>' . "\n"; $html .= '</div>' . "\n"; $html .= '<div class="clearfloat"></div>' . "\n"; $html .= '<div class="formelement hide">' . "\n"; $html .= __('Variables'); $html .= Util::showDocu('faq', 'faqbookmark'); $html .= '<div id="bookmark_variables"></div>'; $html .= '</div>' . "\n"; $html .= '</fieldset>' . "\n"; $html .= '<fieldset id="fieldsetBookmarkOptionsFooter" class="tblFooters">'; $html .= '<input class="btn btn-primary" type="submit" name="SQL" id="button_submit_bookmark" value="' . __('Go') . '">'; $html .= '<div class="clearfloat"></div>' . "\n"; $html .= '</fieldset>' . "\n"; return $html; } }