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.3.2
Opens a new window with list of versions in this module.
Published: Jun 9, 2023
License: GPL-3.0
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
-
func ErrorWithDetail(ctx *gin.Context, code int, msgKey string, err error)
-
func GeneratePaginationFromReq(c *gin.Context) (*dto.PageInfo, bool)
-
func GetIntParamByKey(c *gin.Context, key string) (uint, error)
-
func GetParamID(c *gin.Context) (uint, error)
-
func GetStrParamByKey(c *gin.Context, key string) (string, error)
-
func GetTxAndContext() (tx *gorm.DB, ctx context.Context)
-
func SuccessWithData(ctx *gin.Context, data interface{})
-
func SuccessWithMsg(ctx *gin.Context, msg string)
-
func SuccessWithOutData(ctx *gin.Context)
func SuccessWithData(ctx *gin.Context, data interface{})
Source Files
¶
Click to show internal directories.
Click to hide internal directories.