ing
This commit is contained in:
parent
00c0146fba
commit
f34ed32de3
|
@ -53,7 +53,13 @@ func (m *FTPMatcher) OsVersion(matchCtx *osm.MatchCtx) string {
|
|||
}
|
||||
|
||||
func (m *FTPMatcher) Name(matchCtx *osm.MatchCtx) string {
|
||||
return "FTP"
|
||||
name := "FTP"
|
||||
if v, ok := matchCtx.GetAttribute("comment"); ok {
|
||||
if strings.Contains(v, "Pure-FTPd") {
|
||||
name = "Pure-FTPd"
|
||||
}
|
||||
}
|
||||
return name
|
||||
}
|
||||
|
||||
func (m *FTPMatcher) IsPrePacket() bool {
|
||||
|
|
Loading…
Reference in New Issue
Block a user