Credential Hunting
findstr /SIM /C:"password" *.txt *.ini *.cfg *.config *.xmlC:\inetpub\wwwroot\web.configgc 'C:\Users\htb-student\AppData\Local\Google\Chrome\User Data\Default\Custom Dictionary.txt' | Select-String passwordgc (Get-PSReadLineOption).HistorySavePathforeach($user in ((ls C:\users).fullname)){cat "$user\AppData\Roaming\Microsoft\Windows\PowerShell\PSReadline\ConsoleHost_history.txt" -ErrorAction SilentlyContinue}Last updated