wifitracker

package module
v0.0.0-...-e3bf863 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2017 License: BSD-3-Clause Imports: 2 Imported by: 3

README

Build Status Go Report Card GoDoc

This is a golang port of py-wifi-tracker.

Usage

Record probe requests:

$ ./monitor.sh start wlan0
$ wifisniff mon0 > requests.log

Analyze recored probe requests:

$ wifianalyze devices < requests.log

Install

apt install libpcap0.8 libpcap0.8-dev
go get github.com/urld/wifitracker

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Request

type Request struct {
	SourceMac      string    `json:"source_mac"`
	CaptureDts     time.Time `json:"capture_dts"`
	TargetSsid     string    `json:"target_ssid"`
	SignalStrength int       `json:"signal_strength"`
}

A Request struct represents a captured IEEE 802.11 probe request.

func ParseRequest

func ParseRequest(requestJSON []byte) (Request, error)

ParseRequest parses a request in json format.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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