Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Usability: #2145. Added user input request for beef update within 'beef' install script #2162

Merged
merged 3 commits into from
Sep 12, 2021
Merged
Changes from 1 commit
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
7 changes: 7 additions & 0 deletions beef
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@ if RUBY_PLATFORM.downcase.include?('mswin') || RUBY_PLATFORM.downcase.include?('
exit 1
end

#
# @note Ask user if they would like to update beef
#
print "Would you like to check and download the latest BeEF update? y/n: "
response = gets
system("git pull && bundle") if response.strip == 'y'
DeezyE marked this conversation as resolved.
Show resolved Hide resolved

#
# @note set load path, application root directory and user preferences directory
#
Expand Down