mirror of
https://gitee.com/samwaf/SamWaf.git
synced 2026-09-19 09:32:29 +08:00
16 lines
854 B
Go
16 lines
854 B
Go
package model
|
||
|
||
import "SamWaf/model/baseorm"
|
||
|
||
// BlockingPage 自定义拦截模板界面
|
||
type BlockingPage struct {
|
||
baseorm.BaseOrm
|
||
BlockingPageName string `gorm:"size:255" json:"blocking_page_name"` //自定义拦截模板页面名称
|
||
BlockingType string `gorm:"size:50" json:"blocking_type"` //自定义类型 被拦截
|
||
AttackType string `gorm:"size:100" json:"attack_type"` //攻击类型 如: cc_attack, sensitive_word, sql_injection等
|
||
HostCode string `gorm:"size:64" json:"host_code"` //适用于某个网站唯一码
|
||
ResponseCode string `gorm:"size:10" json:"response_code"` //响应代码 默认403
|
||
ResponseHeader string `gorm:"type:text" json:"response_header"` //响应Header头信息(JSON)
|
||
ResponseContent string `gorm:"type:text" json:"response_content"` //响应内容
|
||
}
|