Files
beef/update-beef
2024-12-25 12:43:13 +10:00

20 lines
430 B
Bash
Executable File

#!/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