cjimti / iotwifi

Raspberry Pi (arm) wifi configuration container. Configure and control wifi connectivity with a JSON based REST api.
https://imti.co/iot-wifi/
MIT License
303 stars 124 forks source link

Could you add WEP support? #19

Closed seajaysec closed 5 years ago

seajaysec commented 6 years ago

It is a feature.

WPA-2 Encryption

A configuration option to use WEP encryption instead.

I've just discovered this project and it's helping solve a problem I've run into in a project of my own.

I'm building an intentionally vulnerable raspberry pi image for use as an IoT pentesting range. I'd love for it to broadcast a WEP network to be used not only for connectivity, but as another surface area that one can choose to attack.

Unfortunately, I can't use apt to install dnsmasq or any other dns server applications I've come across, because the sources are outdated in the raspbian image I'm using. Updating the sources would defeat the point of being able to load old, intentionally vulnerable software, and I was at a roadblock until I came across this project.

Running within Docker solves my problem handily. Unfortunately, I'm not savvy enough to figure out where within these configs I can change it to use WEP instead of WPA-2.

If you could add a line in wificfg.json that toggled WEP on instead of WPA-2, it'd help immensely.