Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README.md
nshey.js
package.json
sniffer.js
tinsSniffer

README.md

NSHey

If you get a permissions denied error for bpf

  • Open Terminal
  • sudo chmod o+r /dev/bpf*

##Log File Description

The log file is a pretty obtuse right now. I need to clean that up. But for now I'll describe how to parse it here.

The log file has the following fields timestamp,Interface,power,frequency,band,packetType,field1,field2

Interface: Redundant field. Always Radio as we're working with Wifi Power: Rssi mapped to the randge 0-255. Not very reliable. Frequency: Current center frequency (this is the current channel). Band: 2.4 or 5 Ghz indicator (also pretty redundant) packetType: This is important. It describes what type of packet it is.

the first four fields are constant for all packets. field1 and field2 aer dependent on packetType.

if packetType == Data
field1,field2 = client_mac_addr,router_mac_addr

if packetType == Beacn:
field1 = router_mac_addr,SSID

if packetType == Probe:
field1,field2 == client_mac_addr,Probed SSID
You can’t perform that action at this time.