Revert "[feature] net.sniff.http truncate urls option"

This commit is contained in:
Simone Margaritelli 2018-02-05 15:27:23 +01:00 committed by GitHub
commit 8d877e5294
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 11 additions and 45 deletions

View file

@ -2,9 +2,9 @@ package modules
import (
"fmt"
"regexp"
"github.com/evilsocket/bettercap-ng/core"
"regexp"
"github.com/google/gopacket"
"github.com/google/gopacket/layers"
@ -37,7 +37,7 @@ func sniParser(ip *layers.IPv4, pkt gopacket.Packet, tcp *layers.TCP) bool {
ip.SrcIP.String(),
domain,
SniffData{
"host": domain,
"Domain": domain,
},
"[%s] %s %s > %s",
vTime(pkt.Metadata().Timestamp),