Searching!!
Using Grep
grep -ri -C 2 -E 'password|user' <Folder or files name>
# grep -Ei "credential|user|password|username|secure" *.ps1
# Example in which line number of matching value is displayed.
cat shell.php | grep -ni "changed this"# Example:
# grep -ri -C 2 -E 'password|user' joomla/Explanation of Options:
Using Select-String & where-object
Select-String
Where-Object
Common Operators
Find Command
Searching for file
In Windows:

In linux:
Flag Finding
In Windows:
In Linux:
Last updated