wifi

package
v0.0.0-...-1478e95 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 7, 2024 License: GPL-3.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Ugly, but gopacket folks are not exporting pcap errors, so ...
	// ref. https://github.com/gopacket/gopacket/blob/96986c90e3e5c7e01deed713ff8058e357c0c047/pcap/pcap.go#L281
	ErrIfaceNotUp = "Interface Not Up"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ByBssidSorter

type ByBssidSorter []*network.Station

func (ByBssidSorter) Len

func (a ByBssidSorter) Len() int

func (ByBssidSorter) Less

func (a ByBssidSorter) Less(i, j int) bool

func (ByBssidSorter) Swap

func (a ByBssidSorter) Swap(i, j int)

type ByChannelSorter

type ByChannelSorter []*network.Station

func (ByChannelSorter) Len

func (a ByChannelSorter) Len() int

func (ByChannelSorter) Less

func (a ByChannelSorter) Less(i, j int) bool

func (ByChannelSorter) Swap

func (a ByChannelSorter) Swap(i, j int)

type ByClientsSorter

type ByClientsSorter []*network.Station

func (ByClientsSorter) Len

func (a ByClientsSorter) Len() int

func (ByClientsSorter) Less

func (a ByClientsSorter) Less(i, j int) bool

func (ByClientsSorter) Swap

func (a ByClientsSorter) Swap(i, j int)

type ByEncryptionSorter

type ByEncryptionSorter []*network.Station

func (ByEncryptionSorter) Len

func (a ByEncryptionSorter) Len() int

func (ByEncryptionSorter) Less

func (a ByEncryptionSorter) Less(i, j int) bool

func (ByEncryptionSorter) Swap

func (a ByEncryptionSorter) Swap(i, j int)

type ByEssidSorter

type ByEssidSorter []*network.Station

func (ByEssidSorter) Len

func (a ByEssidSorter) Len() int

func (ByEssidSorter) Less

func (a ByEssidSorter) Less(i, j int) bool

func (ByEssidSorter) Swap

func (a ByEssidSorter) Swap(i, j int)

type ByRSSISorter

type ByRSSISorter []*network.Station

func (ByRSSISorter) Len

func (a ByRSSISorter) Len() int

func (ByRSSISorter) Less

func (a ByRSSISorter) Less(i, j int) bool

func (ByRSSISorter) Swap

func (a ByRSSISorter) Swap(i, j int)

type ByWiFiRcvdSorter

type ByWiFiRcvdSorter []*network.Station

func (ByWiFiRcvdSorter) Len

func (a ByWiFiRcvdSorter) Len() int

func (ByWiFiRcvdSorter) Less

func (a ByWiFiRcvdSorter) Less(i, j int) bool

func (ByWiFiRcvdSorter) Swap

func (a ByWiFiRcvdSorter) Swap(i, j int)

type ByWiFiSeenSorter

type ByWiFiSeenSorter []*network.Station

func (ByWiFiSeenSorter) Len

func (a ByWiFiSeenSorter) Len() int

func (ByWiFiSeenSorter) Less

func (a ByWiFiSeenSorter) Less(i, j int) bool

func (ByWiFiSeenSorter) Swap

func (a ByWiFiSeenSorter) Swap(i, j int)

type ByWiFiSentSorter

type ByWiFiSentSorter []*network.Station

func (ByWiFiSentSorter) Len

func (a ByWiFiSentSorter) Len() int

func (ByWiFiSentSorter) Less

func (a ByWiFiSentSorter) Less(i, j int) bool

func (ByWiFiSentSorter) Swap

func (a ByWiFiSentSorter) Swap(i, j int)

type ClientEvent

type ClientEvent struct {
	AP     *network.AccessPoint
	Client *network.Station
}

type DeauthEvent

type DeauthEvent struct {
	RSSI     int8                 `json:"rssi"`
	AP       *network.AccessPoint `json:"ap"`
	Address1 string               `json:"address1"`
	Address2 string               `json:"address2"`
	Address3 string               `json:"address3"`
	Reason   string               `json:"reason"`
}

type HandshakeEvent

type HandshakeEvent struct {
	File       string `json:"file"`
	NewPackets int    `json:"new_packets"`
	AP         string `json:"ap"`
	Station    string `json:"station"`
	Half       bool   `json:"half"`
	Full       bool   `json:"full"`
	PMKID      []byte `json:"pmkid"`
}

type ProbeEvent

type ProbeEvent struct {
	FromAddr   string `json:"mac"`
	FromVendor string `json:"vendor"`
	FromAlias  string `json:"alias"`
	SSID       string `json:"essid"`
	RSSI       int8   `json:"rssi"`
}

type WiFiModule

type WiFiModule struct {
	session.SessionModule
	// contains filtered or unexported fields
}

func NewWiFiModule

func NewWiFiModule(s *session.Session) *WiFiModule

func (WiFiModule) Author

func (mod WiFiModule) Author() string

func (*WiFiModule) Configure

func (mod *WiFiModule) Configure() error

func (WiFiModule) Description

func (mod WiFiModule) Description() string

func (WiFiModule) Name

func (mod WiFiModule) Name() string

func (*WiFiModule) Show

func (mod *WiFiModule) Show() (err error)

func (*WiFiModule) ShowWPS

func (mod *WiFiModule) ShowWPS(bssid string) (err error)

func (*WiFiModule) Start

func (mod *WiFiModule) Start() error

func (*WiFiModule) Stop

func (mod *WiFiModule) Stop() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL