fix: net.sniff.verbose is false by default

This commit is contained in:
evilsocket 2018-08-26 16:54:12 +02:00
parent 2e952456bd
commit 9533c67d88
No known key found for this signature in database
GPG key ID: 1564D7F30393A456
2 changed files with 2 additions and 2 deletions

View file

@ -24,7 +24,7 @@ func NewSniffer(s *session.Session) *Sniffer {
} }
sniff.AddParam(session.NewBoolParameter("net.sniff.verbose", sniff.AddParam(session.NewBoolParameter("net.sniff.verbose",
"true", "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).")) "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)."))
sniff.AddParam(session.NewBoolParameter("net.sniff.local", sniff.AddParam(session.NewBoolParameter("net.sniff.local",

View file

@ -87,7 +87,7 @@ func NewSnifferContext() *SnifferContext {
return &SnifferContext{ return &SnifferContext{
Handle: nil, Handle: nil,
DumpLocal: false, DumpLocal: false,
Verbose: true, Verbose: false,
Filter: "", Filter: "",
Expression: "", Expression: "",
Compiled: nil, Compiled: nil,