Skip to content

Instantly share code, notes, and snippets.

@austinsonger
Created January 9, 2020 01:10
Show Gist options
  • Save austinsonger/56489b374aa4d114f324ec21dced8331 to your computer and use it in GitHub Desktop.
Save austinsonger/56489b374aa4d114f324ec21dced8331 to your computer and use it in GitHub Desktop.
wget https://github.com/gophish/gophish/releases/download/0.7.1/gophish-v0.7.1-linux-64bit.zip
apt install zip
sudo unzip gophish-v0.7.1-linux-64bit.zip -d /opt/gophish
ls /opt/gophish
config.json db gophish LICENSE README.md static templates VERSION
cd /opt/gophish
sudo ./gophish
# CERTBOT
wget https://dl.eff.org/certbot-auto
chmod a+x certbot-auto
./certbot-auto certonly -d {your domain} --manual --preferred-challenges dns
sudo cp /etc/letsencrypt/live/mail.kloudscout.com/fullchain.pem /opt/gophish/domain.key
sudo cp /etc/letsencrypt/live/mail.kloudscout.com/privkey.pem /opt/gophish/domain.crt
sudo nano /opt/gophish/config.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment