Skip to content

Commit c54aa22

Browse files
Yorick KosterYorick Koster
authored andcommitted
Merge remote-tracking branch 'rapid7/master'
2 parents 0e94530 + e026a8c commit c54aa22

File tree

586 files changed

+26528
-5658
lines changed

Some content is hidden

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

586 files changed

+26528
-5658
lines changed

.dockerignore

Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
.dockerignore
2+
.gitignore
3+
.env*
4+
docker-compose*.yml
5+
docker/
6+
!docker/msfconsole.rc
7+
README.md
8+
.git/
9+
.github/
10+
.ruby-version
11+
.ruby-gemset
12+
13+
.bundle
14+
Gemfile.local
15+
Gemfile.local.lock
16+
# Rubymine project directory
17+
.idea
18+
# Sublime Text project directory (not created by ST by default)
19+
.sublime-project
20+
# RVM control file, keep this to avoid backdooring Metasploit
21+
.rvmrc
22+
# Allow for a local choice of (unsupported / semi-supported) ruby versions
23+
# See PR #4136 for usage, but example usage for rvm:
24+
# rvm --create --versions-conf use 2.1.4@metasploit-framework
25+
# Because rbenv doesn't use .versions.conf, to achieve this same functionality, run:
26+
# rbenv shell 2.1.4
27+
.versions.conf
28+
# YARD cache directory
29+
.yardoc
30+
# Mac OS X files
31+
.DS_Store
32+
# database config for testing
33+
config/database.yml
34+
# target config file for testing
35+
features/support/targets.yml
36+
# simplecov coverage data
37+
coverage
38+
doc/
39+
external/source/meterpreter/java/bin
40+
external/source/meterpreter/java/build
41+
external/source/meterpreter/java/extensions
42+
external/source/javapayload/bin
43+
external/source/javapayload/build
44+
# Java binary ignores. Replace the 5 above with this once we're merged.
45+
external/source/javapayload/*/.classpath
46+
external/source/javapayload/*/.project
47+
external/source/javapayload/*/.settings
48+
external/source/javapayload/*/bin
49+
external/source/javapayload/*/target
50+
external/source/javapayload/*/*/.classpath
51+
external/source/javapayload/*/*/.project
52+
external/source/javapayload/*/*/.settings
53+
external/source/javapayload/*/*/bin
54+
external/source/javapayload/*/*/target
55+
# Packaging directory
56+
pkg
57+
tags
58+
*.swp
59+
*.orig
60+
*.rej
61+
*~
62+
# Ignore backups of retabbed files
63+
*.notab
64+
65+
# ignore Visual Studio external source garbage
66+
*.suo
67+
*.sdf
68+
*.opensdf
69+
*.user
70+
71+
# Rails log directory
72+
/log
73+
# Rails tmp directory
74+
/tmp
75+
76+
# ignore release/debug folders for exploits
77+
external/source/exploits/**/Debug
78+
external/source/exploits/**/Release
79+
80+
# Avoid checking in Meterpreter binaries. These are supplied upstream by
81+
# the metasploit-payloads gem.
82+
data/meterpreter/*.dll
83+
data/meterpreter/*.php
84+
data/meterpreter/*.py
85+
data/meterpreter/*.bin
86+
data/meterpreter/*.jar
87+
data/meterpreter/*.lso
88+
data/android
89+
data/java
90+
91+
# Avoid checking in Meterpreter libs that are built from
92+
# private source. If you're interested in this functionality,
93+
# check out Metasploit Pro: http://metasploit.com/download
94+
data/meterpreter/ext_server_pivot.*.dll
95+
96+
# Avoid checking in metakitty, the source for
97+
# https://rapid7.github.io/metasploit-framework. It's an orphan branch.
98+
/metakitty
99+
.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

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,3 +85,6 @@ data/meterpreter/ext_server_pivot.*.dll
8585
# https://rapid7.github.io/metasploit-framework. It's an orphan branch.
8686
/metakitty
8787
.vagrant
88+
89+
# local docker compose overrides
90+
docker-compose.local*

.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 & 5 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,10 +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-
# rails-upgrade staging gems
24+
gem 'octokit'
25+
# metasploit-aggregator as a framework only option for now
26+
# Metasploit::Aggregator external session proxy
27+
gem 'metasploit-aggregator'
2428
end
2529

2630
group :development, :test do

0 commit comments

Comments
 (0)