Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormhsanaei <ho3ein.sanaei@gmail.com>2025-09-21 18:39:30 +0300
committermhsanaei <ho3ein.sanaei@gmail.com>2025-09-21 18:39:30 +0300
commiteacfbc86b5f7ba08c4be1bdf14a3d552aeb1874b (patch)
treef2c83ddd5f69867292a8ee8a506c9cc07ddd700b /main.go
parent37c17357fc45b9acec387f3097be5db074ce880d (diff)
security fix: Command built from user-controlled sources CWE-78
https://cwe.mitre.org/data/definitions/78.html https://owasp.org/www-community/attacks/Command_Injection
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 119dc4d9..8ab8b13f 100644
--- a/main.go
+++ b/main.go
@@ -35,7 +35,7 @@ func runWebServer() {
logger.InitLogger(logging.INFO)
case config.Notice:
logger.InitLogger(logging.NOTICE)
- case config.Warn:
+ case config.Warning:
logger.InitLogger(logging.WARNING)
case config.Error:
logger.InitLogger(logging.ERROR)