Skip to content

Instantly share code, notes, and snippets.

@brianredbeard
Created February 3, 2015 01:46
Show Gist options
  • Save brianredbeard/7d52751cf99ed25169f4 to your computer and use it in GitHub Desktop.
Save brianredbeard/7d52751cf99ed25169f4 to your computer and use it in GitHub Desktop.
half assed password tool. this gives you 20 randomized alpha number passwords with NATO phonetics and no confusing characters
alias passthing="curl -s -L 'https://secure.pctools.com/guides/password/?length=13&phonetic=on&alpha=on&mixedcase=on&numeric=on&nosimilar=on&quantity=20&generate=true#password_generator' | grep \"<tr><td valign=top nowrap style='border: 1px solid #c5c5c7;padding-top:3px;padding-bottom:3px'><b>\" | sed -r 's/<tr><td valign=top nowrap style=.border: 1px solid #c5c5c7;padding-top:3px;padding-bottom:3px.><b>([[:alnum:]]+)<.b><.td><td valign=top style=.border: 1px solid #c5c5c7;padding-top:3px;padding-bottom:3px.><i>([-a-zA-Z \(\)]+)<.i><.td><.tr>/\1 \2/g'"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment