How to find out what the Wi-Fi password is, of the network that I’m connected to, without the admin password

passwordterminalwifi

I logged on to a Wi-Fi network on my friend's computer and they forgot their admin password. They want me to find out the password, but I can't get into the keychain. But I am still connected to the network, that they want to connect to on another computer. I heard there was a way to do it in the terminal but I can't find it. What is the command line? All i know is that there is a command line in terminal that allows you to view the password of the wifi network you are currently connected to.
Thanks in advance.

Best Answer

You can view your own keychain via the /Applications/Utilities/Keychain Access.app

None of this is possible without an admin password.

The command line is accessible via /Applications/Utilities/Terminal.app