fix: when net.sniff is sniffing a mDNS hostname, it'll update the endpoint field

This commit is contained in:
evilsocket 2019-04-04 10:01:49 +02:00
commit 1f37381fde
No known key found for this signature in database
GPG key ID: 1564D7F30393A456
2 changed files with 11 additions and 0 deletions

View file

@ -29,6 +29,8 @@ func NewSniffer(s *session.Session) *Sniffer {
Stats: nil,
}
mod.SessionModule.Requires("net.recon")
mod.AddParam(session.NewBoolParameter("net.sniff.verbose",
"false",
"If true, every captured and parsed packet will be sent to the events.stream for displaying, otherwise only the ones parsed at the application layer (sni, http, etc)."))