Show your wifi password. Fast and easy. Inspired by wifi-password - shameless rip-off would be more accurate.
Other languages could've been more suitable (
bash...) but I wanted to fiddle with
Perl and it comes pre-installed with Ubuntu from start.
For fun, I chose Perl.
Run the following snippet:
curl -o ~/bin/wifi-password.pl https://raw.githubusercontent.com/caramelomartins/wifi-password.pl/master/wifi-password.pl && chmod +x ~/.bin/wifi-password.pl
If you don't have
~/bin/ change it to whatever folder you have in your $PATH.
For now that's all there is to it.
Get password for current wifi:
Get password for a specific SSID:
$ wifi-password.pl [SSID]
The script relies on the following dependencies - which are usually pre-installed I believe:
As of this moment it was only tested in the following distributions:
- Ubuntu 16.04
Testing in other distributions would be more than welcome.
- Error handling.
- Easy installation (maybe a bash script).
Contributions are more than welcome. Just submit a pull request.