Skip to content

Commit b99663f

Browse files
committed
Bring rapid7#9282 up to date with upstream-master
2 parents 900f7d6 + 37514ee commit b99663f

File tree

329 files changed

+6283
-1350
lines changed

Some content is hidden

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

329 files changed

+6283
-1350
lines changed

.dockerignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ config/database.yml
3434
# target config file for testing
3535
features/support/targets.yml
3636
# simplecov coverage data
37-
coverage
37+
coverage/
3838
doc/
3939
external/source/meterpreter/java/bin
4040
external/source/meterpreter/java/build

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ data/meterpreter/ext_server_pivot.*.dll
8888

8989
# local docker compose overrides
9090
docker-compose.local*
91+
.env
9192

9293
# Ignore python bytecode
9394
*.pyc

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ matrix:
2525
jobs:
2626
# build docker image
2727
include:
28-
- env: CMD="docker-compose -f $TRAVIS_BUILD_DIR/docker-compose.yml build" DOCKER="true"
28+
- env: CMD="docker-compose build" DOCKER="true"
2929
# we do not need any setup
3030
before_install: skip
3131
install: skip

Dockerfile

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
FROM ruby:2.4.2-alpine
2-
MAINTAINER Rapid7
2+
LABEL maintainer="Rapid7"
33

44
ARG BUNDLER_ARGS="--jobs=8 --without development test coverage"
55
ENV APP_HOME /usr/src/metasploit-framework/
66
ENV MSF_USER msf
77
ENV NMAP_PRIVILEGED=""
8+
ENV BUNDLE_IGNORE_MESSAGES="true"
89
WORKDIR $APP_HOME
910

10-
COPY Gemfile* m* Rakefile $APP_HOME
11-
COPY lib $APP_HOME/lib
11+
COPY Gemfile* metasploit-framework.gemspec Rakefile $APP_HOME
12+
COPY lib/metasploit/framework/version.rb $APP_HOME/lib/metasploit/framework/version.rb
13+
COPY lib/metasploit/framework/rails_version_constraint.rb $APP_HOME/lib/metasploit/framework/rails_version_constraint.rb
14+
COPY lib/msf/util/helper.rb $APP_HOME/lib/msf/util/helper.rb
1215

1316
RUN apk update && \
1417
apk add \
@@ -45,7 +48,7 @@ RUN apk update && \
4548
RUN adduser -g msfconsole -D $MSF_USER
4649

4750
RUN /usr/sbin/setcap cap_net_raw,cap_net_bind_service=+eip $(which ruby)
48-
RUN /usr/sbin/setcap cap_net_raw,cap_net_bind_service=+eip /usr/bin/nmap
51+
RUN /usr/sbin/setcap cap_net_raw,cap_net_bind_service=+eip $(which nmap)
4952

5053
USER $MSF_USER
5154

Gemfile.lock

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
metasploit-framework (4.16.13)
4+
metasploit-framework (4.16.23)
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.11)
20+
metasploit-payloads (= 1.3.19)
2121
metasploit_data_models
22-
metasploit_payloads-mettle (= 0.2.2)
22+
metasploit_payloads-mettle (= 0.2.8)
2323
msgpack
2424
nessus_rest
2525
net-ssh
@@ -49,7 +49,7 @@ PATH
4949
rex-mime
5050
rex-nop
5151
rex-ole
52-
rex-powershell (< 0.1.73)
52+
rex-powershell (< 0.1.78)
5353
rex-random_identifier
5454
rex-registry
5555
rex-rop_builder
@@ -112,43 +112,43 @@ GEM
112112
builder (3.2.3)
113113
coderay (1.1.2)
114114
concurrent-ruby (1.0.5)
115-
crass (1.0.2)
115+
crass (1.0.3)
116116
diff-lcs (1.3)
117117
dnsruby (1.60.2)
118118
docile (1.1.5)
119119
erubis (2.7.0)
120-
factory_girl (4.8.1)
120+
factory_girl (4.9.0)
121121
activesupport (>= 3.0.0)
122-
factory_girl_rails (4.8.0)
123-
factory_girl (~> 4.8.0)
122+
factory_girl_rails (4.9.0)
123+
factory_girl (~> 4.9.0)
124124
railties (>= 3.0.0)
125125
faraday (0.13.1)
126126
multipart-post (>= 1.2, < 3)
127127
ffi (1.9.18)
128128
filesize (0.1.1)
129129
fivemat (1.3.5)
130-
google-protobuf (3.4.1.1)
131-
googleapis-common-protos-types (1.0.0)
130+
google-protobuf (3.5.0)
131+
googleapis-common-protos-types (1.0.1)
132132
google-protobuf (~> 3.0)
133-
googleauth (0.5.3)
133+
googleauth (0.6.2)
134134
faraday (~> 0.12)
135-
jwt (~> 1.4)
135+
jwt (>= 1.4, < 3.0)
136136
logging (~> 2.0)
137137
memoist (~> 0.12)
138138
multi_json (~> 1.11)
139139
os (~> 0.9)
140140
signet (~> 0.7)
141-
grpc (1.6.7)
141+
grpc (1.7.3)
142142
google-protobuf (~> 3.1)
143143
googleapis-common-protos-types (~> 1.0.0)
144-
googleauth (~> 0.5.1)
144+
googleauth (>= 0.5.1, < 0.7)
145145
hashery (2.1.2)
146-
i18n (0.9.0)
146+
i18n (0.9.1)
147147
concurrent-ruby (~> 1.0)
148148
jsobfu (0.4.2)
149149
rkelly-remix
150150
json (2.1.0)
151-
jwt (1.5.6)
151+
jwt (2.1.0)
152152
little-plugger (1.1.4)
153153
logging (2.2.2)
154154
little-plugger (~> 1.1)
@@ -178,7 +178,7 @@ GEM
178178
activemodel (~> 4.2.6)
179179
activesupport (~> 4.2.6)
180180
railties (~> 4.2.6)
181-
metasploit-payloads (1.3.11)
181+
metasploit-payloads (1.3.19)
182182
metasploit_data_models (2.0.15)
183183
activerecord (~> 4.2.6)
184184
activesupport (~> 4.2.6)
@@ -189,11 +189,11 @@ GEM
189189
postgres_ext
190190
railties (~> 4.2.6)
191191
recog (~> 2.0)
192-
metasploit_payloads-mettle (0.2.2)
192+
metasploit_payloads-mettle (0.2.8)
193193
method_source (0.9.0)
194194
mini_portile2 (2.3.0)
195195
minitest (5.10.3)
196-
msgpack (1.1.0)
196+
msgpack (1.2.0)
197197
multi_json (1.12.2)
198198
multipart-post (2.0.0)
199199
nessus_rest (0.1.6)
@@ -223,10 +223,10 @@ GEM
223223
activerecord (>= 4.0.0)
224224
arel (>= 4.0.1)
225225
pg_array_parser (~> 0.0.9)
226-
pry (0.11.2)
226+
pry (0.11.3)
227227
coderay (~> 1.1.0)
228228
method_source (~> 0.9.0)
229-
public_suffix (3.0.0)
229+
public_suffix (3.0.1)
230230
rack (1.6.8)
231231
rack-test (0.6.3)
232232
rack (>= 1.0)
@@ -243,16 +243,16 @@ GEM
243243
activesupport (= 4.2.10)
244244
rake (>= 0.8.7)
245245
thor (>= 0.18.1, < 2.0)
246-
rake (12.1.0)
246+
rake (12.3.0)
247247
rb-readline (0.5.5)
248248
rbnacl (4.0.2)
249249
ffi
250-
rbnacl-libsodium (1.0.13)
250+
rbnacl-libsodium (1.0.15.1)
251251
rbnacl (>= 3.0.1)
252-
recog (2.1.15)
252+
recog (2.1.17)
253253
nokogiri
254254
redcarpet (3.4.0)
255-
rex-arch (0.1.11)
255+
rex-arch (0.1.13)
256256
rex-text
257257
rex-bin_tools (0.1.4)
258258
metasm
@@ -265,7 +265,7 @@ GEM
265265
metasm
266266
rex-arch
267267
rex-text
268-
rex-exploitation (0.1.15)
268+
rex-exploitation (0.1.16)
269269
jsobfu
270270
metasm
271271
rex-arch
@@ -278,7 +278,7 @@ GEM
278278
rex-arch
279279
rex-ole (0.1.6)
280280
rex-text
281-
rex-powershell (0.1.72)
281+
rex-powershell (0.1.77)
282282
rex-random_identifier
283283
rex-text
284284
rex-random_identifier (0.1.4)
@@ -311,7 +311,7 @@ GEM
311311
rspec-mocks (3.7.0)
312312
diff-lcs (>= 1.2.0, < 2.0)
313313
rspec-support (~> 3.7.0)
314-
rspec-rails (3.7.1)
314+
rspec-rails (3.7.2)
315315
actionpack (>= 3.0)
316316
activesupport (>= 3.0)
317317
railties (>= 3.0)
@@ -348,16 +348,16 @@ GEM
348348
thread_safe (0.3.6)
349349
timecop (0.9.1)
350350
ttfunk (1.5.1)
351-
tzinfo (1.2.3)
351+
tzinfo (1.2.4)
352352
thread_safe (~> 0.1)
353-
tzinfo-data (1.2017.2)
353+
tzinfo-data (1.2017.3)
354354
tzinfo (>= 1.0.0)
355355
windows_error (0.1.2)
356356
xdr (2.0.0)
357357
activemodel (>= 4.2.7)
358358
activesupport (>= 4.2.7)
359359
xmlrpc (0.3.0)
360-
yard (0.9.9)
360+
yard (0.9.12)
361361

362362
PLATFORMS
363363
ruby
@@ -378,4 +378,4 @@ DEPENDENCIES
378378
yard
379379

380380
BUNDLED WITH
381-
1.15.4
381+
1.16.0

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Metasploit [![Build Status](https://travis-ci.org/rapid7/metasploit-framework.svg?branch=master)](https://travis-ci.org/rapid7/metasploit-framework) [![Code Climate](https://img.shields.io/codeclimate/github/rapid7/metasploit-framework.svg)](https://codeclimate.com/github/rapid7/metasploit-framework)
1+
Metasploit [![Build Status](https://travis-ci.org/rapid7/metasploit-framework.svg?branch=master)](https://travis-ci.org/rapid7/metasploit-framework) [![Code Climate](https://img.shields.io/codeclimate/github/rapid7/metasploit-framework.svg)](https://codeclimate.com/github/rapid7/metasploit-framework) [![Docker Pulls](https://img.shields.io/docker/pulls/metasploitframework/metasploit-framework.svg)](https://hub.docker.com/r/metasploitframework/metasploit-framework/)
22
==
33
The Metasploit Framework is released under a BSD-style license. See
44
COPYING for more details.

data/exploits/cve-2017-8464/src/build.sh

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

data/exploits/cve-2017-8464/src/template.c

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

data/exploits/cve-2017-8464/src/template.h

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

data/exploits/cve-2017-8464/template_x64_windows.dll

100755100644
1.5 KB
Binary file not shown.

0 commit comments

Comments
 (0)