Chapter 12: Tips and Tricks

Throughout this book, we have discussed a lot of techniques and methodologies revolving around Metasploit—from exploit development to scripting in Armitage, we covered it all; however, to ensure that we adhere to the best practices when working with Metasploit, we must know the tips and tricks for making the most of the Metasploit framework. In this chapter, we will cover some quick tips and scripts that will aid in penetration testing with Metasploit. We will cover the following topics:

  • Automation using the Minion script
  • Using connect instead of Netcat
  • Shell upgrades and background sessions
  • Naming conventions
  • Saving configurations in Metasploit
  • Using the inline handler and renaming jobs
  • Running commands on multiple ...

Get Mastering Metasploit - Fourth 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.