May 2020
Intermediate to advanced
544 pages
12h 57m
English
One of the features of Metasploit Framework is that we can execute normal shell commands from the console. You can execute any shell command that is supported by your shell (bash/sh/zsh/csh). In this case, we executed the whoami && id command from the console. The command was executed and the result was displayed in the console itself, as shown in the following screenshot:

We can also use an interactive bash script from the console using the /bin/bash -i command or just /bin/bash (the -i switch is used to run bash in interactive mode):
Read now
Unlock full access