try to add AspiegelBot user agent

tweaked zgrab phrase
This commit is contained in:
Azareal 2020-03-06 19:12:41 +10:00
parent d2828471cd
commit 24eb9f287c
3 changed files with 11 additions and 6 deletions

View File

@ -603,7 +603,8 @@ var agentMapEnum = map[string]int{
"suspicious": 29, "suspicious": 29,
"semrush": 30, "semrush": 30,
"dotbot": 31, "dotbot": 31,
"zgrab": 32, "aspiegel": 32,
"zgrab": 33,
} }
var reverseAgentMapEnum = map[int]string{ var reverseAgentMapEnum = map[int]string{
0: "unknown", 0: "unknown",
@ -638,7 +639,8 @@ var reverseAgentMapEnum = map[int]string{
29: "suspicious", 29: "suspicious",
30: "semrush", 30: "semrush",
31: "dotbot", 31: "dotbot",
32: "zgrab", 32: "aspiegel",
33: "zgrab",
} }
var markToAgent = map[string]string{ var markToAgent = map[string]string{
"OPR": "opera", "OPR": "opera",

View File

@ -215,7 +215,8 @@
"semrush":"SemrushBot", "semrush":"SemrushBot",
"dotbot":"DotBot", "dotbot":"DotBot",
"zgrab":"Zgrab Application Scanner", "aspiegel":"AspiegelBot",
"zgrab":"Zgrab App Scanner",
"suspicious":"Suspicious", "suspicious":"Suspicious",
"unknown":"Unknown", "unknown":"Unknown",
"blank":"Blank", "blank":"Blank",

View File

@ -262,6 +262,7 @@ func main() {
"suspicious", "suspicious",
"semrush", "semrush",
"dotbot", "dotbot",
"aspiegel",
"zgrab", "zgrab",
} }
@ -335,6 +336,7 @@ func main() {
"SemrushBot": "semrush", "SemrushBot": "semrush",
"DotBot": "dotbot", "DotBot": "dotbot",
"AspiegelBot": "aspiegel",
"zgrab": "zgrab", "zgrab": "zgrab",
} }