Skip to content

Instantly share code, notes, and snippets.

@MJGTwo
Created September 19, 2019 15:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MJGTwo/b708eefbcc32df29b0a1bfc86f6dc3a6 to your computer and use it in GitHub Desktop.
Save MJGTwo/b708eefbcc32df29b0a1bfc86f6dc3a6 to your computer and use it in GitHub Desktop.
script for a mac to show the password of the wifi it's connected to.
#!/bin/bash
# usage: $wf "mynetworkname"
security find-generic-password -ga "$1" | grep "password:"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment