ing
This commit is contained in:
parent
f34ed32de3
commit
2d9981946a
|
@ -37,7 +37,13 @@ func (m *FTPMatcher) Type(matchCtx *osm.MatchCtx) string {
|
|||
return "NETWORK"
|
||||
}
|
||||
func (m *FTPMatcher) Vendor(matchCtx *osm.MatchCtx) string {
|
||||
return "UNKNOWN"
|
||||
v := "UNKNOWN"
|
||||
if _v, ok := matchCtx.GetAttribute("comment"); ok {
|
||||
if strings.Contains(_v, "Pure-FTPd") {
|
||||
v = "Pure-FTPd"
|
||||
}
|
||||
}
|
||||
return v
|
||||
}
|
||||
|
||||
func (m *FTPMatcher) Version(matchCtx *osm.MatchCtx) string {
|
||||
|
|
Loading…
Reference in New Issue
Block a user