Skip to content

Instantly share code, notes, and snippets.

@lesstif
Forked from w0rd-driven/passwords.txt
Created November 22, 2021 01:38
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 lesstif/48631272e9bfb985cde804dc504a844a to your computer and use it in GitHub Desktop.
Save lesstif/48631272e9bfb985cde804dc504a844a to your computer and use it in GitHub Desktop.
BFG Repo-Cleaner --replace-text example
PASSWORD1 # Replace literal string 'PASSWORD1' with '***REMOVED***' (default)
PASSWORD2==>examplePass # replace with 'examplePass' instead
PASSWORD3==> # replace with the empty string
regex:password=\w+==>password= # Replace, using a regex
regex:\r(\n)==>$1 # Replace Windows newlines with Unix newlines
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment