From 9533c67d88fa70d96fc3514384cd82ea1eeba5d3 Mon Sep 17 00:00:00 2001 From: evilsocket Date: Sun, 26 Aug 2018 16:54:12 +0200 Subject: [PATCH] fix: net.sniff.verbose is false by default --- modules/net_sniff.go | 2 +- modules/net_sniff_context.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/net_sniff.go b/modules/net_sniff.go index 4c0ca3e0..25f59633 100644 --- a/modules/net_sniff.go +++ b/modules/net_sniff.go @@ -24,7 +24,7 @@ func NewSniffer(s *session.Session) *Sniffer { } 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).")) sniff.AddParam(session.NewBoolParameter("net.sniff.local", diff --git a/modules/net_sniff_context.go b/modules/net_sniff_context.go index 80277710..4d9bfc23 100644 --- a/modules/net_sniff_context.go +++ b/modules/net_sniff_context.go @@ -87,7 +87,7 @@ func NewSnifferContext() *SnifferContext { return &SnifferContext{ Handle: nil, DumpLocal: false, - Verbose: true, + Verbose: false, Filter: "", Expression: "", Compiled: nil,