wifi

package
v2.24.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2019 License: GPL-3.0 Imports: 23 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	// Ugly, but gopacket folks are not exporting pcap errors, so ...
	// ref. https://github.com/google/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 HandshakeEvent

type HandshakeEvent struct {
	File       string `json:"file"`
	NewPackets int    `json:"new_packets"`
	AP         string `json:"ap"`
	Station    string `json:"station"`
	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