new: http requests which are not GETs are now properly reported

This commit is contained in:
evilsocket 2018-02-23 12:16:43 +01:00
parent 1ac5521038
commit c5baa7a077
3 changed files with 54 additions and 63 deletions

View file

@ -14,11 +14,11 @@ type SnifferEvent struct {
Protocol string
Source string
Destination string
Data SniffData
Data interface{}
Message string
}
func NewSnifferEvent(t time.Time, proto string, src string, dst string, data SniffData, format string, args ...interface{}) SnifferEvent {
func NewSnifferEvent(t time.Time, proto string, src string, dst string, data interface{}, format string, args ...interface{}) SnifferEvent {
return SnifferEvent{
PacketTime: t,
Protocol: proto,