Find specific file
Linux
ceil@NIXEASY:~$ find / -name "flag.txt" 2>/dev/null
/home/flag/flag.txt$ grep -r 'HTB{' /
/usr/lib/int-check.sh:HTB{1***********k}Windows
Powershell
Get-ChildItem -Path C:\ -Filter "test.txt" -Recurse -ErrorAction SilentlyContinueCmd
cd C:\
C:\> dir flag.txt /s /pC:\> findstr /SIM /C:"password" *.txt *.ini *.cfg *.config *.xml *.git *.ps1 *.ymlLast updated