Working with the spear-phishing attack vector

A spear-phishing attack vector is an email attack scenario that is used to send malicious emails to target/specific user(s). In order to spoof your own email address, you will require a sendmail server. Change the config setting to SENDMAIL=ON. If you do not have sendmail installed on your Debian-based machine, then it can be downloaded by entering the following command:

apt install sendmail

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.