Wednesday, April 10, 2024

Install GoPhish In VM

Install GoPhish

Update Your System:

  • sudo apt update && sudo apt upgrade -y

Download GoPhish:

Find the latest GoPhish version on the releases page.

Use wget to download the Linux binary directly to your VM. Replace the URL with the latest release:

  • wget https://github.com/gophish/gophish/releases/download/v0.11.0/gophish-v0.11.0-linux-64bit.zip

Install Unzip (if not already installed):

  • sudo apt install unzip -y

Unzip GoPhish:

  • unzip gophish-v0.11.0-linux-64bit.zip -d /opt/gophish

Navigate to the GoPhish Directory:

  • cd /opt/gophish

Make GoPhish Executable:

  • chmod +x gophish

Step 4: Configure and Run GoPhish

  • Edit Config: You might want to edit config.json to change the admin server to listen on 0.0.0.0 instead of 127.0.0.1 if you plan to access it remotely (consider security implications).

Start GoPhish:

./gophish