Now, we're going to look at some more commands that will allow us to navigate, list, read, download, upload, and even execute files on the target computer. We have a Meterpreter session running, and the first thing that we will do is get our current working directory by using the pwd command. It will bring us to the C:\Users location. If we want to list all of the files and directories, we can use the ls command; the following screenshot shows the list of files:
Let's suppose that we want to navigate to the IEUser folder. We will use the cd IEUser command, and if we use pwd, we will be in the C:\Users\IEUser directory. Then, we will go into the Downloads directory and list the files. In the following list of files, we can see passwords.txt, which seems like an interesting file:
If we want to read this file, all we have to do is use the cat paswords...