Created
February 9, 2022 17:19
-
-
Save shollingsworth/ac3356ec9fb1b176b3a77cfc3e838bd8 to your computer and use it in GitHub Desktop.
find passwords in files
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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