Skip to content

Commit 539817f

Browse files
committed
Add metasploit-model as a direct dependency
MSP-10905 Metasploit::Model constants need to be accessible without the db group installed.
1 parent 533d0be commit 539817f

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

Gemfile.lock

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ PATH
55
activesupport (>= 3.0.0, < 4.0.0)
66
bcrypt
77
json
8+
metasploit-model (~> 0.25.6)
89
meterpreter_bins (= 0.0.6)
910
msgpack
1011
nokogiri

metasploit-framework.gemspec

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ Gem::Specification.new do |spec|
5555
spec.add_runtime_dependency 'bcrypt'
5656
# Needed for some admin modules (scrutinizer_add_user.rb)
5757
spec.add_runtime_dependency 'json'
58+
# Metasploit::Model constant used with and without database gems
59+
spec.add_runtime_dependency 'metasploit-model', '~> 0.25.6'
5860
# Needed for Meterpreter on Windows, soon others.
5961
spec.add_runtime_dependency 'meterpreter_bins', '0.0.6'
6062
# Needed by msfgui and other rpc components

0 commit comments

Comments
 (0)