Affected by GO-2023-1887
and 8 other vulnerabilities
GO-2023-1887: 1Panel vulnerable to command injection when adding container repositories in github.com/1Panel-dev/1Panel
GO-2023-1888: 1Panel vulnerable to command injection when entering the container terminal in github.com/1Panel-dev/1Panel
GO-2023-1940: 1Panel command injection vulnerability in Firewall ip functionality in github.com/1Panel-dev/1Panel
GO-2024-2531: 1Panel set-cookie is missing the Secure keyword in github.com/1Panel-dev/1Panel
GO-2024-2613: Unauthorized Console access in github.com/1Panel-dev/1Panel
GO-2024-2636: 1Panel is vulnerable to command injection in github.com/1Panel-dev/1Panel
GO-2024-2734: 1Panel's password verification is suspected to have a timing attack vulnerability in github.com/1Panel-dev/1Panel
GO-2024-2990: 1Panel has an SQL injection issue related to the orderBy clause in github.com/1Panel-dev/1Panel
GO-2024-2992: 1Panel SQL injection in github.com/1Panel-dev/1Panel
package
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Mar 13, 2023
License: GPL-3.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type LogConfig struct {
Level string `mapstructure:"level"`
TimeZone string `mapstructure:"timeZone"`
LogName string `mapstructure:"log_name"`
LogSuffix string `mapstructure:"log_suffix"`
MaxBackup int `mapstructure:"max_backup"`
}
type ServerConfig struct {
BaseDir string `mapstructure:"base_dir"`
System System `mapstructure:"system"`
LogConfig LogConfig `mapstructure:"log"`
}
type System struct {
Port string `mapstructure:"port"`
DbFile string `mapstructure:"db_file"`
DbPath string `mapstructure:"db_path"`
LogPath string `mapstructure:"log_path"`
DataDir string `mapstructure:"data_dir"`
TmpDir string `mapstructure:"tmp_dir"`
Cache string `mapstructure:"cache"`
Backup string `mapstructure:"backup"`
EncryptKey string `mapstructure:"encrypt_key"`
BaseDir string `mapstructure:"base_dir"`
Mode string `mapstructure:"mode"`
RepoUrl string `mapstructure:"repo_url"`
IsDemo bool `mapstructure:"is_demo"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.