From 2de27adc3c97d90c985c8de07944d788e402eb7c Mon Sep 17 00:00:00 2001 From: Abraxas Date: Fri, 2 Feb 2018 11:43:02 -0800 Subject: [PATCH 1/2] Updated GoPhish to newest version (0.5.0) Tested this on new machine during install and it appears to have worked properly. --- ServerSetup.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ServerSetup.sh b/ServerSetup.sh index 73bd171..975e6c9 100644 --- a/ServerSetup.sh +++ b/ServerSetup.sh @@ -525,9 +525,9 @@ setupSSH(){ function Install_GoPhish { apt-get install unzip > /dev/null 2>&1 - wget https://github.com/gophish/gophish/releases/download/v0.4.0/gophish-v0.4-linux-64bit.zip - unzip gophish-v0.4-linux-64bit.zip - cd gophish-v0.4-linux-64bit + wget https://github.com/gophish/gophish/releases/download/v0.5.0/gophish-v0.5.0-linux-64bit.zip + unzip gophish-v0.5.0-linux-64bit.zip + cd gophish-v0.5.0-linux-64bit sed -i 's/"listen_url" : "127.0.0.1:3333"/"listen_url" : "0.0.0.0:3333"/g' config.json read -r -p "Do you want to add an SSL certificate to your GoPhish? [y/N] " response case "$response" in From 98dec64d4f2eb13ee16d24fbbd3f404a8d990c6f Mon Sep 17 00:00:00 2001 From: Abraxas Date: Fri, 2 Feb 2018 11:49:42 -0800 Subject: [PATCH 2/2] Fixed minor unzip issue Added `-d` flag to unzip and changed cd to match directory. --- ServerSetup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ServerSetup.sh b/ServerSetup.sh index 975e6c9..adf5eb6 100644 --- a/ServerSetup.sh +++ b/ServerSetup.sh @@ -526,8 +526,8 @@ setupSSH(){ function Install_GoPhish { apt-get install unzip > /dev/null 2>&1 wget https://github.com/gophish/gophish/releases/download/v0.5.0/gophish-v0.5.0-linux-64bit.zip - unzip gophish-v0.5.0-linux-64bit.zip - cd gophish-v0.5.0-linux-64bit + unzip gophish-v0.5.0-linux-64bit.zip -d gophish + cd gophish sed -i 's/"listen_url" : "127.0.0.1:3333"/"listen_url" : "0.0.0.0:3333"/g' config.json read -r -p "Do you want to add an SSL certificate to your GoPhish? [y/N] " response case "$response" in