wraith-wireless / PyRIC

Python wireless library for Linux
http://wraith-wireless.github.io/PyRIC
Other
93 stars 51 forks source link

Connect to network feature #28

Open blackHatMonkey opened 7 years ago

blackHatMonkey commented 7 years ago

Hi wraith-wireless,

I`m one of the developers wifiphisher and I was wondering if you could implement this in Pyric.

So the feature that we want to implement in Wifiphisher is to check if the captured pre-shared key is correct or not. This operation is possible for WEP using

iw dev wlan0 connect your_essid key 0:your_key

We don't need to actually connect to the network, we just want to check if the key is correct or not.

Also I'm wondering if you could implement something with _wpasupplicant as well. If you have any questions let me know.

wraith-wireless commented 7 years ago

Let me look into it, I can run iw and identify what it does for the first request and attempt to add that feature. As for the second one (wpa_supplicant) I looked into it in the past but the source code is difficult for me to understand - I will look into that as well. I created two separate issues: #29 for WEP testing and #30 for wpa_supplicant

blackHatMonkey commented 7 years ago

I would not worry about WEP as it is so obsolete and I believe its a waste of time. So if you could look into WPA it would be much appreciated.