Skip to content

Instantly share code, notes, and snippets.

@Beyarz
Created January 29, 2021 13:28
Show Gist options
  • Save Beyarz/e72dde547c33e8f5341c28900486631e to your computer and use it in GitHub Desktop.
Save Beyarz/e72dde547c33e8f5341c28900486631e to your computer and use it in GitHub Desktop.
Retrieve saved wifi password

Macos

security find-generic-password -l "SSID" -D 'AirPort network password' -w

Linux

nmcli -s -g 802-11-wireless-security.psk connection show 'SSID'

Windows

netsh wlan show profile name="SSID" key=clear | findstr Key

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment