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

View File

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

View File

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