Skip to content

Commit 25eda12

Browse files
authored
Merge pull request #3 from rapid7/master
merging master
2 parents 9c1ae39 + e026a8c commit 25eda12

File tree

231 files changed

+7877
-2176
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

231 files changed

+7877
-2176
lines changed

.dockerignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ docker-compose*.yml
55
docker/
66
!docker/msfconsole.rc
77
README.md
8+
.git/
9+
.github/
10+
.ruby-version
11+
.ruby-gemset
812

913
.bundle
1014
Gemfile.local
@@ -93,3 +97,6 @@ data/meterpreter/ext_server_pivot.*.dll
9397
# https://rapid7.github.io/metasploit-framework. It's an orphan branch.
9498
/metakitty
9599
.vagrant
100+
101+
# no need for rspecs
102+
spec/

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,5 @@ List the steps needed to make sure this thing works
1111
- [ ] ...
1212
- [ ] **Verify** the thing does what it should
1313
- [ ] **Verify** the thing does not do what it should not
14+
- [ ] **Document** the thing and how it works ([Example](https://github.com/rapid7/metasploit-framework/blob/master/documentation/modules/post/multi/gather/aws_keys.md))
1415

.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.3.3
1+
2.4.1

.travis.yml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,20 @@ addons:
1111
- graphviz
1212
language: ruby
1313
rvm:
14-
- '2.3.3'
14+
- '2.2'
15+
- '2.3.4'
16+
- '2.4.1'
1517

1618
env:
17-
- RAKE_TASKS="cucumber cucumber:boot" CREATE_BINSTUBS=true
18-
- RAKE_TASKS=spec SPEC_OPTS="--tag content"
19-
- RAKE_TASKS=spec SPEC_OPTS="--tag ~content"
19+
- CMD=bundle exec rake "cucumber cucumber:boot" CREATE_BINSTUBS=true
20+
- CMD=bundle exec rake spec SPEC_OPTS="--tag content"
21+
- CMD=bundle exec rake spec SPEC_OPTS="--tag ~content"
2022

2123
matrix:
2224
fast_finish: true
25+
include:
26+
- rvm: ruby-head
27+
env: CMD="docker-compose -f $TRAVIS_BUILD_DIR/docker-compose.yml build"
2328
before_install:
2429
- "echo 'gem: --no-ri --no-rdoc' > ~/.gemrc"
2530
- rake --version
@@ -34,7 +39,7 @@ before_script:
3439
- bundle exec rake db:migrate
3540
script:
3641
# fail build if db/schema.rb update is not committed
37-
- git diff --exit-code db/schema.rb && bundle exec rake $RAKE_TASKS
42+
- git diff --exit-code db/schema.rb && $CMD
3843

3944
notifications:
4045
irc: "irc.freenode.org#msfnotify"
@@ -47,3 +52,6 @@ branches:
4752
except:
4853
- gh-pages
4954
- metakitty
55+
56+
services:
57+
- docker

Gemfile

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,13 @@ source 'https://rubygems.org'
33
# spec.add_runtime_dependency '<name>', [<version requirements>]
44
gemspec name: 'metasploit-framework'
55

6+
gem 'bit-struct', git: 'https://github.com/busterb/bit-struct', branch: 'ruby-2.4'
7+
gem 'method_source', git: 'https://github.com/banister/method_source', branch: 'master'
8+
gem 'rubyntlm', git: 'https://github.com/WinRb/rubyntlm', branch: 'master'
9+
610
# separate from test as simplecov is not run on travis-ci
711
group :coverage do
812
# code coverage for tests
9-
# any version newer than 0.5.4 gives an Encoding error when trying to read the source files.
10-
# see: https://github.com/colszowka/simplecov/issues/127 (hopefully fixed in 0.8.0)
1113
gem 'simplecov'
1214
end
1315

@@ -17,14 +19,12 @@ group :development do
1719
# generating documentation
1820
gem 'yard'
1921
# for development and testing purposes
20-
gem 'pry'
22+
gem 'pry', git: 'https://github.com/pry/pry', branch: 'master'
2123
# module documentation
22-
gem 'octokit', '~> 4.0'
23-
# session aggregator, native builds have issues on arm platforms for now
24-
gem 'metasploit-aggregator' if [
25-
'x86-mingw32', 'x64-mingw32',
26-
'x86_64-linux', 'x86-linux',
27-
'darwin'].include?(RUBY_PLATFORM.gsub(/.*darwin.*/, 'darwin'))
24+
gem 'octokit'
25+
# metasploit-aggregator as a framework only option for now
26+
# Metasploit::Aggregator external session proxy
27+
gem 'metasploit-aggregator'
2828
end
2929

3030
group :development, :test do

Gemfile.lock

Lines changed: 67 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,37 @@
1+
GIT
2+
remote: https://github.com/WinRb/rubyntlm
3+
revision: 7e2daf6076ba55a435d3e345498a7df40faa3d49
4+
branch: master
5+
specs:
6+
rubyntlm (0.6.1)
7+
8+
GIT
9+
remote: https://github.com/banister/method_source
10+
revision: 6dcb116e37e20e58f615ffe05a40bbe9a536e44a
11+
branch: master
12+
specs:
13+
method_source (0.8.1)
14+
15+
GIT
16+
remote: https://github.com/busterb/bit-struct
17+
revision: 707133ae6af5420be6fbe29be6baa5fbc929da2e
18+
branch: ruby-2.4
19+
specs:
20+
bit-struct (0.15.0)
21+
22+
GIT
23+
remote: https://github.com/pry/pry
24+
revision: 1f64463184e0a160d0b41d1a1f92b8e2f230278c
25+
branch: master
26+
specs:
27+
pry (0.10.4)
28+
coderay (~> 1.1.0)
29+
method_source (~> 0.8.1)
30+
131
PATH
232
remote: .
333
specs:
4-
metasploit-framework (4.14.8)
34+
metasploit-framework (4.14.15)
535
actionpack (~> 4.2.6)
636
activerecord (~> 4.2.6)
737
activesupport (~> 4.2.6)
@@ -14,9 +44,9 @@ PATH
1444
metasploit-concern
1545
metasploit-credential
1646
metasploit-model
17-
metasploit-payloads (= 1.2.19)
47+
metasploit-payloads (= 1.2.24)
1848
metasploit_data_models
19-
metasploit_payloads-mettle (= 0.1.8)
49+
metasploit_payloads-mettle (= 0.1.9)
2050
msgpack
2151
nessus_rest
2252
net-ssh
@@ -61,6 +91,7 @@ PATH
6191
tzinfo
6292
tzinfo-data
6393
windows_error
94+
xmlrpc
6495

6596
GEM
6697
remote: https://rubygems.org/
@@ -103,8 +134,7 @@ GEM
103134
rspec-expectations (>= 2.99)
104135
thor (~> 0.19)
105136
bcrypt (3.1.11)
106-
bindata (2.3.5)
107-
bit-struct (0.15.0)
137+
bindata (2.4.0)
108138
builder (3.2.3)
109139
capybara (2.13.0)
110140
addressable
@@ -142,7 +172,7 @@ GEM
142172
factory_girl_rails (4.8.0)
143173
factory_girl (~> 4.8.0)
144174
railties (>= 3.0.0)
145-
faraday (0.11.0)
175+
faraday (0.12.1)
146176
multipart-post (>= 1.2, < 3)
147177
ffi (1.9.18)
148178
filesize (0.1.1)
@@ -157,16 +187,16 @@ GEM
157187
multi_json (~> 1.11)
158188
os (~> 0.9)
159189
signet (~> 0.7)
160-
grpc (1.2.0)
190+
grpc (1.2.5)
161191
google-protobuf (~> 3.1)
162192
googleauth (~> 0.5.1)
163193
i18n (0.8.1)
164194
jsobfu (0.4.2)
165195
rkelly-remix
166-
json (2.0.3)
196+
json (2.1.0)
167197
jwt (1.5.6)
168198
little-plugger (1.1.4)
169-
logging (2.2.0)
199+
logging (2.2.2)
170200
little-plugger (~> 1.1)
171201
multi_json (~> 1.10)
172202
loofah (2.0.3)
@@ -192,7 +222,7 @@ GEM
192222
activemodel (~> 4.2.6)
193223
activesupport (~> 4.2.6)
194224
railties (~> 4.2.6)
195-
metasploit-payloads (1.2.19)
225+
metasploit-payloads (1.2.24)
196226
metasploit_data_models (2.0.14)
197227
activerecord (~> 4.2.6)
198228
activesupport (~> 4.2.6)
@@ -203,8 +233,7 @@ GEM
203233
postgres_ext
204234
railties (~> 4.2.6)
205235
recog (~> 2.0)
206-
metasploit_payloads-mettle (0.1.8)
207-
method_source (0.8.2)
236+
metasploit_payloads-mettle (0.1.9)
208237
mime-types (3.1)
209238
mime-types-data (~> 3.2015)
210239
mime-types-data (3.2016.0521)
@@ -217,10 +246,10 @@ GEM
217246
nessus_rest (0.1.6)
218247
net-ssh (4.1.0)
219248
network_interface (0.0.1)
220-
nexpose (5.3.2)
249+
nexpose (6.0.0)
221250
nokogiri (1.7.1)
222251
mini_portile2 (~> 2.1.0)
223-
octokit (4.6.2)
252+
octokit (4.7.0)
224253
sawyer (~> 0.8.0, >= 0.5.3)
225254
openssl-ccm (1.2.1)
226255
openvas-omp (0.0.4)
@@ -235,10 +264,6 @@ GEM
235264
activerecord (>= 4.0.0)
236265
arel (>= 4.0.1)
237266
pg_array_parser (~> 0.0.9)
238-
pry (0.10.4)
239-
coderay (~> 1.1.0)
240-
method_source (~> 0.8.1)
241-
slop (~> 3.4)
242267
public_suffix (2.0.5)
243268
rack (1.6.5)
244269
rack-test (0.6.3)
@@ -263,48 +288,48 @@ GEM
263288
redcarpet (3.4.0)
264289
rex-arch (0.1.4)
265290
rex-text
266-
rex-bin_tools (0.1.1)
291+
rex-bin_tools (0.1.2)
267292
metasm
268293
rex-arch
269294
rex-core
270295
rex-struct2
271296
rex-text
272-
rex-core (0.1.8)
273-
rex-encoder (0.1.2)
297+
rex-core (0.1.9)
298+
rex-encoder (0.1.3)
274299
metasm
275300
rex-arch
276301
rex-text
277-
rex-exploitation (0.1.11)
302+
rex-exploitation (0.1.12)
278303
jsobfu
279304
metasm
280305
rex-arch
281306
rex-encoder
282307
rex-text
283-
rex-java (0.1.3)
284-
rex-mime (0.1.3)
308+
rex-java (0.1.4)
309+
rex-mime (0.1.4)
285310
rex-text
286311
rex-nop (0.1.0)
287312
rex-arch
288-
rex-ole (0.1.4)
313+
rex-ole (0.1.5)
289314
rex-text
290-
rex-powershell (0.1.69)
315+
rex-powershell (0.1.70)
291316
rex-random_identifier
292317
rex-text
293-
rex-random_identifier (0.1.1)
318+
rex-random_identifier (0.1.2)
294319
rex-text
295-
rex-registry (0.1.1)
296-
rex-rop_builder (0.1.1)
320+
rex-registry (0.1.2)
321+
rex-rop_builder (0.1.2)
297322
metasm
298323
rex-core
299324
rex-text
300-
rex-socket (0.1.3)
325+
rex-socket (0.1.5)
301326
rex-core
302-
rex-sslscan (0.1.2)
327+
rex-sslscan (0.1.3)
303328
rex-socket
304329
rex-text
305-
rex-struct2 (0.1.0)
306-
rex-text (0.2.13)
307-
rex-zip (0.1.1)
330+
rex-struct2 (0.1.1)
331+
rex-text (0.2.14)
332+
rex-zip (0.1.2)
308333
rex-text
309334
rkelly-remix (0.0.7)
310335
robots (0.10.1)
@@ -325,12 +350,10 @@ GEM
325350
rspec-mocks (~> 3.5.0)
326351
rspec-support (~> 3.5.0)
327352
rspec-support (3.5.0)
328-
ruby_smb (0.0.8)
353+
ruby_smb (0.0.12)
329354
bindata
330-
bit-struct
331-
rubyntlm (~> 0.5)
355+
rubyntlm
332356
windows_error
333-
rubyntlm (0.6.1)
334357
rubyzip (1.2.1)
335358
sawyer (0.8.1)
336359
addressable (>= 2.3.5, < 2.6)
@@ -347,7 +370,6 @@ GEM
347370
json (>= 1.8, < 3)
348371
simplecov-html (~> 0.10.0)
349372
simplecov-html (0.10.0)
350-
slop (3.6.0)
351373
sqlite3 (1.3.13)
352374
sshkey (1.9.0)
353375
thor (0.19.4)
@@ -358,6 +380,7 @@ GEM
358380
tzinfo-data (1.2017.2)
359381
tzinfo (>= 1.0.0)
360382
windows_error (0.1.1)
383+
xmlrpc (0.3.0)
361384
xpath (2.0.0)
362385
nokogiri (~> 1.3)
363386
yard (0.9.8)
@@ -367,16 +390,19 @@ PLATFORMS
367390

368391
DEPENDENCIES
369392
aruba
393+
bit-struct!
370394
cucumber-rails
371395
factory_girl_rails
372396
fivemat
373397
metasploit-aggregator
374398
metasploit-framework!
375-
octokit (~> 4.0)
376-
pry
399+
method_source!
400+
octokit
401+
pry!
377402
rake
378403
redcarpet
379404
rspec-rails
405+
rubyntlm!
380406
shoulda-matchers
381407
simplecov
382408
timecop

0 commit comments

Comments
 (0)