How to do it...

Although report generation is only available on paid versions of Metasploit, we can still take advantage of the exploit capabilities of the Metasploit Framework to help us in the report phase.

  1. We can export host and services information to a comma-separated values (CSV) file by using the -o option, which we can then use with our favorite reporting tool:
  1. Using workspaces allows us to stay organized during a penetration test but also to access data later, thus providing easy-to-access collected data when writing the report. Also, do not forget that some modules and Meterpreter scripts may store the results in files; take for ...

Get Metasploit Penetration Testing Cookbook - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.