package
Version:
v1.2.0
Opens a new window with list of versions in this module.
Published: Jul 5, 2024
License: AGPL-3.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func Detection(url, req, body string)
Detection 页面敏感信息检测
func KeyDetection(url, body string)
KeyDetection 页面敏感信息检测
func Wih(url, req, body string)
type ErrorMessage struct {
Text string `json:"text"`
Type string `json:"type"`
}
type Rule struct {
ID string `yaml:"id"`
Enabled bool `yaml:"enabled"`
Pattern string `yaml:"pattern"`
}
Rule 结构体代表YAML文件中的一条规则
type Rules struct {
Rules []Rule `yaml:"rules"`
}
Rules 结构体包含多个Rule
Source Files
¶
Click to show internal directories.
Click to hide internal directories.