Skip to content

Commit 61a8c24

Browse files
author
Tod Beardsley
committed
Merge remote-tracking branch 'upstream/master'
2 parents 10dafdc + 378f11d commit 61a8c24

File tree

494 files changed

+11024
-1856
lines changed

Some content is hidden

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

494 files changed

+11024
-1856
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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,10 @@ group :development do
1919
# module documentation
2020
gem 'octokit'
2121
# Metasploit::Aggregator external session proxy
22-
# Disabled for now for crypttlv updates
23-
# gem 'metasploit-aggregator'
22+
gem 'metasploit-aggregator' if [
23+
'x86-mingw32', 'x64-mingw32',
24+
'x86_64-linux', 'x86-linux',
25+
'darwin'].include?(RUBY_PLATFORM.gsub(/.*darwin.*/, 'darwin'))
2426
end
2527

2628
group :development, :test do

Gemfile.lock

Lines changed: 76 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
metasploit-framework (4.16.10)
4+
metasploit-framework (4.16.22)
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.9)
20+
metasploit-payloads (= 1.3.18)
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
@@ -102,39 +102,65 @@ GEM
102102
public_suffix (>= 2.0.2, < 4.0)
103103
afm (0.2.2)
104104
arel (6.0.4)
105-
arel-helpers (2.4.0)
105+
arel-helpers (2.5.0)
106106
activerecord (>= 3.1.0, < 6)
107-
backports (3.8.0)
107+
backports (3.10.3)
108108
bcrypt (3.1.11)
109109
bcrypt_pbkdf (1.0.0)
110110
bindata (2.4.1)
111111
bit-struct (0.16)
112112
builder (3.2.3)
113113
coderay (1.1.2)
114-
crass (1.0.2)
114+
concurrent-ruby (1.0.5)
115+
crass (1.0.3)
115116
diff-lcs (1.3)
116117
dnsruby (1.60.2)
117118
docile (1.1.5)
118119
erubis (2.7.0)
119-
factory_girl (4.8.1)
120+
factory_girl (4.9.0)
120121
activesupport (>= 3.0.0)
121-
factory_girl_rails (4.8.0)
122-
factory_girl (~> 4.8.0)
122+
factory_girl_rails (4.9.0)
123+
factory_girl (~> 4.9.0)
123124
railties (>= 3.0.0)
124125
faraday (0.13.1)
125126
multipart-post (>= 1.2, < 3)
126127
ffi (1.9.18)
127128
filesize (0.1.1)
128129
fivemat (1.3.5)
130+
google-protobuf (3.5.0)
131+
googleapis-common-protos-types (1.0.1)
132+
google-protobuf (~> 3.0)
133+
googleauth (0.6.2)
134+
faraday (~> 0.12)
135+
jwt (>= 1.4, < 3.0)
136+
logging (~> 2.0)
137+
memoist (~> 0.12)
138+
multi_json (~> 1.11)
139+
os (~> 0.9)
140+
signet (~> 0.7)
141+
grpc (1.7.2)
142+
google-protobuf (~> 3.1)
143+
googleapis-common-protos-types (~> 1.0.0)
144+
googleauth (>= 0.5.1, < 0.7)
129145
hashery (2.1.2)
130-
i18n (0.8.6)
146+
i18n (0.9.1)
147+
concurrent-ruby (~> 1.0)
131148
jsobfu (0.4.2)
132149
rkelly-remix
133150
json (2.1.0)
151+
jwt (2.1.0)
152+
little-plugger (1.1.4)
153+
logging (2.2.2)
154+
little-plugger (~> 1.1)
155+
multi_json (~> 1.10)
134156
loofah (2.1.1)
135157
crass (~> 1.0.2)
136158
nokogiri (>= 1.5.9)
159+
memoist (0.16.0)
137160
metasm (1.0.3)
161+
metasploit-aggregator (1.0.0)
162+
grpc
163+
rex-arch
138164
metasploit-concern (2.0.5)
139165
activemodel (~> 4.2.6)
140166
activesupport (~> 4.2.6)
@@ -152,7 +178,7 @@ GEM
152178
activemodel (~> 4.2.6)
153179
activesupport (~> 4.2.6)
154180
railties (~> 4.2.6)
155-
metasploit-payloads (1.3.9)
181+
metasploit-payloads (1.3.18)
156182
metasploit_data_models (2.0.15)
157183
activerecord (~> 4.2.6)
158184
activesupport (~> 4.2.6)
@@ -163,11 +189,12 @@ GEM
163189
postgres_ext
164190
railties (~> 4.2.6)
165191
recog (~> 2.0)
166-
metasploit_payloads-mettle (0.2.2)
192+
metasploit_payloads-mettle (0.2.8)
167193
method_source (0.9.0)
168194
mini_portile2 (2.3.0)
169195
minitest (5.10.3)
170196
msgpack (1.1.0)
197+
multi_json (1.12.2)
171198
multipart-post (2.0.0)
172199
nessus_rest (0.1.6)
173200
net-ssh (4.2.0)
@@ -179,6 +206,7 @@ GEM
179206
sawyer (~> 0.8.0, >= 0.5.3)
180207
openssl-ccm (1.2.1)
181208
openvas-omp (0.0.4)
209+
os (0.9.6)
182210
packetfu (1.1.13)
183211
pcaprub
184212
patch_finder (1.0.2)
@@ -195,10 +223,10 @@ GEM
195223
activerecord (>= 4.0.0)
196224
arel (>= 4.0.1)
197225
pg_array_parser (~> 0.0.9)
198-
pry (0.11.1)
226+
pry (0.11.3)
199227
coderay (~> 1.1.0)
200228
method_source (~> 0.9.0)
201-
public_suffix (3.0.0)
229+
public_suffix (3.0.1)
202230
rack (1.6.8)
203231
rack-test (0.6.3)
204232
rack (>= 1.0)
@@ -215,16 +243,16 @@ GEM
215243
activesupport (= 4.2.10)
216244
rake (>= 0.8.7)
217245
thor (>= 0.18.1, < 2.0)
218-
rake (12.1.0)
246+
rake (12.3.0)
219247
rb-readline (0.5.5)
220248
rbnacl (4.0.2)
221249
ffi
222-
rbnacl-libsodium (1.0.13)
250+
rbnacl-libsodium (1.0.15.1)
223251
rbnacl (>= 3.0.1)
224-
recog (2.1.15)
252+
recog (2.1.17)
225253
nokogiri
226254
redcarpet (3.4.0)
227-
rex-arch (0.1.11)
255+
rex-arch (0.1.13)
228256
rex-text
229257
rex-bin_tools (0.1.4)
230258
metasm
@@ -237,7 +265,7 @@ GEM
237265
metasm
238266
rex-arch
239267
rex-text
240-
rex-exploitation (0.1.14)
268+
rex-exploitation (0.1.16)
241269
jsobfu
242270
metasm
243271
rex-arch
@@ -250,7 +278,7 @@ GEM
250278
rex-arch
251279
rex-ole (0.1.6)
252280
rex-text
253-
rex-powershell (0.1.72)
281+
rex-powershell (0.1.77)
254282
rex-random_identifier
255283
rex-text
256284
rex-random_identifier (0.1.4)
@@ -260,7 +288,7 @@ GEM
260288
metasm
261289
rex-core
262290
rex-text
263-
rex-socket (0.1.8)
291+
rex-socket (0.1.9)
264292
rex-core
265293
rex-sslscan (0.1.5)
266294
rex-core
@@ -271,29 +299,29 @@ GEM
271299
rex-zip (0.1.3)
272300
rex-text
273301
rkelly-remix (0.0.7)
274-
rspec (3.6.0)
275-
rspec-core (~> 3.6.0)
276-
rspec-expectations (~> 3.6.0)
277-
rspec-mocks (~> 3.6.0)
278-
rspec-core (3.6.0)
279-
rspec-support (~> 3.6.0)
280-
rspec-expectations (3.6.0)
302+
rspec (3.7.0)
303+
rspec-core (~> 3.7.0)
304+
rspec-expectations (~> 3.7.0)
305+
rspec-mocks (~> 3.7.0)
306+
rspec-core (3.7.0)
307+
rspec-support (~> 3.7.0)
308+
rspec-expectations (3.7.0)
281309
diff-lcs (>= 1.2.0, < 2.0)
282-
rspec-support (~> 3.6.0)
283-
rspec-mocks (3.6.0)
310+
rspec-support (~> 3.7.0)
311+
rspec-mocks (3.7.0)
284312
diff-lcs (>= 1.2.0, < 2.0)
285-
rspec-support (~> 3.6.0)
286-
rspec-rails (3.6.1)
313+
rspec-support (~> 3.7.0)
314+
rspec-rails (3.7.2)
287315
actionpack (>= 3.0)
288316
activesupport (>= 3.0)
289317
railties (>= 3.0)
290-
rspec-core (~> 3.6.0)
291-
rspec-expectations (~> 3.6.0)
292-
rspec-mocks (~> 3.6.0)
293-
rspec-support (~> 3.6.0)
318+
rspec-core (~> 3.7.0)
319+
rspec-expectations (~> 3.7.0)
320+
rspec-mocks (~> 3.7.0)
321+
rspec-support (~> 3.7.0)
294322
rspec-rerun (1.1.0)
295323
rspec (~> 3.0)
296-
rspec-support (3.6.0)
324+
rspec-support (3.7.0)
297325
ruby-rc4 (0.1.5)
298326
ruby_smb (0.0.18)
299327
bindata
@@ -304,6 +332,11 @@ GEM
304332
sawyer (0.8.1)
305333
addressable (>= 2.3.5, < 2.6)
306334
faraday (~> 0.8, < 1.0)
335+
signet (0.8.1)
336+
addressable (~> 2.3)
337+
faraday (~> 0.9)
338+
jwt (>= 1.5, < 3.0)
339+
multi_json (~> 1.10)
307340
simplecov (0.15.1)
308341
docile (~> 1.1.0)
309342
json (>= 1.8, < 3)
@@ -315,23 +348,24 @@ GEM
315348
thread_safe (0.3.6)
316349
timecop (0.9.1)
317350
ttfunk (1.5.1)
318-
tzinfo (1.2.3)
351+
tzinfo (1.2.4)
319352
thread_safe (~> 0.1)
320-
tzinfo-data (1.2017.2)
353+
tzinfo-data (1.2017.3)
321354
tzinfo (>= 1.0.0)
322355
windows_error (0.1.2)
323356
xdr (2.0.0)
324357
activemodel (>= 4.2.7)
325358
activesupport (>= 4.2.7)
326359
xmlrpc (0.3.0)
327-
yard (0.9.9)
360+
yard (0.9.12)
328361

329362
PLATFORMS
330363
ruby
331364

332365
DEPENDENCIES
333366
factory_girl_rails
334367
fivemat
368+
metasploit-aggregator
335369
metasploit-framework!
336370
octokit
337371
pry
@@ -344,4 +378,4 @@ DEPENDENCIES
344378
yard
345379

346380
BUNDLED WITH
347-
1.15.4
381+
1.16.0

LICENSE_GEMS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ rex-arch, 0.1.9, "New BSD"
8484
rex-bin_tools, 0.1.4, "New BSD"
8585
rex-core, 0.1.11, "New BSD"
8686
rex-encoder, 0.1.4, "New BSD"
87-
rex-exploitation, 0.1.14, "New BSD"
87+
rex-exploitation, 0.1.15, "New BSD"
8888
rex-java, 0.1.5, "New BSD"
8989
rex-mime, 0.1.5, "New BSD"
9090
rex-nop, 0.1.1, "New BSD"

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 & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)