sensepost / snoopy-ng

Snoopy v2.0 - modular digital terrestrial tracking framework
Other
429 stars 127 forks source link

Capturing WPA Handshakes #58

Open glennzw opened 9 years ago

glennzw commented 9 years ago

The file /plugins/mods80211/wpa.py should capture WPA handshakes using Pyrit, extracting the following fields:

auth.station.mac
auth.station.ap.mac
auth.station.ap.essid
auth.anonce
auth.snonce
auth.keymic
auth.keymic_frame
auth.version
auth.quality
auth.spread

The logic is that we want to store the actual components of the WPA handshake to store in a database for cracking elsewhere (as opposed to capturing a raw PCAP file). Whilst the capturing used to work, Pyrit seems to be giving an error now

  File "/root/snoopy-ng/plugins/mods80211/wpa.py", line 25, in auth_handler
    if auth.station.ap.isCompleted():
AttributeError: 'tuple' object has no attribute 'station'

Two things:

  1. Any ideas off hand on how to fix this error before I dive into Pyrit code?
  2. Is there another library/method to capture WPA handshakes?
danielhuntley313 commented 9 years ago

Why is this closed. Issue still persists.

strasharo commented 7 years ago

What's the wireless chipset that you're using?