RoganDawes / P4wnP1

P4wnP1 is a highly customizable USB attack platform, based on a low cost Raspberry Pi Zero or Raspberry Pi Zero W.
GNU General Public License v3.0
4k stars 658 forks source link

How hard would it be to add enterprise connections to client mode? #106

Open walletdude opened 7 years ago

walletdude commented 7 years ago

I love the client mode feature of the project, but I wish it supported modes other than WPA2. How hard would it be to support enterprise networks for client mode?

Swiftb0y commented 7 years ago

It depends. The wpa config get generated here and here. As you can see, a temporary config gets created and appended to the existing networks from /etc/wpa_supplicant/wpa_supplicant.conf. If you know how to manually add an enterprise wifi there, you can just add it normally and remove the check here. This would be the easiest temporary hack I could think of, but you might brick your existing installation if you are not careful. It should not be to difficult to implement a genuine solution, but other things have more priority right now.

mame82 commented 7 years ago

Not planned at the moment (PR is an option, but code changes frequently)

DeadPackets commented 6 years ago

I might be able to work on this, what is exactly needed to be changed? I'm having trouble understanding what the scripts do exactly.

Swiftb0y commented 6 years ago

As already stated, I suggest you read the wiki. The P4wnP1 core is a systemd service that calls boot/boot_P4wnP1 which is a bash script that includes the modules based on the settings. The wifi gets setup in boot/init_wifi.sh but what for an ok from mame before you modify the core.