Skip to content

Commit 7b83720

Browse files
committed
Bring rapid7#6638 up to date
2 parents fce78dc + f50e609 commit 7b83720

File tree

4,218 files changed

+58284
-75790
lines changed

Some content is hidden

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

4,218 files changed

+58284
-75790
lines changed

.github/ISSUE_TEMPLATE.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
## Steps to reproduce
2+
3+
How'd you do it?
4+
5+
1. ...
6+
2. ...
7+
8+
This section should also tell us any relevant information about the
9+
environment; for example, if an exploit that used to work is failing,
10+
tell us the victim operating system and service versions.
11+
12+
## Expected behavior
13+
14+
What should happen?
15+
16+
## Current behavior
17+
18+
What happens instead?
19+
20+
You might also want to check the last ~1k lines of
21+
`/opt/metasploit/apps/pro/engine/config/logs/framework.log` or
22+
`~/.msf4/logs/framework.log` for relevant stack traces
23+
24+
25+
## System stuff
26+
27+
### Metasploit version
28+
29+
Get this with the `version` command in msfconsole (or `git log -1 --pretty=oneline` for a source install).
30+
31+
### I installed Metasploit with:
32+
- [ ] Kali package via apt
33+
- [ ] Omnibus installer (nightly)
34+
- [ ] Commercial/Community installer (from http://www.rapid7.com/products/metasploit/download.jsp)
35+
- [ ] Source install (please specify ruby version)
36+
37+
### OS
38+
39+
What OS are you running Metasploit on?
40+
41+

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
2+
Tell us what this change does. If you're fixing a bug, please mention
3+
the github issue number.
4+
5+
## Verification
6+
7+
List the steps needed to make sure this thing works
8+
9+
- [ ] Start `msfconsole`
10+
- [ ] `use exploit/windows/smb/ms08_067_netapi`
11+
- [ ] ...
12+
- [ ] **Verify** the thing does what it should
13+
- [ ] **Verify** the thing does not do what it should not
14+

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,3 +84,4 @@ data/meterpreter/ext_server_pivot.*.dll
8484
# Avoid checking in metakitty, the source for
8585
# https://rapid7.github.io/metasploit-framework. It's an orphan branch.
8686
/metakitty
87+
.vagrant

.mailmap

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
acammack-r7 <acammack-r7@github> Adam Cammack <[email protected]>
22
bcook-r7 <bcook-r7@github> <[email protected]>
33
bcook-r7 <bcook-r7@github> Brent Cook <[email protected]>
4-
bturner-r7 <bturner-r7@github> Brandon Turner <[email protected]>
54
bpatterson-r7 <bpatterson-r7@github> Brian Patterson <[email protected]>
5+
bpatterson-r7 <bpatterson-r7@github> bpatterson-r7 <[email protected]>
6+
bturner-r7 <bturner-r7@github> Brandon Turner <[email protected]>
7+
bwatters-r7 <bwatters-r7@github> Brendan <[email protected]>
8+
bwatters-r7 <bwatters-r7@github> Brendan Watters <[email protected]>
69
cdoughty-r7 <cdoughty-r7@github> Chris Doughty <[email protected]>
710
dheiland-r7 <dheiland-r7@github> Deral Heiland <[email protected]>
811
dmaloney-r7 <dmaloney-r7@github> David Maloney <[email protected]>
@@ -16,30 +19,40 @@ ecarey-r7 <ecarey-r7@github> Erran Carey <[email protected]>
1619
farias-r7 <farias-r7@github> Fernando Arias <[email protected]>
1720
gmikeska-r7 <gmikeska-r7@github> Greg Mikeska <[email protected]>
1821
gmikeska-r7 <gmikeska-r7@github> Gregory Mikeska <[email protected]>
22+
jbarnett-r7 <jbarnett-r7@github> James Barnett <[email protected]>
1923
jhart-r7 <jhart-r7@github> Jon Hart <[email protected]>
2024
jlee-r7 <jlee-r7@github> <[email protected]> # aka egypt
2125
jlee-r7 <jlee-r7@github> <[email protected]>
2226
kgray-r7 <kgray-r7@github> Kyle Gray <[email protected]>
27+
khayes-r7 <khayes-r7@github> l0gan <[email protected]>
2328
lsanchez-r7 <lsanchez-r7@github> Lance Sanchez <[email protected]>
2429
lsanchez-r7 <lsanchez-r7@github> Lance Sanchez <[email protected]>
2530
lsanchez-r7 <lsanchez-r7@github> Lance Sanchez <[email protected]>
2631
lsanchez-r7 <lsanchez-r7@github> Lance Sanchez <[email protected]>
2732
lsanchez-r7 <lsanchez-r7@github> darkbushido <[email protected]>
2833
lsato-r7 <lsato-r7@github> Louis Sato <[email protected]>
34+
pbarry-r7 <pbarry-r7@github> Pearce Barry <[email protected]>
2935
pdeardorff-r7 <pdeardorff-r7@github> Paul Deardorff <[email protected]>
3036
pdeardorff-r7 <pdeardorff-r7@github> pdeardorff-r7 <[email protected]>
37+
sdavis-r7 <sdavis-r7@github> Scott Davis <[email protected]>
38+
sdavis-r7 <sdavis-r7@github> Scott Lee Davis <[email protected]>
39+
sdavis-r7 <sdavis-r7@github> Scott Lee Davis <[email protected]>
40+
sgonzalez-r7 <sgonzalez-r7@github> Sonny Gonzalez <[email protected]>
3141
sgonzalez-r7 <sgonzalez-r7@github> Sonny Gonzalez <[email protected]>
3242
shuckins-r7 <shuckins-r7@github> Samuel Huckins <[email protected]>
43+
tdoan-r7 <tdoan-r7@github> tdoan-r7 <[email protected]>
44+
tdoan-r7 <tdoan-r7@github> thao doan <[email protected]>
3345
todb-r7 <todb-r7@github> Tod Beardsley <[email protected]>
3446
todb-r7 <todb-r7@github> Tod Beardsley <[email protected]>
3547
todb-r7 <todb-r7@github> Tod Beardsley <[email protected]>
3648
wchen-r7 <wchen-r7@github> <[email protected]> # aka sinn3r
3749
wchen-r7 <wchen-r7@github> <[email protected]>
3850
wvu-r7 <wvu-r7@github> William Vu <[email protected]>
51+
wvu-r7 <wvu-r7@github> William Vu <[email protected]>
3952
wvu-r7 <wvu-r7@github> William Vu <[email protected]>
40-
wvu-r7 <wvu-r7@github> William Vu <[email protected]>
4153
wvu-r7 <wvu-r7@github> wvu-r7 <[email protected]>
4254
wwebb-r7 <wwebb-r7@github> William Webb <[email protected]>
55+
wwebb-r7 <wwebb-r7@github> wwebb-r7 <[email protected]>
4356

4457
# Above this line are current Rapid7 employees. Below this paragraph are
4558
# volunteers, former employees, and potential Rapid7 employees who, at
@@ -114,6 +127,7 @@ m-1-k-3 <m-1-k-3@github> Michael Messner <[email protected]>
114127
Meatballs1 <Meatballs1@github> <[email protected]>
115128
Meatballs1 <Meatballs1@github> <[email protected]>
116129
mubix <mubix@github> Rob Fuller <[email protected]>
130+
net-ninja <[email protected]> Steven Seeley <[email protected]>
117131
nevdull77 <nevdull77@github> Patrik Karlsson <[email protected]>
118132
nmonkee <nmonkee@github> nmonkee <[email protected]>
119133
nullbind <nullbind@github> nullbind <[email protected]>
@@ -150,10 +164,11 @@ void-in <void-in@github> void_in <[email protected]>
150164
void-in <void-in@github> Waqas Ali <[email protected]>
151165
zeroSteiner <zeroSteiner@github> Spencer McIntyre <[email protected]>
152166

153-
154167
# Aliases for utility author names. Since they're fake, typos abound
155168

156-
Tab Assassin <[email protected]> Tabassassin <[email protected]>
169+
Metasploit Bot <[email protected]> Metasploit <[email protected]>
170+
Jenkins Bot <[email protected]> Jenkins <[email protected]>
157171
Tab Assassin <[email protected]> TabAssassin <[email protected]>
172+
Tab Assassin <[email protected]> Tabassassin <[email protected]>
158173
Tab Assassin <[email protected]> Tabasssassin <[email protected]>
159174
Tab Assassin <[email protected]> URI Assassin <[email protected]>

.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.1.8
1+
2.3.1

.travis.yml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,22 @@
1+
sudo: false
2+
group: stable
13
bundler_args: --without coverage development pcap
24
cache: bundler
5+
addons:
6+
postgresql: '9.3'
7+
apt:
8+
packages:
9+
- libpcap-dev
10+
- graphviz
11+
language: ruby
12+
rvm:
13+
- '2.3.1'
14+
315
env:
416
- RAKE_TASKS="cucumber cucumber:boot" CREATE_BINSTUBS=true
517
- RAKE_TASKS=spec SPEC_OPTS="--tag content"
618
- RAKE_TASKS=spec SPEC_OPTS="--tag ~content"
719

8-
language: ruby
920
matrix:
1021
fast_finish: true
1122
before_install:
@@ -23,9 +34,6 @@ before_script:
2334
script:
2435
# fail build if db/schema.rb update is not committed
2536
- git diff --exit-code db/schema.rb && bundle exec rake $RAKE_TASKS
26-
sudo: false
27-
rvm:
28-
- '2.1.8'
2937

3038
notifications:
3139
irc: "irc.freenode.org#msfnotify"
@@ -38,9 +46,3 @@ branches:
3846
except:
3947
- gh-pages
4048
- metakitty
41-
42-
addons:
43-
postgresql: '9.3'
44-
apt:
45-
packages:
46-
- libpcap-dev

CONTRIBUTING.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ and Metasploit's [Common Coding Mistakes].
4545
* **Do** specify a descriptive title to make searching for your pull request easier.
4646
* **Do** include [console output], especially for witnessable effects in `msfconsole`.
4747
* **Do** list [verification steps] so your code is testable.
48+
* **Do** [reference associated issues] in your pull request description
49+
* **Do** write [release notes] once a pull request is landed
4850
* **Don't** leave your pull request description blank.
4951
* **Don't** abandon your pull request. Being responsive helps us land your code faster.
5052

@@ -56,6 +58,10 @@ Pull requests [PR#2940] and [PR#3043] are a couple good examples to follow.
5658
- It would be even better to set up `msftidy.rb` as a [pre-commit hook].
5759
* **Do** use the many module mixin [API]s. Wheel improvements are welcome; wheel reinventions, not so much.
5860
* **Don't** include more than one module per pull request.
61+
* **Do** include instructions on how to setup the vulnerable environment or software
62+
* **Do** include [Module Documentation](https://github.com/rapid7/metasploit-framework/wiki/Generating-Module-Documentation) showing sample run-throughs
63+
64+
5965

6066
#### Scripts
6167

@@ -102,6 +108,8 @@ already way ahead of the curve, so keep it up!
102108
[topic branch]:http://git-scm.com/book/en/Git-Branching-Branching-Workflows#Topic-Branches
103109
[console output]:https://help.github.com/articles/github-flavored-markdown#fenced-code-blocks
104110
[verification steps]:https://help.github.com/articles/writing-on-github#task-lists
111+
[reference associated issues]:https://github.com/blog/1506-closing-issues-via-pull-requests
112+
[release notes]:https://github.com/rapid7/metasploit-framework/wiki/Adding-Release-Notes-to-PRs
105113
[PR#2940]:https://github.com/rapid7/metasploit-framework/pull/2940
106114
[PR#3043]:https://github.com/rapid7/metasploit-framework/pull/3043
107115
[pre-commit hook]:https://github.com/rapid7/metasploit-framework/blob/master/tools/dev/pre-commit-hook.rb

Gemfile

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,21 @@ group :development do
1818
gem 'yard'
1919
# for development and testing purposes
2020
gem 'pry'
21+
# module documentation
22+
gem 'octokit', '~> 4.0'
23+
# rails-upgrade staging gems
2124
end
2225

2326
group :development, :test do
2427
# automatically include factories from spec/factories
25-
gem 'factory_girl_rails', '~> 4.5.0'
28+
gem 'factory_girl_rails'
2629
# Make rspec output shorter and more useful
27-
gem 'fivemat', '~> 1.3.1'
30+
gem 'fivemat'
2831
# running documentation generation tasks and rspec tasks
29-
gem 'rake', '>= 10.0.0'
32+
gem 'rake'
3033
# Define `rake spec`. Must be in development AND test so that its available by default as a rake test when the
3134
# environment is development
32-
gem 'rspec-rails' , '~> 3.3'
35+
gem 'rspec-rails'
3336
end
3437

3538
group :test do

0 commit comments

Comments
 (0)