-
Notifications
You must be signed in to change notification settings - Fork 420
9 useragent_Mod
star edited this page Sep 10, 2018
·
3 revisions
useragent_Mod useragent规则过滤模块
(对应配置文件:conf_json/useragent_Mod.json)
该模块是整个访问控制规则的 第9步 用于配置useragent访问控制
[
{
"state": "on",
# 该条规则开关
"useragent": [
["HTTrack","harvest","audit","dirbuster",
"pangolin","nmap","sqln","-scan","hydra",
"Parser","libwww","BBBike","sqlmap","w3af",
"owasp","Nikto","fimap","havij","PycURL","zmeu",
"BabyKrokodil","netsparker","httperf","bench"
],
"rein_list"
],
# useragent 匹配规则
# 第一个参数:匹配内容,第二个:匹配方式(该条规则是正则匹配相关内容)
"hostname": ["*",""]
},
... # 下一条规则
]