Allow update-beef script to update dependencies
This commit is contained in:
14
update-beef
14
update-beef
@@ -4,6 +4,16 @@
|
||||
# Browser Exploitation Framework (BeEF) - http://beefproject.com
|
||||
# See the file 'doc/COPYING' for copying permission
|
||||
#
|
||||
set -euo pipefail
|
||||
IFS=$'\n\t'
|
||||
|
||||
echo Updating...
|
||||
git pull
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user