Versions in this module Expand all Collapse all v2 v2.2.27 Jul 28, 2024 GO-2025-3844 GO-2025-3844: RatPanel can perform remote command execution without authorization in github.com/tnborg/panel in github.com/TheTNB/panel v2.2.26 Jul 13, 2024 GO-2025-3844 GO-2025-3844: RatPanel can perform remote command execution without authorization in github.com/tnborg/panel in github.com/TheTNB/panel Changes in this version + type Fail2banController struct + func NewFail2banController() *Fail2banController + func (r *Fail2banController) Add(ctx http.Context) http.Response + func (r *Fail2banController) BanList(ctx http.Context) http.Response + func (r *Fail2banController) Delete(ctx http.Context) http.Response + func (r *Fail2banController) GetWhiteList(ctx http.Context) http.Response + func (r *Fail2banController) List(ctx http.Context) http.Response + func (r *Fail2banController) SetWhiteList(ctx http.Context) http.Response + func (r *Fail2banController) Unban(ctx http.Context) http.Response + type FrpController struct + func NewFrpController() *FrpController + func (r *FrpController) GetConfig(ctx http.Context) http.Response + func (r *FrpController) UpdateConfig(ctx http.Context) http.Response + type GiteaController struct + func NewGiteaController() *GiteaController + func (r *GiteaController) GetConfig(ctx http.Context) http.Response + func (r *GiteaController) UpdateConfig(ctx http.Context) http.Response + type MySQLController struct + func NewMySQLController() *MySQLController + func (r *MySQLController) AddDatabase(ctx http.Context) http.Response + func (r *MySQLController) AddUser(ctx http.Context) http.Response + func (r *MySQLController) BackupList(ctx http.Context) http.Response + func (r *MySQLController) ClearErrorLog(ctx http.Context) http.Response + func (r *MySQLController) ClearSlowLog(ctx http.Context) http.Response + func (r *MySQLController) CreateBackup(ctx http.Context) http.Response + func (r *MySQLController) DatabaseList(ctx http.Context) http.Response + func (r *MySQLController) DeleteBackup(ctx http.Context) http.Response + func (r *MySQLController) DeleteDatabase(ctx http.Context) http.Response + func (r *MySQLController) DeleteUser(ctx http.Context) http.Response + func (r *MySQLController) ErrorLog(ctx http.Context) http.Response + func (r *MySQLController) GetConfig(ctx http.Context) http.Response + func (r *MySQLController) GetRootPassword(ctx http.Context) http.Response + func (r *MySQLController) Load(ctx http.Context) http.Response + func (r *MySQLController) RestoreBackup(ctx http.Context) http.Response + func (r *MySQLController) SaveConfig(ctx http.Context) http.Response + func (r *MySQLController) SetRootPassword(ctx http.Context) http.Response + func (r *MySQLController) SetUserPassword(ctx http.Context) http.Response + func (r *MySQLController) SetUserPrivileges(ctx http.Context) http.Response + func (r *MySQLController) SlowLog(ctx http.Context) http.Response + func (r *MySQLController) UploadBackup(ctx http.Context) http.Response + func (r *MySQLController) UserList(ctx http.Context) http.Response + type OpenRestyController struct + func NewOpenrestyController() *OpenRestyController + func (r *OpenRestyController) ClearErrorLog(ctx http.Context) http.Response + func (r *OpenRestyController) ErrorLog(ctx http.Context) http.Response + func (r *OpenRestyController) GetConfig(ctx http.Context) http.Response + func (r *OpenRestyController) Load(ctx http.Context) http.Response + func (r *OpenRestyController) SaveConfig(ctx http.Context) http.Response + type PHPController struct + func NewPHPController() *PHPController + func (r *PHPController) ClearErrorLog(ctx http.Context) http.Response + func (r *PHPController) ClearSlowLog(ctx http.Context) http.Response + func (r *PHPController) ErrorLog(ctx http.Context) http.Response + func (r *PHPController) ExtensionList(ctx http.Context) http.Response + func (r *PHPController) GetConfig(ctx http.Context) http.Response + func (r *PHPController) GetFPMConfig(ctx http.Context) http.Response + func (r *PHPController) InstallExtension(ctx http.Context) http.Response + func (r *PHPController) Load(ctx http.Context) http.Response + func (r *PHPController) SaveConfig(ctx http.Context) http.Response + func (r *PHPController) SaveFPMConfig(ctx http.Context) http.Response + func (r *PHPController) SlowLog(ctx http.Context) http.Response + func (r *PHPController) UninstallExtension(ctx http.Context) http.Response + type PhpMyAdminController struct + func NewPhpMyAdminController() *PhpMyAdminController + func (r *PhpMyAdminController) GetConfig(ctx http.Context) http.Response + func (r *PhpMyAdminController) Info(ctx http.Context) http.Response + func (r *PhpMyAdminController) SaveConfig(ctx http.Context) http.Response + func (r *PhpMyAdminController) SetPort(ctx http.Context) http.Response + type PodmanController struct + func NewPodmanController() *PodmanController + func (r *PodmanController) GetRegistryConfig(ctx http.Context) http.Response + func (r *PodmanController) GetStorageConfig(ctx http.Context) http.Response + func (r *PodmanController) UpdateRegistryConfig(ctx http.Context) http.Response + func (r *PodmanController) UpdateStorageConfig(ctx http.Context) http.Response + type PostgreSQLController struct + func NewPostgreSQLController() *PostgreSQLController + func (r *PostgreSQLController) AddDatabase(ctx http.Context) http.Response + func (r *PostgreSQLController) AddRole(ctx http.Context) http.Response + func (r *PostgreSQLController) BackupList(ctx http.Context) http.Response + func (r *PostgreSQLController) ClearLog(ctx http.Context) http.Response + func (r *PostgreSQLController) CreateBackup(ctx http.Context) http.Response + func (r *PostgreSQLController) DatabaseList(ctx http.Context) http.Response + func (r *PostgreSQLController) DeleteBackup(ctx http.Context) http.Response + func (r *PostgreSQLController) DeleteDatabase(ctx http.Context) http.Response + func (r *PostgreSQLController) DeleteRole(ctx http.Context) http.Response + func (r *PostgreSQLController) GetConfig(ctx http.Context) http.Response + func (r *PostgreSQLController) GetUserConfig(ctx http.Context) http.Response + func (r *PostgreSQLController) Load(ctx http.Context) http.Response + func (r *PostgreSQLController) Log(ctx http.Context) http.Response + func (r *PostgreSQLController) RestoreBackup(ctx http.Context) http.Response + func (r *PostgreSQLController) RoleList(ctx http.Context) http.Response + func (r *PostgreSQLController) SaveConfig(ctx http.Context) http.Response + func (r *PostgreSQLController) SaveUserConfig(ctx http.Context) http.Response + func (r *PostgreSQLController) SetRolePassword(ctx http.Context) http.Response + func (r *PostgreSQLController) UploadBackup(ctx http.Context) http.Response + type PureFtpdController struct + func NewPureFtpdController() *PureFtpdController + func (r *PureFtpdController) Add(ctx http.Context) http.Response + func (r *PureFtpdController) ChangePassword(ctx http.Context) http.Response + func (r *PureFtpdController) Delete(ctx http.Context) http.Response + func (r *PureFtpdController) GetPort(ctx http.Context) http.Response + func (r *PureFtpdController) List(ctx http.Context) http.Response + func (r *PureFtpdController) SetPort(ctx http.Context) http.Response + type RedisController struct + func NewRedisController() *RedisController + func (r *RedisController) GetConfig(ctx http.Context) http.Response + func (r *RedisController) Load(ctx http.Context) http.Response + func (r *RedisController) SaveConfig(ctx http.Context) http.Response + type RsyncController struct + func NewRsyncController() *RsyncController + func (r *RsyncController) Create(ctx http.Context) http.Response + func (r *RsyncController) Destroy(ctx http.Context) http.Response + func (r *RsyncController) GetConfig(ctx http.Context) http.Response + func (r *RsyncController) List(ctx http.Context) http.Response + func (r *RsyncController) Update(ctx http.Context) http.Response + func (r *RsyncController) UpdateConfig(ctx http.Context) http.Response + type S3fsController struct + func NewS3fsController() *S3fsController + func (r *S3fsController) Add(ctx http.Context) http.Response + func (r *S3fsController) Delete(ctx http.Context) http.Response + func (r *S3fsController) List(ctx http.Context) http.Response + type SupervisorController struct + func NewSupervisorController() *SupervisorController + func (r *SupervisorController) AddProcess(ctx http.Context) http.Response + func (r *SupervisorController) ClearLog(ctx http.Context) http.Response + func (r *SupervisorController) ClearProcessLog(ctx http.Context) http.Response + func (r *SupervisorController) Config(ctx http.Context) http.Response + func (r *SupervisorController) DeleteProcess(ctx http.Context) http.Response + func (r *SupervisorController) Log(ctx http.Context) http.Response + func (r *SupervisorController) ProcessConfig(ctx http.Context) http.Response + func (r *SupervisorController) ProcessLog(ctx http.Context) http.Response + func (r *SupervisorController) Processes(ctx http.Context) http.Response + func (r *SupervisorController) RestartProcess(ctx http.Context) http.Response + func (r *SupervisorController) SaveConfig(ctx http.Context) http.Response + func (r *SupervisorController) SaveProcessConfig(ctx http.Context) http.Response + func (r *SupervisorController) Service(ctx http.Context) http.Response + func (r *SupervisorController) StartProcess(ctx http.Context) http.Response + func (r *SupervisorController) StopProcess(ctx http.Context) http.Response + type ToolBoxController struct + func NewToolBoxController() *ToolBoxController + func (r *ToolBoxController) GetDNS(ctx http.Context) http.Response + func (r *ToolBoxController) GetHosts(ctx http.Context) http.Response + func (r *ToolBoxController) GetSWAP(ctx http.Context) http.Response + func (r *ToolBoxController) GetTimezone(ctx http.Context) http.Response + func (r *ToolBoxController) SetDNS(ctx http.Context) http.Response + func (r *ToolBoxController) SetHosts(ctx http.Context) http.Response + func (r *ToolBoxController) SetRootPassword(ctx http.Context) http.Response + func (r *ToolBoxController) SetSWAP(ctx http.Context) http.Response + func (r *ToolBoxController) SetTimezone(ctx http.Context) http.Response