Using Default binarys

Searching for the phrase password.

findstr /SIM /C:"password" *.txt *ini *.cfg *.config *.xml	

Searching and reading password's from powershell

To get Powershell history file :-

(Get-PSReadLineOption).HistorySavePath	

Reading powershell histroy:-

gc (Get-PSReadLineOption).HistorySavePath	

Decrypting Powershell Secure String

$credential = Import-Clixml -Path 'C:\scripts\pass.xml'	

Last updated