日常查询由mysql改为clickhouse
This commit is contained in:
18
EdgeNode/internal/waf/injectionutils/utils_sqli_nocgo.go
Normal file
18
EdgeNode/internal/waf/injectionutils/utils_sqli_nocgo.go
Normal file
@@ -0,0 +1,18 @@
|
||||
// Copyright 2023 GoEdge CDN goedge.cdn@gmail.com. All rights reserved. Official site: https://goedge.cn .
|
||||
//go:build !cgo
|
||||
|
||||
package injectionutils
|
||||
|
||||
import (
|
||||
"github.com/TeaOSLab/EdgeNode/internal/waf/utils"
|
||||
)
|
||||
|
||||
// DetectSQLInjectionCache detect sql injection in string with cache
|
||||
func DetectSQLInjectionCache(input string, isStrict bool, cacheLife utils.CacheLife) bool {
|
||||
return false
|
||||
}
|
||||
|
||||
// DetectSQLInjection detect sql injection in string
|
||||
func DetectSQLInjection(input string, isStrict bool) bool {
|
||||
return false
|
||||
}
|
||||
Reference in New Issue
Block a user