News for hackers. Stuff that matters.
Re:How to Find the Wi-Fi Password of Your Current Network by kylebgorman on Saturday July 18, 2015 @11:54AM (#9907834)
Doesn't work on my vanilla Mac.
Re:How to Find the Wi-Fi Password of Your Current Network by ericabiz on Saturday July 18, 2015 @11:59AM (#9907853)
It is working for me. OS X Yosemite on a late 2013 Retina MBP.

myuser@[~]$ security find-generic-password -ga MySSID | grep password

password: "password"

    "desc"<blob>="AirPort network password"
(Obviously I've changed the values here, but this is what it outputs for me.)
Re:How to Find the Wi-Fi Password of Your Current Network by nacs on Saturday July 18, 2015 @12:37PM (#9907992)
An easier way on Mac is to start the built-in Keychain app and search for your Wifi name there.
Re:How to Find the Wi-Fi Password of Your Current Network by heavymark on Sunday July 19, 2015 @02:39PM (#9912305)
Just open keychain app on your mac (any version and you can get the password for any wifi network you have connected to). Requires your computers username/pass just like if you do the terminal way. This tip in the article is just showing how to do something that's always been possible via the gui, but via terminal makes it look/feel cooler doing it.
Re:How to Find the Wi-Fi Password of Your Current Network by Gys on Saturday July 18, 2015 @02:21PM (#9908377)
The SSID is case sensitive. Makes sense, but that was my mistake at first.

To find your current SSID:

/System/Library/PrivateFrameworks/Apple80211.framework/Versions/A/Resources/airport -I | grep " SSID"

Re:How to Find the Wi-Fi Password of Your Current Network by Jun8 on Saturday July 18, 2015 @12:44PM (#9908019)
Same here, I get:

    oathkeeper:~ user$ security find-generic-password -ga labnol | grep password
    security: SecKeychainSearchCopyNext: The specified item could not be found in
    the keychain.
Re:How to Find the Wi-Fi Password of Your Current Network by cgati on Saturday July 18, 2015 @12:59PM (#9908064)
"labnol" should be replaced with the SSID you're connected to.