Skip to content

Commit a9ab5b7

Browse files
committed
Handle content-type weirdness from Anemone
Fixes rapid7#5515 MSP-12834
1 parent 275e5ff commit a9ab5b7

File tree

3 files changed

+14
-22
lines changed

3 files changed

+14
-22
lines changed

Gemfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ group :development do
2424
gem 'pry'
2525
end
2626

27-
gem 'metasploit_data_models', git: '[email protected]:rapid7/metasploit_data_models', branch:'bug/MSP-12834/crawler-choke-on-save'
28-
2927
group :development, :test do
3028
# automatically include factories from spec/factories
3129
gem 'factory_girl_rails', '~> 4.5.0'

Gemfile.lock

Lines changed: 13 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,3 @@
1-
GIT
2-
remote: [email protected]:rapid7/metasploit_data_models
3-
revision: c36c800866d42187c21c1308a9bac5f3278d8aa3
4-
branch: bug/MSP-12834/crawler-choke-on-save
5-
specs:
6-
metasploit_data_models (1.2.4)
7-
activerecord (>= 4.0.9, < 4.1.0)
8-
activesupport (>= 4.0.9, < 4.1.0)
9-
arel-helpers
10-
metasploit-concern (~> 1.0)
11-
metasploit-model (~> 1.0)
12-
pg
13-
postgres_ext
14-
railties (>= 4.0.9, < 4.1.0)
15-
recog (~> 2.0)
16-
171
PATH
182
remote: .
193
specs:
@@ -40,6 +24,7 @@ PATH
4024
activerecord (>= 4.0.9, < 4.1.0)
4125
metasploit-credential (~> 1.0)
4226
metasploit-framework (= 4.11.0.pre.dev)
27+
metasploit_data_models (~> 1.2)
4328
pg (>= 0.11)
4429
metasploit-framework-pcap (4.11.0.pre.dev)
4530
metasploit-framework (= 4.11.0.pre.dev)
@@ -139,6 +124,16 @@ GEM
139124
activesupport (>= 4.0.9, < 4.1.0)
140125
railties (>= 4.0.9, < 4.1.0)
141126
metasploit-payloads (1.0.2)
127+
metasploit_data_models (1.2.5)
128+
activerecord (>= 4.0.9, < 4.1.0)
129+
activesupport (>= 4.0.9, < 4.1.0)
130+
arel-helpers
131+
metasploit-concern (~> 1.0)
132+
metasploit-model (~> 1.0)
133+
pg
134+
postgres_ext
135+
railties (>= 4.0.9, < 4.1.0)
136+
recog (~> 2.0)
142137
method_source (0.8.2)
143138
mime-types (2.4.3)
144139
mini_portile (0.6.2)
@@ -161,7 +156,7 @@ GEM
161156
coderay (~> 1.1.0)
162157
method_source (~> 0.8.1)
163158
slop (~> 3.4)
164-
rack (1.5.3)
159+
rack (1.5.5)
165160
rack-test (0.6.3)
166161
rack (>= 1.0)
167162
rails (4.0.13)
@@ -179,7 +174,7 @@ GEM
179174
thor (>= 0.18.1, < 2.0)
180175
rake (10.4.2)
181176
rb-readline-r7 (0.5.2.0)
182-
recog (2.0.5)
177+
recog (2.0.6)
183178
nokogiri
184179
redcarpet (3.2.3)
185180
rkelly-remix (0.0.6)
@@ -243,7 +238,6 @@ DEPENDENCIES
243238
metasploit-framework!
244239
metasploit-framework-db!
245240
metasploit-framework-pcap!
246-
metasploit_data_models!
247241
pry
248242
rake (>= 10.0.0)
249243
redcarpet

metasploit-framework-db.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Gem::Specification.new do |spec|
3131
# Metasploit::Credential database models
3232
spec.add_runtime_dependency 'metasploit-credential', '~> 1.0'
3333
# Database models shared between framework and Pro.
34-
#spec.add_runtime_dependency 'metasploit_data_models', '~> 1.2'
34+
spec.add_runtime_dependency 'metasploit_data_models', '~> 1.2'
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

0 commit comments

Comments
 (0)