First Hack the Victim PC Using Metasploit (Tutorial How to Hack Remote PC)
Once you got the meterpreter session use ‘shell ‘command to get command prompt of the target
Find ALL MS Excel Files
This command will search through all subdirectories below for a file that matches that file name
Type dir *.xls /s
Find ALL MS office Files
This command will search through all subdirectories below for a file that matches that file name
Type dir *.doc /s
Find ALL EXE
This command will search through all subdirectories below for a file that matches that file name
Type dir *.exe /s
Find ALL Images
This command will search through all subdirectories below for a file that matches that file name
Type dir *.jpg /s
Find ALL PDF
This command will search through all subdirectories below for a file that matches that file name
Type dir *.pdf /s