HEX
Server: nginx/1.28.3
System: Linux ip-172-31-12-242 6.17.0-1007-aws #7~24.04.1-Ubuntu SMP Thu Jan 22 21:04:49 UTC 2026 x86_64
User: root (0)
PHP: 7.4.33
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Upload Files
File: /www/server/panel/BTPanel/static/js/database-legacy.js
System.register(["./utils-lib-legacy.js?v=1777008528","./base-lib-legacy.js?v=1777008528","./__commonjsHelpers__-legacy.js?v=1777008528"],function(t,e){"use strict";var a;return{setters:[function(t){a=t.u},null,null],execute:function(){t("checkServerConnection",function(t){return a.post("database/CheckDatabaseStatus",{data:t,customType:"default",check:"object"})}),t("checkModuleServerConnection",function(t,e){var o="database/".concat(e,"/CheckDatabaseStatus");return a.post(o,{data:t,customType:"model",check:"object"})}),t("getSoftStatus",function(t){return a.post("/panel/public/get_soft_status",{data:t,check:"object",customType:"model"})}),t("setPassword",function(t){return a.post("database/ResDatabasePassword",{data:t,check:"object"})}),t("setsModulesPassword",function(t,e){return a.post("database/".concat(e,"/ResDatabasePassword"),{customType:"model",data:t,check:"object"})}),t("getTableInfo",function(t){return a.post("database/GetInfo",{data:t,check:"object"})}),t("getModulesTableInfo",function(t,e){return a.post("database/".concat(e,"/GetInfo"),{customType:"model",data:t,check:"object"})}),t("modifyTableComment",function(t){return a.post("database/ModifyTableComment",{data:t,check:"object"})}),t("exportTableStr",function(t){return a.post("database/export_table_structure",{data:t,check:"object"})}),t("conversionTable",function(t){return a.post("database/AlTable",{data:t,check:"object"})}),t("optimizeTable",function(t){return a.post("database/OpTable",{data:t,check:"object"})}),t("repairTable",function(t){return a.post("database/ReTable",{data:t,check:"object"})}),t("addModulesDatabase",function(t,e){return a.post("database/".concat(e,"/AddDatabase"),{customType:"model",data:{data:JSON.stringify(t)},check:"object"})}),t("addDatabase",function(t){return a.post("database/AddDatabase",{data:t,check:"object"})}),t("getImportSize",function(t){return a.post("database/GetImportSize",{data:t,check:"object"})}),t("getBackupSize",function(t){return a.post("database/GetBackupSize",{data:t,check:"object"})}),t("getModulePermission",function(t,e){return a.post("database/".concat(e,"/GetDatabaseAccess"),{data:t,check:"object",customType:"model"})}),t("setModulePermission",function(t,e){return a.post("database/".concat(e,"/SetDatabaseAccess"),{data:t,check:"object",customType:"model"})}),t("syncDataToServer",function(t,e){return 0===e?a.post("database/SyncToDatabases&type=".concat(e),{data:t,check:"object"}):a.post("/datalist/batch/batch_sync_db_to_server",{data:t,check:"object",customType:"model"})}),t("syncModuleDataToServer",function(t,e){return a.post("database/".concat(e,"/SyncToDatabases"),{customType:"model",data:t,check:"object"})}),t("syncDataToPanel",function(t){return a.post("database/SyncGetDatabases",{data:t,check:"msg"})}),t("syncModuleDataToPanel",function(t,e){return a.post("database/".concat(e,"/SyncGetDatabases"),{customType:"model",data:t,check:"msg"})}),t("setAuthStatus",function(t){return a.post("database/mongodb/set_auth_status",{customType:"model",data:t,check:"msg"})}),t("getMysqlList",function(t){return a.post("datalist/data/get_data_list",{customType:"model",data:t,check:"object"})}),t("getModulesList",function(t,e){return a.post("database/".concat(e,"/get_list"),{customType:"model",data:t,check:"object"})}),t("getMysqlCloudServer",function(){return a.post("database/GetCloudServer",{check:"array"})}),t("getModulesCloudServer",function(t,e){return a.post("database/".concat(e,"/GetCloudServer"),{customType:"model",check:"array",data:t})}),t("getMongodbConfig",function(){return a.post("database/mongodb/get_root_pwd",{customType:"model",check:"object"})}),t("setupPassword",function(t){return a.post("database/SetupPassword",{data:t,check:"msg"})}),t("removeServer",function(t){return a.post("database/RemoveCloudServer",{data:t,check:"object"})}),t("removeModuleServer",function(t,e){return a.post("database/".concat(e,"/RemoveCloudServer"),{customType:"model",data:t,check:"object"})}),t("addServer",function(t){return a.post("database/AddCloudServer",{data:t,check:"object"})}),t("addModulesServer",function(t,e){return a.post("database/".concat(e,"/AddCloudServer"),{customType:"model",data:t,check:"object"})}),t("modifyServer",function(t){return a.post("database/ModifyCloudServer",{data:t,check:"object"})}),t("modifyModulesServer",function(t,e){return a.post("database/".concat(e,"/ModifyCloudServer"),{customType:"model",data:t,check:"object"})}),t("backDatabase",function(t){return a.post("database/ToBackup",{data:t,check:"object"})}),t("batchBackMysqlData",function(t){return a.post("/datalist/batch/batch_backup_mysql",{data:t,check:"object",customType:"model"})}),t("backModuleDatabase",function(t,e){return a.post("database/".concat(e,"/ToBackup"),{customType:"model",data:t,check:"object"})}),t("delBackup",function(t){return a.post("database/DelBackup",{data:t,check:"object"})}),t("restoreBack",function(t){return a.post("database/InputSql",{data:t,check:"object"})}),t("restoreModuleBack",function(t,e){return a.post("database/".concat(e,"/InputSql"),{data:t,check:"object",customType:"model"})}),t("backupDownload",function(t){return a.post("crontab/cloud_backup_download",{data:t})}),t("getBackup",function(t){return a.post("database/GetBackup",{data:t,check:"object"})}),t("getModulesBackup",function(t,e){return a.post("database/".concat(e,"/GetBackup"),{data:t,check:"object",customType:"model"})}),t("checkDelData",function(t){return a.post("database/check_del_data",{data:t,check:"object"})}),t("checkModulesDelData",function(t,e){return a.post("database/".concat(e,"/check_del_data"),{data:t,customType:"model",check:"object"})}),t("deleteDatabase",function(t,e){return e?a.post("database/".concat(e,"/DeleteDatabase"),{data:{data:JSON.stringify(t)},check:"msg",customType:"model"}):a.post("database/DeleteDatabase",{data:t,check:"msg"})}),t("batchDelMysqlData",function(t){return a.post("/datalist/batch/batch_delete_database",{data:t,check:"object",customType:"model"})}),t("setPgSqlPassword",function(t){return a.post("database/pgsql/set_root_pwd",{data:t,check:"object",customType:"model"})}),t("getPgSqlPassword",function(){return a.post("database/pgsql/get_root_pwd",{check:"object",customType:"model"})}),t("getRedisKey",function(t){return a.post("database/redis/get_list",{customType:"model",data:t,check:"array"})}),t("getRedisKeyValue",function(t){return a.post("database/redis/get_db_keylist",{customType:"model",check:"object",data:t})}),t("clearRedisDb",function(t){return a.post("database/redis/clear_flushdb",{data:t,check:"object",customType:"model"})}),t("getRedisBackupList",function(t){return a.post("database/redis/get_backup_list",{data:t,customType:"model",check:"array"})}),t("setRedisValue",function(t){return a.post("database/redis/set_redis_val",{data:t,check:"object",customType:"model"})}),t("delRedisValue",function(t){return a.post("database/redis/del_redis_val",{data:t,check:"object",customType:"model"})}),t("delBatchRedisValue",function(t){return a.post("/datalist/batch/batch_delete_redis",{data:t,check:"object",customType:"model"})}),t("getMysqlRootPwd",function(t){return a.post("data/getKey",{data:t,check:"string"})}),t("getMysqlAllBackup",function(t){return a.post("database/GetAllBackup",{data:t,check:"object"})}),t("getMysqlBackupInfo",function(t){return a.post("database/GetBackupInfo",{data:t,check:"object"})}),t("inputDatabase",function(t){return a.post("database/InputSqlAll",{data:t,check:"msg"})}),t("getBackupDatabase",function(t){return a.post("database/GetBackupDatabase",{data:t,check:"object"})}),t("backupDatabase",function(t){return a.post("database/ToBackupAll",{data:t,check:"object"})}),t("getPermission",function(t){return a.post("database/GetDatabaseAccess",{data:t,check:"msg"})}),t("setPermission",function(t){return a.post("database/SetDatabaseAccess",{data:t,check:"object"})}),t("getBinlogStatus",function(){return a.post("project/binlog/get_binlog_status",{customType:"model",check:"object"})}),t("getDatabaseOptions",function(){return a.post("project/binlog/get_databases",{customType:"model",check:"object"})}),t("getIncrementBackData",function(t){return a.post("project/binlog/get_increment_crontab",{data:t,check:"object",customType:"model"})}),t("startIncrementTask",function(t){return a.post("crontab/StartTask",{data:t,check:"object"})}),t("getIncrementLogs",function(t){return a.post("crontab/GetLogs",{data:t,check:"object"})}),t("clearIncrementLog",function(t){return a.post("crontab/DelLogs",{data:t,check:"object"})}),t("delIncrementData",function(t){return a.post("crontab/DelCrontab",{data:t,check:"object"})}),t("getIncrementRecord",function(t){return a.post("project/binlog/get_backup",{data:t,customType:"model",check:"object"})}),t("restoreRecord",function(t){return a.post("project/binlog/restore_time_database",{data:t,customType:"model",check:"msg"})}),t("outRecord",function(t){return a.post("project/binlog/export_time_database",{data:t,customType:"model",check:"object"})}),t("modifyIncrementData",function(t){return a.post("project/binlog/modify_mysql_increment_crontab",{data:t,customType:"model",check:"msg"})}),t("addIncrementData",function(t){return a.post("project/binlog/add_mysql_increment_crontab",{data:t,customType:"model",check:"msg"})}),t("addDatabaseQuota",function(t){return a.post("project/quota/modify_database_quota",{data:{data:t},customType:"model",check:"msg"})}),t("restoreDataAuth",function(t){return a.post("project/quota/recover_database_insert_accept",{customType:"model",data:t,check:"msg"})}),t("getImportLog",function(){return a.post("database/GetImportLog",{check:"msg"})}),t("getImportStatus",function(){return a.post("database/GetImportStatus",{check:"object"})}),t("setRestartTask",function(t){return a.post("database/set_restart_task",{data:t,check:"msg"})}),t("getRestartTask",function(){return a.post("database/get_restart_task",{check:"ignore"})}),t("getMysqlInfo",function(){return a.post("panel/sitelink/get_mysql_info",{customType:"model",check:"array"})}),t("getSiteInfo",function(){return a.post("panel/sitelink/get_site_info",{check:"array",customType:"model"})}),t("modifyFtpLink",function(t){return a.post("panel/sitelink/modify_ftp_link",{data:t,check:"msg",customType:"model"})}),t("modifyMysqlLink",function(t){return a.post("panel/sitelink/modify_mysql_link",{data:t,check:"msg",customType:"model"})}),t("getFtpInfo",function(){return a.post("panel/sitelink/get_ftp_info",{customType:"model"})}),t("delIndexList",function(t){return a.post("project/sphinx_search/del_index_list",{data:t,customType:"model",check:"object"})}),t("getIndexList",function(t){return a.post("project/sphinx_search/get_index_list",{data:t,customType:"model",check:"object"})}),t("getSphinxDatabase",function(t){return a.post("project/sphinx_search/get_database",{data:t,customType:"model",check:"object"})}),t("getUserData",function(t){return a.post("database/GetMysqlUser",{data:t,check:"object"})}),t("setPushStatus",function(t){return a.post("push/set_push_status",{data:t,check:"object"})}),t("delMysqlUser",function(t){return a.post("database/DelMysqlUser",{data:t,check:"msg"})}),t("exportUserData",function(t){return a.post("database/GetUserGrants",{data:t,check:"string"})}),t("getDatabasesList",function(t){return a.post("database/GetDatabasesList",{data:t,check:"object"})}),t("addUser",function(t){return a.post("database/AddMysqlUser",{data:t,check:"msg"})}),t("delUserGrants",function(t){return a.post("database/DelUserGrants",{data:t,check:"msg"})}),t("addUserGrants",function(t){return a.post("database/AddUserGrants",{data:t,check:"msg"})}),t("changeUserPass",function(t){return a.post("database/ChangeUserPass",{data:t,check:"msg"})}),t("getAutoConfig",function(t){return a.post("crontab/get_auto_config",{data:t,check:"msg"})}),t("setAutoConfig",function(t){return a.post("crontab/set_auto_config",{data:t,check:"msg"})}),t("getDbTypes",function(t){return a.post("database/view_database_types",{data:t,check:"object"})}),t("addDbTypes",function(t){return a.post("database/add_database_types",{data:t,check:"object"})}),t("delDbTypes",function(t){return a.post("database/delete_database_types",{data:t,check:"object"})}),t("modifyDbTypes",function(t){return a.post("database/update_database_types",{data:t,check:"object"})}),t("setPgSqlAuth",function(t){return a.post("/database/pgsql/modify_pgsql_listen_ip",{data:t,check:"object",customType:"model"})}),t("syncToSqlite",function(t,e){return a.post("database/SyncToDatabases&type=".concat(e),{data:t,check:"msg"})}),t("getSqliteTableList",function(t){return a.post("database/sqlite/get_table_list",{data:{data:JSON.stringify(t)},customType:"model",check:"array"})}),t("querySql",function(t){return a.post("database/sqlite/query_sql",{data:{data:JSON.stringify(t)},customType:"model",check:"object"})}),t("getSqliteTableInfo",function(t){return a.post("database/sqlite/get_table_info",{data:{data:JSON.stringify(t)},customType:"model",check:"object"})}),t("getSqliteKeys",function(t){return a.post("database/sqlite/get_keys_bytable",{data:{data:JSON.stringify(t)},customType:"model",check:"array"})}),t("deleteTableData",function(t){return a.post("database/sqlite/delete_table_data",{data:{data:JSON.stringify(t)},customType:"model",check:"msg"})}),t("createTableData",function(t){return a.post("database/sqlite/create_table_data",{data:t,customType:"model",check:"msg"})}),t("updateTableData",function(t){return a.post("database/sqlite/update_table_info",{data:t,customType:"model",check:"msg"})}),t("getSqliteBackup",function(t){return a.post("database/sqlite/get_backup_list",{data:t,customType:"model",check:"array"})}),t("delSqliteBackup",function(t){return a.post("database/sqlite/DelBackup",{data:t,customType:"model",check:"msg"})}),t("backupSqlite",function(t){return a.post("database/sqlite/ToBackup",{data:t,customType:"model",check:"msg"})}),t("setDbTypes",function(t){return a.post("/datalist/batch/batch_set_mysql_type",{data:t,check:"object",customType:"model"})}),t("getDatabaseTimeOut",function(){return a.post("database/GetTimeOut",{check:"object"})}),t("setDatabaseTimeOut",function(t){return a.post("database/SetTimeOut",{data:t,check:"object"})}),t("getDatabasePasswordConfig",function(){return a.post("database/GetValidatePasswordConfig",{check:"object"})}),t("setDatabasePasswordConfig",function(t){return a.post("database/SetValidatePasswordConfig",{data:t,check:"object"})}),t("getDatabaseLoginLimit",function(){return a.post("database/GetLoginFailed",{check:"object"})}),t("setDatabaseLoginLimit",function(t){return a.post("database/SetLoginFailed",{data:t,check:"object"})}),t("getDatabaseAuditLog",function(){return a.post("database/GetAuditLogConfig",{check:"object"})}),t("setDatabaseAuditLog",function(t){return a.post("database/SetAuditLogConfig",{data:t,check:"object"})}),t("getAuditAdvDatabaseList",function(){return a.post("database/GetDatabaseList",{data:{id:0},check:"array"})}),t("getAuditAdvUserList",function(){return a.post("database/GeUserHostList",{data:{id:0},check:"array"})}),t("getAuditAdvOrderList",function(){return a.post("database/GetMysqlCommands",{data:{id:0},check:"array"})}),t("setDatabaseAuditLogRules",function(t){return a.post("database/SetAuditLogRules",{data:t,check:"msg"})}),t("getAuditLog",function(){return a.post("database/GetAuditLog",{check:"msg"})}),t("databaseQuotaCheck",function(){return a.post("project/quota/database_quota_check",{check:"number",customType:"model"})}),t("checkDatabasePass",function(t){return a.post("database/is_zip_password_protected",{data:t,check:"boolean"})}),t("backupSqliteData",function(t){return a.post("/datalist/batch/batch_backup_sqlite",{data:t,check:"object",customType:"model"})}),t("deleteSqliteData",function(t){return a.post("/datalist/batch/batch_delete_sqlite",{data:t,check:"object",customType:"model"})}),t("batchSetMysqlAuth",function(t){return a.post("/datalist/batch/batch_set_mysql_access",{data:t,check:"object",customType:"model"})}),t("getIncrementBackupInfo",function(t){return a.post("/mod/mysql_binlog_backup/com/get_db_info",{data:t,check:"object",customType:"model"})}),t("addIncrementTask",function(t){return a.post("/mod/mysql_binlog_backup/com/add_binlog_backup_task",{data:t,check:"msg",customType:"model"})}),t("getBinlogBackupTask",function(t){return a.post("/mod/mysql_binlog_backup/com/get_backup_task_list",{data:t,check:"object",customType:"model"})}),t("getBinlogBackupFiles",function(t){return a.post("/mod/mysql_binlog_backup/com/get_backup_files_list",{data:t,check:"object",customType:"model"})}),t("delBinlogBackupTask",function(t){return a.post("/mod/mysql_binlog_backup/com/del_binlog_backup_task",{data:t,check:"msg",customType:"model"})}),t("getBinlogBackupLogs",function(t){return a.post("/mod/mysql_binlog_backup/com/get_backup_logs",{data:t,check:"object",customType:"model"})}),t("deleteBinlogBackupFile",function(t){return a.post("/mod/mysql_binlog_backup/com/delete_backup_file",{data:t,check:"msg",customType:"model"})}),t("restoreBinlogData",function(t){return a.post("/mod/mysql_binlog_backup/com/restore_binlog_data",{data:t,check:"object",customType:"model"})}),t("getRestoreProgress",function(t){return a.post("/mod/mysql_binlog_backup/com/get_restore_progress",{data:t,check:"object",customType:"model"})}),t("clearBinlogBackup",function(t){return a.post("/mod/mysql_binlog_backup/com/cleanup_all_backups",{data:t,check:"msg",customType:"model"})}),t("initSystemMysql",function(t){return a.post("database/InitSystemMysql",{data:t,check:"msg"})}),t("getCollectionData",function(t){return a.post("database/mongodb/GetCollectionData",{customType:"model",data:t,check:"msg"})}),t("insertCollectionData",function(t){return a.post("database/mongodb/InsertCollectionData",{customType:"model",data:t,check:"msg"})}),t("replaceCollectionData",function(t){return a.post("database/mongodb/ReplaceCollectionData",{customType:"model",data:t,check:"msg"})}),t("deleteCollectionData",function(t){return a.post("database/mongodb/DeleteCollectionData",{customType:"model",data:t,check:"msg"})}),t("deleteCollection",function(t){return a.post("database/mongodb/DeleteCollection",{customType:"model",data:t,check:"msg"})}),t("batchEditMysqlPassword",function(t){return a.post("/datalist/batch/batch_set_mysql_password",{customType:"model",data:t,check:"msg"})})}}});