#!/bin/bash
#
# Copyright (c) 2006-2025 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - https://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
set -euo pipefail
IFS=$'\n\t'

info() { echo -e "\\033[1;36m[INFO]\\033[0m  $*"; }

info 'Updating BeEF from GitHub repository...'
git pull

info 'Updating dependencies...'
if [ -f Gemfile.lock ]; then
	rm Gemfile.lock
fi
bundle install
