Skip to content

Instantly share code, notes, and snippets.

@shollingsworth
Created February 9, 2022 17:19
Show Gist options
  • Save shollingsworth/ac3356ec9fb1b176b3a77cfc3e838bd8 to your computer and use it in GitHub Desktop.
Save shollingsworth/ac3356ec9fb1b176b3a77cfc3e838bd8 to your computer and use it in GitHub Desktop.
find passwords in files
# passwords
find / -type f -exec grep -iE '(password|secret|user)' -C 2 {} \; 2>/dev/null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment