Skip to content

Commit ea72a7e

Browse files
committed
Merge pull request rapid7#3583 from jlee-r7/feature/MSP-9932/creds-add-subcommands
Add `creds` subcommands MSP-9932 #land
2 parents d863ff9 + 85b00ee commit ea72a7e

File tree

7 files changed

+267
-97
lines changed

7 files changed

+267
-97
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ group :db do
77
# Needed for Msf::DbManager
88
gem 'activerecord', '>= 3.0.0', '< 4.0.0'
99
# Metasploit::Credential database models
10-
gem 'metasploit-credential', '>= 0.7.10.pre.core.pre.search', '< 0.8'
10+
gem 'metasploit-credential', '~> 0.7.14', '< 0.8'
1111
# Database models shared between framework and Pro.
1212
gem 'metasploit_data_models', '~> 0.19'
1313
# Needed for module caching in Mdm::ModuleDetails

Gemfile.lock

Lines changed: 11 additions & 10 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.7)
89
meterpreter_bins (= 0.0.6)
910
msgpack
1011
nokogiri
@@ -41,7 +42,7 @@ GEM
4142
i18n (~> 0.6, >= 0.6.4)
4243
multi_json (~> 1.0)
4344
arel (3.0.3)
44-
arel-helpers (2.0.0)
45+
arel-helpers (2.0.1)
4546
activerecord (>= 3.1.0, < 5)
4647
bcrypt (3.1.7)
4748
builder (3.0.4)
@@ -60,16 +61,16 @@ GEM
6061
json (1.8.1)
6162
metasploit-concern (0.1.1)
6263
activesupport (~> 3.0, >= 3.0.0)
63-
metasploit-credential (0.7.10.pre.core.pre.search)
64+
metasploit-credential (0.7.16)
6465
metasploit-concern (~> 0.1.0)
6566
metasploit-model (>= 0.25.6)
6667
metasploit_data_models (~> 0.19)
6768
pg
6869
rubyntlm
6970
rubyzip (~> 1.1)
70-
metasploit-model (0.25.6)
71+
metasploit-model (0.25.7)
7172
activesupport
72-
metasploit_data_models (0.19.0)
73+
metasploit_data_models (0.19.3)
7374
activerecord (>= 3.2.13, < 4.0.0)
7475
activesupport
7576
arel-helpers
@@ -82,7 +83,7 @@ GEM
8283
msgpack (0.5.8)
8384
multi_json (1.0.4)
8485
network_interface (0.0.1)
85-
nokogiri (1.6.2.1)
86+
nokogiri (1.6.3.1)
8687
mini_portile (= 0.6.0)
8788
packetfu (1.1.9)
8889
pcaprub (0.11.3)
@@ -118,9 +119,9 @@ GEM
118119
rspec-collection_matchers (1.0.0)
119120
rspec-expectations (>= 2.99.0.beta1)
120121
rspec-core (2.99.1)
121-
rspec-expectations (2.99.1)
122+
rspec-expectations (2.99.2)
122123
diff-lcs (>= 1.1.3, < 2.0)
123-
rspec-mocks (2.99.1)
124+
rspec-mocks (2.99.2)
124125
rspec-rails (2.99.0)
125126
actionpack (>= 3.0)
126127
activemodel (>= 3.0)
@@ -132,13 +133,13 @@ GEM
132133
rspec-mocks (~> 2.99.0)
133134
rubyntlm (0.4.0)
134135
rubyzip (1.1.6)
135-
shoulda-matchers (2.6.1)
136+
shoulda-matchers (2.6.2)
136137
activesupport (>= 3.0.0)
137138
simplecov (0.5.4)
138139
multi_json (~> 1.0.3)
139140
simplecov-html (~> 0.5.3)
140141
simplecov-html (0.5.3)
141-
slop (3.5.0)
142+
slop (3.6.0)
142143
sprockets (2.2.2)
143144
hike (~> 1.2)
144145
multi_json (~> 1.0)
@@ -159,7 +160,7 @@ DEPENDENCIES
159160
factory_girl (>= 4.1.0)
160161
factory_girl_rails
161162
fivemat (= 1.2.1)
162-
metasploit-credential (>= 0.7.10.pre.core.pre.search, < 0.8)
163+
metasploit-credential (~> 0.7.14, < 0.8)
163164
metasploit-framework!
164165
metasploit_data_models (~> 0.19)
165166
network_interface (~> 0.0.1)

lib/metasploit/framework.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
require 'bcrypt'
1010
require 'json'
1111
require 'msgpack'
12+
require 'metasploit/model'
1213
require 'nokogiri'
1314
require 'packetfu'
1415
# railties has not autorequire defined
@@ -43,4 +44,4 @@ def self.root
4344
@root
4445
end
4546
end
46-
end
47+
end

0 commit comments

Comments
 (0)