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.js
import{u as e}from"./utils-lib.js?v=1777008528";import"./base-lib.js?v=1777008528";import"./__commonjsHelpers__.js?v=1777008528";const b=t=>e.post("database/CheckDatabaseStatus",{data:t,customType:"default",check:"object"}),n=(t,s)=>{const o="database/".concat(s,"/CheckDatabaseStatus");return e.post(o,{data:t,customType:"model",check:"object"})},p=t=>e.post("/panel/public/get_soft_status",{data:t,check:"object",customType:"model"}),l=t=>e.post("database/ResDatabasePassword",{data:t,check:"object"}),m=(t,s)=>e.post("database/".concat(s,"/ResDatabasePassword"),{customType:"model",data:t,check:"object"}),r=t=>e.post("database/GetInfo",{data:t,check:"object"}),u=(t,s)=>e.post("database/".concat(s,"/GetInfo"),{customType:"model",data:t,check:"object"}),i=t=>e.post("database/ModifyTableComment",{data:t,check:"object"}),k=t=>e.post("database/export_table_structure",{data:t,check:"object"}),g=t=>e.post("database/AlTable",{data:t,check:"object"}),h=t=>e.post("database/OpTable",{data:t,check:"object"}),y=t=>e.post("database/ReTable",{data:t,check:"object"}),_=(t,s)=>e.post("database/".concat(s,"/AddDatabase"),{customType:"model",data:{data:JSON.stringify(t)},check:"object"}),T=t=>e.post("database/AddDatabase",{data:t,check:"object"}),j=t=>e.post("database/GetImportSize",{data:t,check:"object"}),D=t=>e.post("database/GetBackupSize",{data:t,check:"object"}),q=(t,s)=>e.post("database/".concat(s,"/GetDatabaseAccess"),{data:t,check:"object",customType:"model"}),S=(t,s)=>e.post("database/".concat(s,"/SetDatabaseAccess"),{data:t,check:"object",customType:"model"}),f=(t,s)=>s===0?e.post("database/SyncToDatabases&type=".concat(s),{data:t,check:"object"}):e.post("/datalist/batch/batch_sync_db_to_server",{data:t,check:"object",customType:"model"}),B=(t,s)=>e.post("database/".concat(s,"/SyncToDatabases"),{customType:"model",data:t,check:"object"}),C=t=>e.post("database/SyncGetDatabases",{data:t,check:"msg"}),M=(t,s)=>e.post("database/".concat(s,"/SyncGetDatabases"),{customType:"model",data:t,check:"msg"}),A=t=>e.post("database/mongodb/set_auth_status",{customType:"model",data:t,check:"msg"}),L=t=>e.post("datalist/data/get_data_list",{customType:"model",data:t,check:"object"}),G=(t,s)=>e.post("database/".concat(s,"/get_list"),{customType:"model",data:t,check:"object"}),I=()=>e.post("database/GetCloudServer",{check:"array"}),v=(t,s)=>e.post("database/".concat(s,"/GetCloudServer"),{customType:"model",check:"array",data:t}),P=()=>e.post("database/mongodb/get_root_pwd",{customType:"model",check:"object"}),w=t=>e.post("database/SetupPassword",{data:t,check:"msg"}),R=t=>e.post("database/RemoveCloudServer",{data:t,check:"object"}),$=(t,s)=>e.post("database/".concat(s,"/RemoveCloudServer"),{customType:"model",data:t,check:"object"}),U=t=>e.post("database/AddCloudServer",{data:t,check:"object"}),x=(t,s)=>e.post("database/".concat(s,"/AddCloudServer"),{customType:"model",data:t,check:"object"}),O=t=>e.post("database/ModifyCloudServer",{data:t,check:"object"}),J=(t,s)=>e.post("database/".concat(s,"/ModifyCloudServer"),{customType:"model",data:t,check:"object"}),N=t=>e.post("database/ToBackup",{data:t,check:"object"}),z=t=>e.post("/datalist/batch/batch_backup_mysql",{data:t,check:"object",customType:"model"}),F=(t,s)=>e.post("database/".concat(s,"/ToBackup"),{customType:"model",data:t,check:"object"}),V=t=>e.post("database/DelBackup",{data:t,check:"object"}),K=t=>e.post("database/InputSql",{data:t,check:"object"}),Q=(t,s)=>e.post("database/".concat(s,"/InputSql"),{data:t,check:"object",customType:"model"}),E=t=>e.post("crontab/cloud_backup_download",{data:t}),H=t=>e.post("database/GetBackup",{data:t,check:"object"}),W=(t,s)=>e.post("database/".concat(s,"/GetBackup"),{data:t,check:"object",customType:"model"}),X=t=>e.post("database/check_del_data",{data:t,check:"object"}),Y=(t,s)=>e.post("database/".concat(s,"/check_del_data"),{data:t,customType:"model",check:"object"}),Z=(t,s)=>s?e.post("database/".concat(s,"/DeleteDatabase"),{data:{data:JSON.stringify(t)},check:"msg",customType:"model"}):e.post("database/DeleteDatabase",{data:t,check:"msg"}),tt=t=>e.post("/datalist/batch/batch_delete_database",{data:t,check:"object",customType:"model"}),et=t=>e.post("database/pgsql/set_root_pwd",{data:t,check:"object",customType:"model"}),st=()=>e.post("database/pgsql/get_root_pwd",{check:"object",customType:"model"}),ot=t=>e.post("database/redis/get_list",{customType:"model",data:t,check:"array"}),at=t=>e.post("database/redis/get_db_keylist",{customType:"model",check:"object",data:t}),ct=t=>e.post("database/redis/clear_flushdb",{data:t,check:"object",customType:"model"}),dt=t=>e.post("database/redis/get_backup_list",{data:t,customType:"model",check:"array"}),bt=t=>e.post("database/redis/set_redis_val",{data:t,check:"object",customType:"model"}),nt=t=>e.post("database/redis/del_redis_val",{data:t,check:"object",customType:"model"}),pt=t=>e.post("/datalist/batch/batch_delete_redis",{data:t,check:"object",customType:"model"}),lt=t=>e.post("data/getKey",{data:t,check:"string"}),mt=t=>e.post("database/GetAllBackup",{data:t,check:"object"}),rt=t=>e.post("database/GetBackupInfo",{data:t,check:"object"}),ut=t=>e.post("database/InputSqlAll",{data:t,check:"msg"}),it=t=>e.post("database/GetBackupDatabase",{data:t,check:"object"}),kt=t=>e.post("database/ToBackupAll",{data:t,check:"object"}),gt=t=>e.post("database/GetDatabaseAccess",{data:t,check:"msg"}),ht=t=>e.post("database/SetDatabaseAccess",{data:t,check:"object"}),yt=()=>e.post("project/binlog/get_binlog_status",{customType:"model",check:"object"}),_t=()=>e.post("project/binlog/get_databases",{customType:"model",check:"object"}),Tt=t=>e.post("project/binlog/get_increment_crontab",{data:t,check:"object",customType:"model"}),jt=t=>e.post("crontab/StartTask",{data:t,check:"object"}),Dt=t=>e.post("crontab/GetLogs",{data:t,check:"object"}),qt=t=>e.post("crontab/DelLogs",{data:t,check:"object"}),St=t=>e.post("crontab/DelCrontab",{data:t,check:"object"}),ft=t=>e.post("project/binlog/get_backup",{data:t,customType:"model",check:"object"}),Bt=t=>e.post("project/binlog/restore_time_database",{data:t,customType:"model",check:"msg"}),Ct=t=>e.post("project/binlog/export_time_database",{data:t,customType:"model",check:"object"}),Mt=t=>e.post("project/binlog/modify_mysql_increment_crontab",{data:t,customType:"model",check:"msg"}),At=t=>e.post("project/binlog/add_mysql_increment_crontab",{data:t,customType:"model",check:"msg"}),Lt=t=>e.post("project/quota/modify_database_quota",{data:{data:t},customType:"model",check:"msg"}),Gt=t=>e.post("project/quota/recover_database_insert_accept",{customType:"model",data:t,check:"msg"}),It=()=>e.post("database/GetImportLog",{check:"msg"}),vt=()=>e.post("database/GetImportStatus",{check:"object"}),Pt=t=>e.post("database/set_restart_task",{data:t,check:"msg"}),wt=()=>e.post("database/get_restart_task",{check:"ignore"}),Rt=()=>e.post("panel/sitelink/get_mysql_info",{customType:"model",check:"array"}),$t=()=>e.post("panel/sitelink/get_site_info",{check:"array",customType:"model"}),Ut=t=>e.post("panel/sitelink/modify_ftp_link",{data:t,check:"msg",customType:"model"}),xt=t=>e.post("panel/sitelink/modify_mysql_link",{data:t,check:"msg",customType:"model"}),Ot=()=>e.post("panel/sitelink/get_ftp_info",{customType:"model"}),Jt=t=>e.post("project/sphinx_search/del_index_list",{data:t,customType:"model",check:"object"}),Nt=t=>e.post("project/sphinx_search/get_index_list",{data:t,customType:"model",check:"object"}),zt=t=>e.post("project/sphinx_search/get_database",{data:t,customType:"model",check:"object"}),Ft=t=>e.post("database/GetMysqlUser",{data:t,check:"object"}),Vt=t=>e.post("push/set_push_status",{data:t,check:"object"}),Kt=t=>e.post("database/DelMysqlUser",{data:t,check:"msg"}),Qt=t=>e.post("database/GetUserGrants",{data:t,check:"string"}),Et=t=>e.post("database/GetDatabasesList",{data:t,check:"object"}),Ht=t=>e.post("database/AddMysqlUser",{data:t,check:"msg"}),Wt=t=>e.post("database/DelUserGrants",{data:t,check:"msg"}),Xt=t=>e.post("database/AddUserGrants",{data:t,check:"msg"}),Yt=t=>e.post("database/ChangeUserPass",{data:t,check:"msg"}),Zt=t=>e.post("crontab/get_auto_config",{data:t,check:"msg"}),te=t=>e.post("crontab/set_auto_config",{data:t,check:"msg"}),ee=t=>e.post("database/view_database_types",{data:t,check:"object"}),se=t=>e.post("database/add_database_types",{data:t,check:"object"}),oe=t=>e.post("database/delete_database_types",{data:t,check:"object"}),ae=t=>e.post("database/update_database_types",{data:t,check:"object"}),ce=t=>e.post("/database/pgsql/modify_pgsql_listen_ip",{data:t,check:"object",customType:"model"}),de=(t,s)=>e.post("database/SyncToDatabases&type=".concat(s),{data:t,check:"msg"}),be=t=>e.post("database/sqlite/get_table_list",{data:{data:JSON.stringify(t)},customType:"model",check:"array"}),ne=t=>e.post("database/sqlite/query_sql",{data:{data:JSON.stringify(t)},customType:"model",check:"object"}),pe=t=>e.post("database/sqlite/get_table_info",{data:{data:JSON.stringify(t)},customType:"model",check:"object"}),le=t=>e.post("database/sqlite/get_keys_bytable",{data:{data:JSON.stringify(t)},customType:"model",check:"array"}),me=t=>e.post("database/sqlite/delete_table_data",{data:{data:JSON.stringify(t)},customType:"model",check:"msg"}),re=t=>e.post("database/sqlite/create_table_data",{data:t,customType:"model",check:"msg"}),ue=t=>e.post("database/sqlite/update_table_info",{data:t,customType:"model",check:"msg"}),ie=t=>e.post("database/sqlite/get_backup_list",{data:t,customType:"model",check:"array"}),ke=t=>e.post("database/sqlite/DelBackup",{data:t,customType:"model",check:"msg"}),ge=t=>e.post("database/sqlite/ToBackup",{data:t,customType:"model",check:"msg"}),he=t=>e.post("/datalist/batch/batch_set_mysql_type",{data:t,check:"object",customType:"model"}),ye=()=>e.post("database/GetTimeOut",{check:"object"}),_e=t=>e.post("database/SetTimeOut",{data:t,check:"object"}),Te=()=>e.post("database/GetValidatePasswordConfig",{check:"object"}),je=t=>e.post("database/SetValidatePasswordConfig",{data:t,check:"object"}),De=()=>e.post("database/GetLoginFailed",{check:"object"}),qe=t=>e.post("database/SetLoginFailed",{data:t,check:"object"}),Se=()=>e.post("database/GetAuditLogConfig",{check:"object"}),fe=t=>e.post("database/SetAuditLogConfig",{data:t,check:"object"}),Be=()=>e.post("database/GetDatabaseList",{data:{id:0},check:"array"}),Ce=()=>e.post("database/GeUserHostList",{data:{id:0},check:"array"}),Me=()=>e.post("database/GetMysqlCommands",{data:{id:0},check:"array"}),Ae=t=>e.post("database/SetAuditLogRules",{data:t,check:"msg"}),Le=()=>e.post("database/GetAuditLog",{check:"msg"}),Ge=()=>e.post("project/quota/database_quota_check",{check:"number",customType:"model"}),Ie=t=>e.post("database/is_zip_password_protected",{data:t,check:"boolean"}),ve=t=>e.post("/datalist/batch/batch_backup_sqlite",{data:t,check:"object",customType:"model"}),Pe=t=>e.post("/datalist/batch/batch_delete_sqlite",{data:t,check:"object",customType:"model"}),we=t=>e.post("/datalist/batch/batch_set_mysql_access",{data:t,check:"object",customType:"model"}),Re=t=>e.post("/mod/mysql_binlog_backup/com/get_db_info",{data:t,check:"object",customType:"model"}),$e=t=>e.post("/mod/mysql_binlog_backup/com/add_binlog_backup_task",{data:t,check:"msg",customType:"model"}),Ue=t=>e.post("/mod/mysql_binlog_backup/com/get_backup_task_list",{data:t,check:"object",customType:"model"}),xe=t=>e.post("/mod/mysql_binlog_backup/com/get_backup_files_list",{data:t,check:"object",customType:"model"}),Oe=t=>e.post("/mod/mysql_binlog_backup/com/del_binlog_backup_task",{data:t,check:"msg",customType:"model"}),Je=t=>e.post("/mod/mysql_binlog_backup/com/get_backup_logs",{data:t,check:"object",customType:"model"}),Ne=t=>e.post("/mod/mysql_binlog_backup/com/delete_backup_file",{data:t,check:"msg",customType:"model"}),ze=t=>e.post("/mod/mysql_binlog_backup/com/restore_binlog_data",{data:t,check:"object",customType:"model"}),Fe=t=>e.post("/mod/mysql_binlog_backup/com/get_restore_progress",{data:t,check:"object",customType:"model"}),Ve=t=>e.post("/mod/mysql_binlog_backup/com/cleanup_all_backups",{data:t,check:"msg",customType:"model"}),Ke=t=>e.post("database/InitSystemMysql",{data:t,check:"msg"}),Qe=t=>e.post("database/mongodb/GetCollectionData",{customType:"model",data:t,check:"msg"}),Ee=t=>e.post("database/mongodb/InsertCollectionData",{customType:"model",data:t,check:"msg"}),He=t=>e.post("database/mongodb/ReplaceCollectionData",{customType:"model",data:t,check:"msg"}),We=t=>e.post("database/mongodb/DeleteCollectionData",{customType:"model",data:t,check:"msg"}),Xe=t=>e.post("database/mongodb/DeleteCollection",{customType:"model",data:t,check:"msg"}),Ye=t=>e.post("/datalist/batch/batch_set_mysql_password",{customType:"model",data:t,check:"msg"});export{T as addDatabase,Lt as addDatabaseQuota,se as addDbTypes,At as addIncrementData,$e as addIncrementTask,_ as addModulesDatabase,x as addModulesServer,U as addServer,Ht as addUser,Xt as addUserGrants,N as backDatabase,F as backModuleDatabase,kt as backupDatabase,E as backupDownload,ge as backupSqlite,ve as backupSqliteData,z as batchBackMysqlData,tt as batchDelMysqlData,Ye as batchEditMysqlPassword,we as batchSetMysqlAuth,Yt as changeUserPass,Ie as checkDatabasePass,X as checkDelData,n as checkModuleServerConnection,Y as checkModulesDelData,b as checkServerConnection,Ve as clearBinlogBackup,qt as clearIncrementLog,ct as clearRedisDb,g as conversionTable,re as createTableData,Ge as databaseQuotaCheck,V as delBackup,pt as delBatchRedisValue,Oe as delBinlogBackupTask,oe as delDbTypes,St as delIncrementData,Jt as delIndexList,Kt as delMysqlUser,nt as delRedisValue,ke as delSqliteBackup,Wt as delUserGrants,Ne as deleteBinlogBackupFile,Xe as deleteCollection,We as deleteCollectionData,Z as deleteDatabase,Pe as deleteSqliteData,me as deleteTableData,k as exportTableStr,Qt as exportUserData,Be as getAuditAdvDatabaseList,Me as getAuditAdvOrderList,Ce as getAuditAdvUserList,Le as getAuditLog,Zt as getAutoConfig,H as getBackup,it as getBackupDatabase,D as getBackupSize,xe as getBinlogBackupFiles,Je as getBinlogBackupLogs,Ue as getBinlogBackupTask,yt as getBinlogStatus,Qe as getCollectionData,Se as getDatabaseAuditLog,De as getDatabaseLoginLimit,_t as getDatabaseOptions,Te as getDatabasePasswordConfig,ye as getDatabaseTimeOut,Et as getDatabasesList,ee as getDbTypes,Ot as getFtpInfo,It as getImportLog,j as getImportSize,vt as getImportStatus,Tt as getIncrementBackData,Re as getIncrementBackupInfo,Dt as getIncrementLogs,ft as getIncrementRecord,Nt as getIndexList,q as getModulePermission,W as getModulesBackup,v as getModulesCloudServer,G as getModulesList,u as getModulesTableInfo,P as getMongodbConfig,mt as getMysqlAllBackup,rt as getMysqlBackupInfo,I as getMysqlCloudServer,Rt as getMysqlInfo,L as getMysqlList,lt as getMysqlRootPwd,gt as getPermission,st as getPgSqlPassword,dt as getRedisBackupList,ot as getRedisKey,at as getRedisKeyValue,wt as getRestartTask,Fe as getRestoreProgress,$t as getSiteInfo,p as getSoftStatus,zt as getSphinxDatabase,ie as getSqliteBackup,le as getSqliteKeys,pe as getSqliteTableInfo,be as getSqliteTableList,r as getTableInfo,Ft as getUserData,Ke as initSystemMysql,ut as inputDatabase,Ee as insertCollectionData,ae as modifyDbTypes,Ut as modifyFtpLink,Mt as modifyIncrementData,J as modifyModulesServer,xt as modifyMysqlLink,O as modifyServer,i as modifyTableComment,h as optimizeTable,Ct as outRecord,ne as querySql,$ as removeModuleServer,R as removeServer,y as repairTable,He as replaceCollectionData,K as restoreBack,ze as restoreBinlogData,Gt as restoreDataAuth,Q as restoreModuleBack,Bt as restoreRecord,A as setAuthStatus,te as setAutoConfig,fe as setDatabaseAuditLog,Ae as setDatabaseAuditLogRules,qe as setDatabaseLoginLimit,je as setDatabasePasswordConfig,_e as setDatabaseTimeOut,he as setDbTypes,S as setModulePermission,l as setPassword,ht as setPermission,ce as setPgSqlAuth,et as setPgSqlPassword,Vt as setPushStatus,bt as setRedisValue,Pt as setRestartTask,m as setsModulesPassword,w as setupPassword,jt as startIncrementTask,C as syncDataToPanel,f as syncDataToServer,M as syncModuleDataToPanel,B as syncModuleDataToServer,de as syncToSqlite,ue as updateTableData};