A quick Bash script to build environment for phishing assesment with GoPhish, Postfix, OpenDKIM and Let's Encrypt SSL.
git clone https://github.com/fyoozr/phisher.git
cd phisher
chmod +x phisher.sh
This script will help you automate installing + configuring your email server and phishing domain with SSL certificate using Certbot.
./phisher.sh -h
___ ___ __ __ ___ __
| |__| |__ |__) |__| | /__ |__| |__ |__)
| | | |___ | | | | .__/ | | |___ | \
A quick Bash script to install GoPhish server with Postfix, OpenDKIM and Let's Encrypt SSL.
Usage: ./phisher.sh [-d <domain name> ] [-c] [-h]
One shot to set up:
- Postfix email server
- OpenDKIM settings
- Gophish Server
- SSL Cert for Phishing Domain (LetsEncrypt)
Options:
-d <domain name> SSL cert for phishing domain
-c Cleanup for a fresh install
-h This help menu
Examples:
./phisher.sh -d <domain name> Configure Posftix + DKIM + Gopshish + SSL
Original Gogophish - @bigb0ss (https://github.com/bigb0sss/gogophish)
Modified to include Postfix and OpenDKIM by @fyoozr