findstr

c:\htb>findstr /s /i cred n:\*.*
- n:\Contracts\private\secret.txt:file with all credentials
- n:\Contracts\private\credentials.txt:admin:SecureCredentials!
findstr /SIM /C:"password" *.txt *.ini *.cfg *.config *.xml *.git *.ps1 *.yml

Last updated