Skip to content

Commit 293d1ed

Browse files
committed
Merge master: 8853193
2 parents 2cd9649 + e5a3441 commit 293d1ed

File tree

585 files changed

+7451
-1952
lines changed

Some content is hidden

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

585 files changed

+7451
-1952
lines changed

.ruby-version

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

.travis.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,24 @@ addons:
1212
language: ruby
1313
rvm:
1414
- '2.2'
15-
- '2.3.4'
16-
- '2.4.1'
15+
- '2.3.5'
16+
- '2.4.2'
1717

1818
env:
1919
- CMD='bundle exec rake rspec-rerun:spec SPEC_OPTS="--tag content"'
2020
- CMD='bundle exec rake rspec-rerun:spec SPEC_OPTS="--tag ~content"'
2121

2222
matrix:
2323
fast_finish: true
24+
25+
jobs:
26+
# build docker image
2427
include:
25-
- rvm: ruby-head
26-
env: CMD="docker-compose -f $TRAVIS_BUILD_DIR/docker-compose.yml build"
28+
- env: CMD="docker-compose -f $TRAVIS_BUILD_DIR/docker-compose.yml build" DOCKER="true"
29+
# we do not need any setup
30+
before_install: skip
31+
install: skip
32+
before_script: skip
2733
before_install:
2834
- "echo 'gem: --no-ri --no-rdoc' > ~/.gemrc"
2935
- rake --version
@@ -42,7 +48,8 @@ before_script:
4248
- git diff --exit-code db/schema.rb
4349
script:
4450
- echo "${CMD}"
45-
- bash -c "${CMD}"
51+
# we need travis_wait because the Docker build job can take longer than 10 minutes
52+
- if [[ "${DOCKER}" == "true" ]]; then echo "Starting Docker build job"; travis_wait 40 "${CMD}"; else bash -c "${CMD}"; fi
4653

4754
notifications:
4855
irc: "irc.freenode.org#msfnotify"

.yardopts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
--exclude samples/
33
--exclude \.ut\.rb/
44
--exclude \.ts\.rb/
5-
--files CONTRIBUTING.md,COPYING,HACKING,LICENSE
5+
--files CONTRIBUTING.md,COPYING,LICENSE
66
app/**/*.rb
77
lib/msf/**/*.rb
88
lib/metasploit/**/*.rb

docker/Dockerfile renamed to Dockerfile

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ruby:2.4.1-alpine
1+
FROM ruby:2.4.2-alpine
22
MAINTAINER Rapid7
33

44
ARG BUNDLER_ARGS="--jobs=8 --without development test coverage"
@@ -36,15 +36,12 @@ RUN apk update && \
3636
ncurses-dev \
3737
git \
3838
&& echo "gem: --no-ri --no-rdoc" > /etc/gemrc \
39+
&& gem update --system \
3940
&& gem install bundler \
4041
&& bundle install --system $BUNDLER_ARGS \
4142
&& apk del .ruby-builddeps \
4243
&& rm -rf /var/cache/apk/*
4344

44-
# fix for robots gem not readable (known bug)
45-
# https://github.com/rapid7/metasploit-framework/issues/6068
46-
RUN chmod o+r /usr/local/bundle/gems/robots-*/lib/robots.rb
47-
4845
RUN adduser -g msfconsole -D $MSF_USER
4946

5047
RUN /usr/sbin/setcap cap_net_raw,cap_net_bind_service=+eip $(which ruby)

Gemfile.lock

Lines changed: 21 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
metasploit-framework (4.16.0)
4+
metasploit-framework (4.16.9)
55
actionpack (~> 4.2.6)
66
activerecord (~> 4.2.6)
77
activesupport (~> 4.2.6)
@@ -17,9 +17,9 @@ PATH
1717
metasploit-concern
1818
metasploit-credential
1919
metasploit-model
20-
metasploit-payloads (= 1.3.1)
20+
metasploit-payloads (= 1.3.9)
2121
metasploit_data_models
22-
metasploit_payloads-mettle (= 0.2.0)
22+
metasploit_payloads-mettle (= 0.2.2)
2323
msgpack
2424
nessus_rest
2525
net-ssh
@@ -58,7 +58,6 @@ PATH
5858
rex-struct2
5959
rex-text
6060
rex-zip
61-
robots
6261
ruby_smb
6362
rubyntlm
6463
rubyzip
@@ -99,20 +98,20 @@ GEM
9998
minitest (~> 5.1)
10099
thread_safe (~> 0.3, >= 0.3.4)
101100
tzinfo (~> 1.1)
102-
addressable (2.5.1)
103-
public_suffix (~> 2.0, >= 2.0.2)
101+
addressable (2.5.2)
102+
public_suffix (>= 2.0.2, < 4.0)
104103
afm (0.2.2)
105104
arel (6.0.4)
106105
arel-helpers (2.4.0)
107106
activerecord (>= 3.1.0, < 6)
108107
backports (3.8.0)
109108
bcrypt (3.1.11)
110109
bcrypt_pbkdf (1.0.0)
111-
bindata (2.4.0)
110+
bindata (2.4.1)
112111
bit-struct (0.16)
113112
builder (3.2.3)
114113
coderay (1.1.1)
115-
daemons (1.2.4)
114+
coderay (1.1.2)
116115
diff-lcs (1.3)
117116
dnsruby (1.60.2)
118117
docile (1.1.5)
@@ -153,7 +152,7 @@ GEM
153152
activemodel (~> 4.2.6)
154153
activesupport (~> 4.2.6)
155154
railties (~> 4.2.6)
156-
metasploit-payloads (1.3.1)
155+
metasploit-payloads (1.3.9)
157156
metasploit_data_models (2.0.15)
158157
activerecord (~> 4.2.6)
159158
activesupport (~> 4.2.6)
@@ -164,18 +163,18 @@ GEM
164163
postgres_ext
165164
railties (~> 4.2.6)
166165
recog (~> 2.0)
167-
metasploit_payloads-mettle (0.2.0)
166+
metasploit_payloads-mettle (0.2.2)
168167
method_source (0.8.2)
169-
mini_portile2 (2.2.0)
168+
mini_portile2 (2.3.0)
170169
minitest (5.10.3)
171170
msgpack (1.1.0)
172171
multipart-post (2.0.0)
173172
nessus_rest (0.1.6)
174-
net-ssh (4.1.0)
175-
network_interface (0.0.1)
176-
nexpose (6.1.1)
177-
nokogiri (1.8.0)
178-
mini_portile2 (~> 2.2.0)
173+
net-ssh (4.2.0)
174+
network_interface (0.0.2)
175+
nexpose (7.0.1)
176+
nokogiri (1.8.1)
177+
mini_portile2 (~> 2.3.0)
179178
octokit (4.7.0)
180179
sawyer (~> 0.8.0, >= 0.5.3)
181180
openssl-ccm (1.2.1)
@@ -196,11 +195,10 @@ GEM
196195
activerecord (>= 4.0.0)
197196
arel (>= 4.0.1)
198197
pg_array_parser (~> 0.0.9)
199-
pry (0.10.4)
198+
pry (0.11.0)
200199
coderay (~> 1.1.0)
201200
method_source (~> 0.8.1)
202-
slop (~> 3.4)
203-
public_suffix (2.0.5)
201+
public_suffix (3.0.0)
204202
rack (1.6.8)
205203
rack-protection (1.5.3)
206204
rack
@@ -219,13 +217,13 @@ GEM
219217
activesupport (= 4.2.9)
220218
rake (>= 0.8.7)
221219
thor (>= 0.18.1, < 2.0)
222-
rake (12.0.0)
220+
rake (12.1.0)
223221
rb-readline (0.5.5)
224222
rbnacl (4.0.2)
225223
ffi
226224
rbnacl-libsodium (1.0.13)
227225
rbnacl (>= 3.0.1)
228-
recog (2.1.11)
226+
recog (2.1.15)
229227
nokogiri
230228
redcarpet (3.4.0)
231229
rex-arch (0.1.11)
@@ -257,7 +255,7 @@ GEM
257255
rex-powershell (0.1.72)
258256
rex-random_identifier
259257
rex-text
260-
rex-random_identifier (0.1.2)
258+
rex-random_identifier (0.1.4)
261259
rex-text
262260
rex-registry (0.1.3)
263261
rex-rop_builder (0.1.3)
@@ -275,7 +273,6 @@ GEM
275273
rex-zip (0.1.3)
276274
rex-text
277275
rkelly-remix (0.0.7)
278-
robots (0.10.1)
279276
rspec (3.6.0)
280277
rspec-core (~> 3.6.0)
281278
rspec-expectations (~> 3.6.0)
@@ -309,7 +306,7 @@ GEM
309306
sawyer (0.8.1)
310307
addressable (>= 2.3.5, < 2.6)
311308
faraday (~> 0.8, < 1.0)
312-
simplecov (0.15.0)
309+
simplecov (0.15.1)
313310
docile (~> 1.1.0)
314311
json (>= 1.8, < 3)
315312
simplecov-html (~> 0.10.0)

HACKING

Lines changed: 0 additions & 38 deletions
This file was deleted.

data/logos/r7-metasploit.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
22
%% %%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
33
%% %% %%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4-
%% % %%%%%%%% %%%%%%%%%%% https://metasploit.com %%%%%%%%%%%%%%%%%%%%%%%%%
4+
%% % %%%%%%%% %%%%%%%%%%% https://metasploit.com %%%%%%%%%%%%%%%%%%%%%%%%
55
%% %% %%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
66
%% %%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
77
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

0 commit comments

Comments
 (0)