Versions in this module Expand all Collapse all v2 v2.24.1 Jun 22, 2019 v2.21.1 Mar 27, 2019 Changes in this version + type HTTPRequest struct + Body []byte + ContentType string + Headers http.Header + Host string + Method string + Proto string + URL string + func (r HTTPRequest) IsType(ctype string) bool + type HTTPResponse struct + Body []byte + ContentLength int64 + ContentType string + Headers http.Header + Protocol string + Status string + StatusCode int + TransferEncoding []string + func (r HTTPResponse) IsType(ctype string) bool + type SniffData map[string]interface + type Sniffer struct + Ctx *SnifferContext + Stats *SnifferStats + func NewSniffer(s *session.Session) *Sniffer + func (mod *Sniffer) Configure() error + func (mod *Sniffer) GetContext() (error, *SnifferContext) + func (mod *Sniffer) Start() error + func (mod *Sniffer) StartFuzzing() error + func (mod *Sniffer) Stop() error + func (mod *Sniffer) StopFuzzing() error + func (mod Sniffer) Author() string + func (mod Sniffer) Description() string + func (mod Sniffer) Name() string + type SnifferContext struct + Compiled *regexp.Regexp + DumpLocal bool + Expression string + Filter string + Handle *pcap.Handle + Output string + OutputFile *os.File + OutputWriter *pcapgo.Writer + Source string + Verbose bool + func NewSnifferContext() *SnifferContext + func (c *SnifferContext) Close() + func (c *SnifferContext) Log(sess *session.Session) + type SnifferEvent struct + Data interface{} + Destination string + Message string + PacketTime time.Time + Protocol string + Source string + func NewSnifferEvent(t time.Time, proto string, src string, dst string, data interface{}, ...) SnifferEvent + func (e SnifferEvent) Push() + type SnifferStats struct + FirstPacket time.Time + LastPacket time.Time + NumDumped uint64 + NumLocal uint64 + NumMatched uint64 + NumWrote uint64 + Started time.Time + func NewSnifferStats() *SnifferStats + func (s *SnifferStats) Print() error