We can find the available logging options using the show options command in msfconsole.
- To enable all console input and output, we need to set the ConsoleLogging option to true:
msf > set ConsoleLogging trueConsole logging is now enabled.ConsoleLogging => truemsf >
- Now every command typed will be logged in a file named console.log in the ~/.msf4/logs directory:
- Note that, when we interacted with a session, we neither saw the commands nor the output typed in the session. To enable session logging, we need to set the SessionLogging ...