Skip to content

Commit 3633be1

Browse files
committed
Land rapid7#5153, gem/autoload updates
2 parents 491835d + 1e7a6bf commit 3633be1

File tree

4 files changed

+15
-14
lines changed

4 files changed

+15
-14
lines changed

Gemfile.lock

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ PATH
77
bcrypt
88
jsobfu (~> 0.2.0)
99
json
10-
metasploit-concern (~> 0.3.0)
10+
metasploit-concern (= 0.4.0)
1111
metasploit-model (~> 0.29.0)
1212
meterpreter_bins (= 0.0.21)
1313
msgpack
@@ -22,9 +22,9 @@ PATH
2222
tzinfo
2323
metasploit-framework-db (4.11.0.pre.dev)
2424
activerecord (>= 3.2.21, < 4.0.0)
25-
metasploit-credential (~> 0.14.3)
25+
metasploit-credential (= 0.14.5)
2626
metasploit-framework (= 4.11.0.pre.dev)
27-
metasploit_data_models (~> 0.23.2)
27+
metasploit_data_models (= 0.24.0)
2828
pg (>= 0.11)
2929
metasploit-framework-pcap (4.11.0.pre.dev)
3030
metasploit-framework (= 4.11.0.pre.dev)
@@ -109,25 +109,25 @@ GEM
109109
mail (2.5.4)
110110
mime-types (~> 1.16)
111111
treetop (~> 1.4.8)
112-
metasploit-concern (0.3.0)
112+
metasploit-concern (0.4.0)
113113
activesupport (~> 3.0, >= 3.0.0)
114114
railties (< 4.0.0)
115-
metasploit-credential (0.14.3)
116-
metasploit-concern (~> 0.3.0)
115+
metasploit-credential (0.14.5)
116+
metasploit-concern (= 0.4.0)
117117
metasploit-model (~> 0.29.0)
118-
metasploit_data_models (~> 0.23.0)
118+
metasploit_data_models (= 0.24.0)
119119
pg
120120
railties (< 4.0.0)
121121
rubyntlm
122122
rubyzip (~> 1.1)
123-
metasploit-model (0.29.0)
123+
metasploit-model (0.29.2)
124124
activesupport
125125
railties (< 4.0.0)
126-
metasploit_data_models (0.23.2)
126+
metasploit_data_models (0.24.0)
127127
activerecord (>= 3.2.13, < 4.0.0)
128128
activesupport
129129
arel-helpers
130-
metasploit-concern (~> 0.3.0)
130+
metasploit-concern (= 0.4.0)
131131
metasploit-model (~> 0.29.0)
132132
pg
133133
railties (< 4.0.0)
@@ -175,7 +175,7 @@ GEM
175175
rb-readline-r7 (0.5.2.0)
176176
rdoc (3.12.2)
177177
json (~> 1.4)
178-
recog (1.0.24)
178+
recog (1.0.27)
179179
nokogiri
180180
redcarpet (3.1.2)
181181
rkelly-remix (0.0.6)

lib/metasploit/framework/common_engine.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ module Metasploit::Framework::CommonEngine
3232
end
3333

3434
config.root = Msf::Config::install_root
35+
config.paths.add 'app/concerns', autoload: true
3536
config.paths.add 'data/meterpreter', glob: '**/ext_*'
3637
config.paths.add 'modules'
3738

metasploit-framework-db.gemspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ Gem::Specification.new do |spec|
2929

3030
spec.add_runtime_dependency 'activerecord', *Metasploit::Framework::RailsVersionConstraint::RAILS_VERSION
3131
# Metasploit::Credential database models
32-
spec.add_runtime_dependency 'metasploit-credential', '~> 0.14.3'
32+
spec.add_runtime_dependency 'metasploit-credential', '0.14.5'
3333
# Database models shared between framework and Pro.
34-
spec.add_runtime_dependency 'metasploit_data_models', '~> 0.23.2'
34+
spec.add_runtime_dependency 'metasploit_data_models', '0.24.0'
3535
# depend on metasploit-framewrok as the optional gems are useless with the actual code
3636
spec.add_runtime_dependency 'metasploit-framework', "= #{spec.version}"
3737
# Needed for module caching in Mdm::ModuleDetails

metasploit-framework.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Gem::Specification.new do |spec|
5959
# Needed for some admin modules (scrutinizer_add_user.rb)
6060
spec.add_runtime_dependency 'json'
6161
# Metasploit::Concern hooks
62-
spec.add_runtime_dependency 'metasploit-concern', '~> 0.3.0'
62+
spec.add_runtime_dependency 'metasploit-concern', '0.4.0'
6363
# Things that would normally be part of the database model, but which
6464
# are needed when there's no database
6565
spec.add_runtime_dependency 'metasploit-model', '~> 0.29.0'

0 commit comments

Comments
 (0)