Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Vagrant/logger_bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -564,13 +564,13 @@ install_guacamole() {
echo "[$(date +%H:%M:%S)]: Setting up Guacamole..."
cd /opt || exit 1
echo "[$(date +%H:%M:%S)]: Downloading Guacamole..."
wget --progress=bar:force "https://apache.org/dyn/closer.lua/guacamole/1.3.0/source/guacamole-server-1.3.0.tar.gz?action=download" -O guacamole-server-1.3.0.tar.gz
tar -xf guacamole-server-1.3.0.tar.gz && cd guacamole-server-1.3.0 || echo "[-] Unable to find the Guacamole folder."
wget --progress=bar:force "https://apache.org/dyn/closer.lua/guacamole/1.5.0/source/guacamole-server-1.5.0.tar.gz?action=download" -O guacamole-server-1.5.0.tar.gz
tar -xf guacamole-server-1.5.0.tar.gz && cd guacamole-server-1.5.0 || echo "[-] Unable to find the Guacamole folder."
echo "[$(date +%H:%M:%S)]: Configuring Guacamole and running 'make' and 'make install'..."
./configure --with-init-dir=/etc/init.d && make --quiet &>/dev/null && make --quiet install &>/dev/null || echo "[-] An error occurred while installing Guacamole."
ldconfig
cd /var/lib/tomcat9/webapps || echo "[-] Unable to find the tomcat9/webapps folder."
wget --progress=bar:force "https://apache.org/dyn/closer.lua/guacamole/1.3.0/binary/guacamole-1.3.0.war?action=download" -O guacamole.war
wget --progress=bar:force "https://apache.org/dyn/closer.lua/guacamole/1.5.0/binary/guacamole-1.5.0.war?action=download" -O guacamole.war
mkdir /etc/guacamole
mkdir /etc/guacamole/shares
sudo chmod 777 /etc/guacamole/shares
Expand Down
2 changes: 1 addition & 1 deletion Vagrant/post_build_checks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ post_build_checks() {
FLEET_CHECK=$(curl -ks -m 2 https://192.168.56.105:8412 | grep -c 'Fleet for osquery')
ATA_CHECK=$(curl --fail --write-out "%{http_code}" -ks https://192.168.56.103 -m 2)
VELOCIRAPTOR_CHECK=$(curl -ks -m 2 https://192.168.56.105:9999 | grep -c 'app/index.html')
GUACAMOLE_CHECK=$(curl -ks -m 2 'http://192.168.56.105:8080/guacamole/#/' | grep -c 'Apache Software')
GUACAMOLE_CHECK=$(curl -ks -m 2 'http://192.168.56.105:8080/guacamole/#/' | grep -c 'guac-login')
[[ $ATA_CHECK == 401 ]] && ATA_CHECK=1

echo "[*] Verifying that Splunk is running and reachable..."
Expand Down