Created
October 3, 2015 11:24
-
-
Save hexvalid/10de5fd3a21b5633622f to your computer and use it in GitHub Desktop.
Scan ALL WIFI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo iwlist wlp3s0 scan | awk 'BEGIN{FS="\n";RS="Address:"} | |
/key:off/{off++} | |
/key:on/{on++} | |
/WPA/{wpa++} | |
END{ print "Available Networks:" | |
print "Open: "off" WEP: "wpa - on" WPA: "wpa"" | |
}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment