Back to godoc.org

Package wifi

v0.0.0-...-6725a2a
Latest Go to latest

The latest major version is .

Published: May 15, 2020 | License: GPL3 | Module: github.com/bettercap/bettercap

Index

Constants

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"
)

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"`
	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

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier