config-file-search
Search application config files
findstr /SIM /C:"password" *.txt *.ini *.cfg *.config *.mdb *.sql *.xml *.ccacheManually searching the file system for credentials
cmd /c cd c:\Users\%USERNAME%\Documents & findstr /SI /M "password" *.xml *.ini *.txtfindstr /sj password *.xml *.ini *.txt *.config *.ini *cred* *vnc* *.conffindstr /spin "password" *.*cmd /c dir /S /B *pass*.txt == *pass*.xml == *pass*.ini == *cred* == *vnc* == *.config*where /R C:\ *.configSearching file content with powershell
cmd /c select-string -Path C:\Users\%USERNAME%\Documents\*.txt -Pattern passwordGet-ChildItem C:\ -Recurse -Include *.rdp, *.config, *.vnc, *.cred -ErrorAction <space> IgnoreLast updated