Skip to content

Commit 7bdfcf2

Browse files
darkbushidoBrent Cook
authored andcommitted
locking the r7 managed gems to specific versions
this will force pro to use the same version of the gems
1 parent 49d3b27 commit 7bdfcf2

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

Gemfile.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,24 +7,24 @@ PATH
77
bcrypt
88
jsobfu (~> 0.2.0)
99
json
10-
metasploit-concern (~> 1.0)
11-
metasploit-model (~> 1.0)
10+
metasploit-concern (= 1.0.0)
11+
metasploit-model (= 1.0.0)
1212
metasploit-payloads (= 1.0.4)
1313
msgpack
1414
nokogiri
1515
packetfu (= 1.1.9)
1616
railties
1717
rb-readline-r7
18-
recog (~> 2.0)
18+
recog (= 2.0.6)
1919
robots
2020
rubyzip (~> 1.1)
2121
sqlite3
2222
tzinfo
2323
metasploit-framework-db (4.11.0.pre.dev)
2424
activerecord (>= 4.0.9, < 4.1.0)
25-
metasploit-credential (~> 1.0)
25+
metasploit-credential (= 1.0.0)
2626
metasploit-framework (= 4.11.0.pre.dev)
27-
metasploit_data_models (~> 1.2)
27+
metasploit_data_models (= 1.2.5)
2828
pg (>= 0.11)
2929
metasploit-framework-pcap (4.11.0.pre.dev)
3030
metasploit-framework (= 4.11.0.pre.dev)

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', '~> 1.0'
32+
spec.add_runtime_dependency 'metasploit-credential', '1.0.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.5'
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: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@ Gem::Specification.new do |spec|
5757
# Needed for some admin modules (scrutinizer_add_user.rb)
5858
spec.add_runtime_dependency 'json'
5959
# Metasploit::Concern hooks
60-
spec.add_runtime_dependency 'metasploit-concern', '~> 1.0'
60+
spec.add_runtime_dependency 'metasploit-concern', '1.0.0'
6161
# Things that would normally be part of the database model, but which
6262
# are needed when there's no database
63-
spec.add_runtime_dependency 'metasploit-model', '~> 1.0'
63+
spec.add_runtime_dependency 'metasploit-model', '1.0.0'
6464
# Needed for Meterpreter
6565
spec.add_runtime_dependency 'metasploit-payloads', '1.0.4'
6666
# Needed by msfgui and other rpc components
@@ -72,7 +72,7 @@ Gem::Specification.new do |spec|
7272
# Run initializers for metasploit-concern, metasploit-credential, metasploit_data_models Rails::Engines
7373
spec.add_runtime_dependency 'railties'
7474
# required for OS fingerprinting
75-
spec.add_runtime_dependency 'recog', '~> 2.0'
75+
spec.add_runtime_dependency 'recog', '2.0.6'
7676

7777
# rb-readline doesn't work with Ruby Installer due to error with Fiddle:
7878
# NoMethodError undefined method `dlopen' for Fiddle:Module

0 commit comments

Comments
 (0)