Affected by GO-2024-2531
and 5 other vulnerabilities
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.8.1
Opens a new window with list of versions in this module.
Published: Nov 10, 2023
License: GPL-3.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func ValidCode(code, intervalStr, secret string) bool
type Otp struct {
Secret string `json:"secret"`
QrImage string `json:"qrImage"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.