renabled commented-out Mutex in server initialization. Without this mutex the tunneling proxy cannot start.

This commit is contained in:
antisnatchor
2011-11-21 16:45:09 +01:00
parent 82865f6ffa
commit e4cecc27df

View File

@@ -24,7 +24,7 @@ module BeEF
# @note Grabs the version of beef the framework is deployed on
VERSION = BeEF::Core::Configuration.instance.get('beef.version')
attr_reader :root_dir, :url, :configuration, :command_urls, :mounts
attr_reader :root_dir, :url, :configuration, :command_urls, :mounts, :semaphore
def initialize
@configuration = BeEF::Core::Configuration.instance
@@ -34,7 +34,7 @@ module BeEF
@command_urls = {}
@mounts = {}
@rack_app
# @semaphore = Mutex.new
@semaphore = Mutex.new
end
def to_h