Meterpreter Basic Commands
The ‘help’ command, as may be expected, displays the Meterpreter help menu.
The ‘ps’ command displays a list of running processes on the target.
As in Linux, the ‘ls’ command will list the files in the current remote directory.
The ‘ipconfig’ command displays the network interfaces and addresses on the remote machine.
Running ‘getuid’ will display the user that the Meterpreter server is running as on the host.
The ‘download’ command downloads a file from the remote machine. Note the use of the double-slashes when giving the Windows path.
As with the ‘download’ command, you need to use double-slashes with the ‘upload’ command.
The ‘shell’ command will present you with a standard shell on the target system.