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 Meterpreter sessions
- Automating the Social Engineering Toolkit
- Cheat sheets on Metasploit and penetration testing
So, let's delve deep into this final chapter and learn some cool tips...