Move msfdb_ws since it is deprecated by msfdb
parent
f636982b09
commit
5e28bccda9
|
@ -100,7 +100,7 @@ Gem::Specification.new do |spec|
|
||||||
spec.add_runtime_dependency 'redcarpet'
|
spec.add_runtime_dependency 'redcarpet'
|
||||||
# Needed for Microsoft patch finding tool (msu_finder)
|
# Needed for Microsoft patch finding tool (msu_finder)
|
||||||
spec.add_runtime_dependency 'patch_finder'
|
spec.add_runtime_dependency 'patch_finder'
|
||||||
# Required for msfdb_ws (Metasploit data base as a webservice)
|
# Required for Metasploit Web Services
|
||||||
spec.add_runtime_dependency 'thin'
|
spec.add_runtime_dependency 'thin'
|
||||||
spec.add_runtime_dependency 'sinatra'
|
spec.add_runtime_dependency 'sinatra'
|
||||||
spec.add_runtime_dependency 'warden'
|
spec.add_runtime_dependency 'warden'
|
||||||
|
|
|
@ -112,7 +112,7 @@ RSpec.configure do |config|
|
||||||
if ENV['REMOTE_DB']
|
if ENV['REMOTE_DB']
|
||||||
require 'metasploit/framework/data_service/remote/managed_remote_data_service'
|
require 'metasploit/framework/data_service/remote/managed_remote_data_service'
|
||||||
opts = {}
|
opts = {}
|
||||||
opts[:process_name] = 'msfdb_ws'
|
opts[:process_name] = File.join('tools', 'dev', 'msfdb_ws')
|
||||||
opts[:host] = 'localhost'
|
opts[:host] = 'localhost'
|
||||||
opts[:port] = '8080'
|
opts[:port] = '8080'
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@ end
|
||||||
|
|
||||||
def require_deps
|
def require_deps
|
||||||
require 'pathname'
|
require 'pathname'
|
||||||
require Pathname.new(__FILE__).realpath.expand_path.parent.join('config', 'boot')
|
require Pathname.new(__FILE__).realpath.expand_path.parent.parent.parent.join('config', 'boot')
|
||||||
require 'msf/core/web_services/http_db_manager_service'
|
require 'msf/core/web_services/http_db_manager_service'
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue