mirror of
https://github.com/bettercap/bettercap
synced 2025-07-16 10:03:39 -07:00
16 lines
299 B
Go
16 lines
299 B
Go
package modules
|
|
|
|
import (
|
|
"fmt"
|
|
// "github.com/evilsocket/bettercap-ng/session"
|
|
"github.com/google/gopacket"
|
|
)
|
|
|
|
type SnifferPacketParser func(pkt gopacket.Packet) bool
|
|
|
|
var PacketParsers = []SnifferPacketParser{}
|
|
|
|
func noParser(pkt gopacket.Packet) bool {
|
|
fmt.Println(pkt.Dump())
|
|
return true
|
|
}
|