mirror of
https://github.com/bettercap/bettercap
synced 2025-07-16 10:03:39 -07:00
new: http requests which are not GETs are now properly reported
This commit is contained in:
parent
1ac5521038
commit
c5baa7a077
3 changed files with 54 additions and 63 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue