Capture all metasploit input/output

I know how we all have our own way of copy/paste from console windows but metasploit has just introduced a new feature as of r13028.
You can now save all of the output of metasploit (including meterpreter) to a file using the spool command:

spool /root/msf3_output.txt
spool off

Or to ensure you always have a log of what you are doing add to the ~/.msf3/msfconsole.rc file (might not exist so create it)

spool /root/msf3_output.txt 

It will always append so keep an eye on the file size (although raw text wont be too big unless you’re owning 24/7)

Category Article

4 Responses to “c0decstuff”

What's on Your Mind...

Thank f' u C0mment