captures

package
v0.0.0-...-e5dbda4 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2019 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Capture

type Capture struct {
	Key       string `json:"key"`
	Target    Target `json:"target"`
	Handshake bool   `json:"handshake captured"`
	IVs       int    `json:"ivs"`
	Cracking  bool   `json:"trying to crack"`
	// contains filtered or unexported fields
}

Capture struct: handle airodump captures to crack them with aircrack-ng

func (*Capture) AttemptToCrack

func (c *Capture) AttemptToCrack(dict string) string

Return ascii key; if cracking WEP dict can be null

func (*Capture) Init

func (c *Capture) Init(path_to_captures string, privacy string, bssid string, essid string)

Build the struct thanks to the dir (with .pcap and .csv) path

func (*Capture) TryKeys

func (c *Capture) TryKeys(keys ...string) string

Return succesfull key

type Target

type Target struct {
	Bssid string `json:"bssid"`
	Essid string `json:"essid"`
	// WPA, WPA2, WEP, OPN
	Privacy string `json:"privacy"`
}

Capture struct: handle airodump captures to crack them with aircrack-ng

Jump to

Keyboard shortcuts

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