Skip to content
Show your wifi password with Perl.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
.travis.yml
LICENSE
README.md
wifi-password.pl

README.md

wifi-password.pl

Show your wifi password. Fast and easy. Inspired by wifi-password - shameless rip-off would be more accurate.

Status:
Build Status

Why Perl?

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.

Installation

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.

Usage

Get password for current wifi:

$ wifi-password.pl

Get password for a specific SSID:

$ wifi-password.pl [SSID]

Requirements

The script relies on the following dependencies - which are usually pre-installed I believe:

Support

As of this moment it was only tested in the following distributions:

  • Ubuntu 16.04

Testing in other distributions would be more than welcome.

TODO

  • Error handling.
  • Easy installation (maybe a bash script).

Contribute

Contributions are more than welcome. Just submit a pull request.

License

MIT

You can’t perform that action at this time.