How to do it...

The spear-phishing module has three different attack vectors at our disposal:

  1. Let's analyze first. Passing the first option will start the mass email attack. The attack vector starts by selecting a payload. You can select any vulnerability from the list of available Metasploit exploit modules:
  1. Then, we will be prompted to select a payload and specify the IP address or URL and the port for the listener.
  2. In the next few steps, we will be starting the sendmail server, setting a template for a malicious file format, and selecting ...

Get Improving your Penetration Testing Skills now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.