From f5fae026ce1792d2d02d4b833b44ffb6229c8af6 Mon Sep 17 00:00:00 2001 From: TheGuy920 <53882381+TheGuy920@users.noreply.github.com> Date: Tue, 5 Dec 2023 17:05:52 -0500 Subject: [PATCH 1/4] Update INSTALL.txt --- INSTALL.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/INSTALL.txt b/INSTALL.txt index 152273267..9069b221b 100644 --- a/INSTALL.txt +++ b/INSTALL.txt @@ -21,7 +21,7 @@ Or cloning the Git repository from Github: Prerequisites -------------- -BeEF requires Ruby 2.7+. +BeEF requires Ruby 3.0+. If your operating system package manager does not support Ruby version 2.7, you can add the brightbox ppa repository for the latest version of Ruby: From 629db4fe20fbf8a62d5262c81cebd05096aea6d2 Mon Sep 17 00:00:00 2001 From: TheGuy920 <53882381+TheGuy920@users.noreply.github.com> Date: Tue, 5 Dec 2023 17:21:22 -0500 Subject: [PATCH 2/4] Update beef --- beef | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beef b/beef index 8fe6052da..4d9bd2dc4 100755 --- a/beef +++ b/beef @@ -14,7 +14,7 @@ $VERBOSE = nil # # @note Version check to ensure BeEF is running Ruby 2.7+ # -min_ruby_version = '2.7' +min_ruby_version = '3.0' if RUBY_VERSION < min_ruby_version puts puts "Ruby version #{RUBY_VERSION} is no longer supported. Please upgrade to Ruby version #{min_ruby_version} or later." From bea58a8cdb8cf17d3a96db0a72b7f0b61aed169d Mon Sep 17 00:00:00 2001 From: TheGuy920 <53882381+TheGuy920@users.noreply.github.com> Date: Tue, 5 Dec 2023 17:36:17 -0500 Subject: [PATCH 3/4] Update beef --- beef | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beef b/beef index 4d9bd2dc4..cf6bd7216 100755 --- a/beef +++ b/beef @@ -12,7 +12,7 @@ $VERBOSE = nil # -# @note Version check to ensure BeEF is running Ruby 2.7+ +# @note Version check to ensure BeEF is running Ruby 3.0+ # min_ruby_version = '3.0' if RUBY_VERSION < min_ruby_version From acf5bd60bb265ace71e3eab886b78bd65b5f145e Mon Sep 17 00:00:00 2001 From: TheGuy920 <53882381+TheGuy920@users.noreply.github.com> Date: Tue, 5 Dec 2023 17:36:46 -0500 Subject: [PATCH 4/4] Update INSTALL.txt --- INSTALL.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/INSTALL.txt b/INSTALL.txt index 9069b221b..8aad8a26e 100644 --- a/INSTALL.txt +++ b/INSTALL.txt @@ -23,7 +23,7 @@ Prerequisites BeEF requires Ruby 3.0+. -If your operating system package manager does not support Ruby version 2.7, +If your operating system package manager does not support Ruby version 3.0, you can add the brightbox ppa repository for the latest version of Ruby: $ sudo apt-add-repository -y ppa:brightbox/ruby-ng