In this recipe, we will move on to filesystem commands. These commands can be helpful in exploring the target system to perform various tasks, such as searching for files, downloading files, and changing the directory. You will notice how easy it is to control the target machine using Meterpreter. So, let's start working with some of the useful filesystem commands.
Understanding the Meterpreter filesystem commands
How to do it...
- We will start with the simple pwd command, which lists our present working directory on the target machine. Similarly, we can use the cd command to change our working directory to our preferred location:
meterpreter > pwd
C:\Windows\system32
meterpreter > cd \
meterpreter > pwd
C:\
As you can see...