Removed core dependancy on librex - installer advises, but doesn't install. Beef does NOT require librex, unless you actually enable the console.shell extension
This commit is contained in:
1
beef
1
beef
@@ -101,6 +101,7 @@ BeEF::API::Registrar.instance.fire(BeEF::API::Server, 'pre_http_start', http_hoo
|
||||
|
||||
# @note Start the HTTP Server, we addtionally check whether we load the Console Shell or not
|
||||
if config.get("beef.extension.console.shell.enable") == true
|
||||
require 'extensions/console/shell'
|
||||
puts ""
|
||||
begin
|
||||
FileUtils.mkdir_p(File.expand_path(config.get("beef.extension.console.shell.historyfolder")))
|
||||
|
||||
@@ -30,8 +30,6 @@ require 'xmlrpc/client'
|
||||
require 'erubis'
|
||||
require 'openssl'
|
||||
require 'term/ansicolor'
|
||||
require 'rex'
|
||||
require 'rex/ui'
|
||||
|
||||
# @note Include the filters
|
||||
require 'core/filters'
|
||||
|
||||
@@ -60,4 +60,3 @@ end
|
||||
|
||||
require 'extensions/console/banners'
|
||||
require 'extensions/console/commandline'
|
||||
require 'extensions/console/shell'
|
||||
|
||||
@@ -13,6 +13,10 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
require 'rex'
|
||||
require 'rex/ui'
|
||||
|
||||
module BeEF
|
||||
module Extension
|
||||
module Console
|
||||
|
||||
4
install
4
install
@@ -34,7 +34,7 @@ puts "\nPlease make sure you have installed SQLite before proceeding. For instr
|
||||
|
||||
# array of required gems - add to as needed (specify a version if needed eg "gem_name, =x.x.x")
|
||||
$gems_required = ["thin", "ansi", "term-ansicolor", "dm-core", "json", "data_objects", "do_sqlite3", "sqlite3", "dm-sqlite-adapter",
|
||||
"parseconfig", "erubis", "dm-migrations", "librex, =0.0.52"]
|
||||
"parseconfig", "erubis", "dm-migrations"]
|
||||
|
||||
# array of missing non-version specific gems installed
|
||||
$gems_missing = Array.new
|
||||
@@ -139,3 +139,5 @@ else
|
||||
puts "\nThe Default username/password are beef/beef\n\n"
|
||||
puts "\nAll feedback welcome - http://beef.googlecode.com/\n\n"
|
||||
end
|
||||
|
||||
puts "*** If you wish experiment with the shell interface ensure you also run:\nsudo gem install librex -v0.0.52 --no-rdoc --no-ri\n\n"
|
||||
|
||||
Reference in New Issue
Block a user