Skip to content

Commit 51b8b4a

Browse files
committed
Bring rapid7#6404 up to date with upstream-master
2 parents da33882 + 72d631a commit 51b8b4a

File tree

3,757 files changed

+23286
-57212
lines changed

Some content is hidden

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

3,757 files changed

+23286
-57212
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: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ external/source/exploits/**/Release
6868
# Avoid checking in Meterpreter binaries. These are supplied upstream by
6969
# the metasploit-payloads gem.
7070
data/meterpreter/*.dll
71+
data/meterpreter/*.php
72+
data/meterpreter/*.py
7173
data/meterpreter/*.bin
7274
data/meterpreter/*.jar
7375
data/meterpreter/*.lso

.mailmap

Lines changed: 79 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,45 @@
1-
bcook-r7 <bcook-r7@github> Brent Cook <[email protected]>
2-
bcook-r7 <bcook-r7@github> <[email protected]>
3-
bturner-r7 <bturner-r7@github> Brandon Turner <[email protected]>
4-
ccatalan-r7 <ccatalan-r7@github> Christian Catalan <[email protected]>
5-
cdoughty-r7 <cdoughty-r7@github> Chris Doughty <[email protected]>
6-
dheiland-r7 <dheiland-r7@github> Deral Heiland <[email protected]>
7-
dmaloney-r7 <dmaloney-r7@github> David Maloney <[email protected]>
8-
dmaloney-r7 <dmaloney-r7@github> David Maloney <[email protected]>
9-
dmaloney-r7 <dmaloney-r7@github> dmaloney-r7 <[email protected]>
10-
ecarey-r7 <ecarey-r7@github> Erran Carey <[email protected]>
11-
farias-r7 <farias-r7@github> Fernando Arias <[email protected]>
12-
hdm <hdm@github> HD Moore <[email protected]>
13-
hdm <hdm@github> HD Moore <[email protected]>
14-
hdm <hdm@github> HD Moore <[email protected]>
15-
jhart-r7 <jhart-r7@github> Jon Hart <[email protected]>
16-
jlee-r7 <jlee-r7@github> <[email protected]>
17-
jlee-r7 <jlee-r7@github> <[email protected]> # aka egypt
18-
jvazquez-r7 <jvazquez-r7@github> jvazquez-r7 <[email protected]>
19-
jvazquez-r7 <jvazquez-r7@github> jvazquez-r7 <[email protected]>
20-
kgray-r7 <kgray-r7@github> Kyle Gray <[email protected]>
21-
limhoff-r7 <limhoff-r7@github> Luke Imhoff <[email protected]>
22-
lsanchez-r7 <lsanchez-r7@github> Lance Sanchez <[email protected]>
23-
lsanchez-r7 <lsanchez-r7@github> Lance Sanchez <[email protected]>
24-
lsanchez-r7 <lsanchez-r7@github> Lance Sanchez <[email protected]>
25-
lsanchez-r7 <lsanchez-r7@github> Lance Sanchez <[email protected]>
26-
lsanchez-r7 <lsanchez-r7@github> darkbushido <[email protected]>
27-
mbuck-r7 <mbuck-r7@github> Matt Buck <[email protected]>
28-
mbuck-r7 <mbuck-r7@github> Matt Buck <[email protected]>
29-
mschloesser-r7 <mschloesser-r7@github> Mark Schloesser <[email protected]>
30-
mschloesser-r7 <mschloesser-r7@github> mschloesser-r7 <[email protected]>
31-
parzamendi-r7 <parzamendi-r7@github> parzamendi-r7 <[email protected]>
1+
acammack-r7 <acammack-r7@github> Adam Cammack <[email protected]>
2+
bcook-r7 <bcook-r7@github> <[email protected]>
3+
bcook-r7 <bcook-r7@github> Brent Cook <[email protected]>
4+
bturner-r7 <bturner-r7@github> Brandon Turner <[email protected]>
5+
bpatterson-r7 <bpatterson-r7@github> Brian Patterson <[email protected]>
6+
cdoughty-r7 <cdoughty-r7@github> Chris Doughty <[email protected]>
7+
dheiland-r7 <dheiland-r7@github> Deral Heiland <[email protected]>
8+
dmaloney-r7 <dmaloney-r7@github> David Maloney <[email protected]>
9+
dmaloney-r7 <dmaloney-r7@github> David Maloney <[email protected]>
10+
dmaloney-r7 <dmaloney-r7@github> dmaloney-r7 <[email protected]>
11+
dmohanty-r7 <dmohanty-r7@github> Dev Mohanty <[email protected]>
12+
dmohanty-r7 <dmohanty-r7@github> Dev Mohanty <[email protected]>
13+
dmohanty-r7 <dmohanty-r7@github> dmohanty-r7 <[email protected]>
14+
dmohanty-r7 <dmohanty-r7@github> dmohanty-r7 <[email protected]>
15+
ecarey-r7 <ecarey-r7@github> Erran Carey <[email protected]>
16+
farias-r7 <farias-r7@github> Fernando Arias <[email protected]>
17+
gmikeska-r7 <gmikeska-r7@github> Greg Mikeska <[email protected]>
18+
gmikeska-r7 <gmikeska-r7@github> Gregory Mikeska <[email protected]>
19+
jhart-r7 <jhart-r7@github> Jon Hart <[email protected]>
20+
jlee-r7 <jlee-r7@github> <[email protected]> # aka egypt
21+
jlee-r7 <jlee-r7@github> <[email protected]>
22+
kgray-r7 <kgray-r7@github> Kyle Gray <[email protected]>
23+
lsanchez-r7 <lsanchez-r7@github> Lance Sanchez <[email protected]>
24+
lsanchez-r7 <lsanchez-r7@github> Lance Sanchez <[email protected]>
25+
lsanchez-r7 <lsanchez-r7@github> Lance Sanchez <[email protected]>
26+
lsanchez-r7 <lsanchez-r7@github> Lance Sanchez <[email protected]>
27+
lsanchez-r7 <lsanchez-r7@github> darkbushido <[email protected]>
28+
lsato-r7 <lsato-r7@github> Louis Sato <[email protected]>
3229
pdeardorff-r7 <pdeardorff-r7@github> Paul Deardorff <[email protected]>
3330
pdeardorff-r7 <pdeardorff-r7@github> pdeardorff-r7 <[email protected]>
34-
sgonzalez-r7 <sgonzalez-r7@github> Sonny Gonzalez <[email protected]>
35-
shuckins-r7 <shuckins-r7@github> Samuel Huckins <[email protected]>
36-
todb-r7 <todb-r7@github> Tod Beardsley <[email protected]>
37-
todb-r7 <todb-r7@github> Tod Beardsley <[email protected]>
38-
todb-r7 <todb-r7@github> Tod Beardsley <[email protected]>
39-
trosen-r7 <trosen-r7@github> Trevor Rosen <[email protected]>
40-
trosen-r7 <trosen-r7@github> Trevor Rosen <[email protected]>
41-
wchen-r7 <wchen-r7@github> <[email protected]> # aka sinn3r
42-
wchen-r7 <wchen-r7@github> <[email protected]>
43-
wvu-r7 <wvu-r7@github> William Vu <[email protected]>
44-
wvu-r7 <wvu-r7@github> William Vu <[email protected]>
45-
wvu-r7 <wvu-r7@github> William Vu <[email protected]>
46-
wvu-r7 <wvu-r7@github> wvu-r7 <[email protected]>
31+
sgonzalez-r7 <sgonzalez-r7@github> Sonny Gonzalez <[email protected]>
32+
shuckins-r7 <shuckins-r7@github> Samuel Huckins <[email protected]>
33+
todb-r7 <todb-r7@github> Tod Beardsley <[email protected]>
34+
todb-r7 <todb-r7@github> Tod Beardsley <[email protected]>
35+
todb-r7 <todb-r7@github> Tod Beardsley <[email protected]>
36+
wchen-r7 <wchen-r7@github> <[email protected]> # aka sinn3r
37+
wchen-r7 <wchen-r7@github> <[email protected]>
38+
wvu-r7 <wvu-r7@github> William Vu <[email protected]>
39+
wvu-r7 <wvu-r7@github> William Vu <[email protected]>
40+
wvu-r7 <wvu-r7@github> William Vu <[email protected]>
41+
wvu-r7 <wvu-r7@github> wvu-r7 <[email protected]>
42+
wwebb-r7 <wwebb-r7@github> William Webb <[email protected]>
4743

4844
# Above this line are current Rapid7 employees. Below this paragraph are
4945
# volunteers, former employees, and potential Rapid7 employees who, at
@@ -55,6 +51,8 @@ wvu-r7 <wvu-r7@github> wvu-r7 <[email protected]>
5551
bannedit <bannedit@github> David Rude <[email protected]>
5652
bcoles <bcoles@github> bcoles <[email protected]>
5753
bcoles <bcoles@github> Brendan Coles <[email protected]>
54+
bokojan <bokojan@github> parzamendi-r7 <[email protected]>
55+
brandonprry <brandonprry@github> <[email protected]>
5856
brandonprry <brandonprry@github> Brandon Perry <[email protected]>
5957
brandonprry <brandonprry@github> Brandon Perry <bperry@bperry-rapid7.(none)>
6058
brandonprry <brandonprry@github> Brandon Perry <[email protected]>
@@ -66,37 +64,57 @@ Chao-mu <Chao-Mu@github> chao-mu <[email protected]>
6664
Chao-mu <Chao-Mu@github> chao-mu <chao@confusion.(none)>
6765
ChrisJohnRiley <ChrisJohnRiley@github> Chris John Riley <[email protected]>
6866
ChrisJohnRiley <ChrisJohnRiley@github> Chris John Riley <[email protected]>
67+
claudijd <claudijd@github> Jonathan Claudius <[email protected]>
68+
claudijd <claudijd@github> Jonathan Claudius <[email protected]>
6969
corelanc0d3r <corelanc0d3r@github> corelanc0d3r <[email protected]>
7070
corelanc0d3r <corelanc0d3r@github> Peter Van Eeckhoutte (corelanc0d3r) <[email protected]>
71+
crcatala <crcatala@github> Christian Catalan <[email protected]>
7172
darkoperator <darkoperator@github> Carlos Perez <[email protected]>
7273
efraintorres <efraintorres@github> efraintorres <[email protected]>
7374
efraintorres <efraintorres@github> et <>
75+
espreto <espreto@github> Roberto Soares <[email protected]>
76+
espreto <espreto@github> Roberto Soares <[email protected]>
77+
espreto <espreto@github> Roberto Soares Espreto <[email protected]>
78+
espreto <espreto@github> Roberto Soares Espreto <[email protected]>
7479
fab <fab@???> fab <> # fab at revhosts.net (Fabrice MOURRON)
75-
FireFart <FireFart@github> Christian Mehlmauer <[email protected]>
7680
FireFart <FireFart@github> <[email protected]>
81+
FireFart <FireFart@github> Christian Mehlmauer <[email protected]>
82+
g0tmi1k <g0tmi1k@github> <[email protected]>
83+
g0tmi1k <g0tmi1k@github> <[email protected]>
7784
h0ng10 <h0ng10@github> h0ng10 <[email protected]>
7885
h0ng10 <h0ng10@github> Hans-Martin Münch <[email protected]>
79-
jcran <jcran@github> <[email protected]>
80-
jcran <jcran@github> <[email protected]>
86+
hdm <hdm@github> HD Moore <[email protected]>
87+
hdm <hdm@github> HD Moore <[email protected]>
88+
hdm <hdm@github> HD Moore <[email protected]>
89+
jabra <jabra@github> Josh Abraham <[email protected]>
90+
jabra <jabra@github> Joshua Abraham <[email protected]>
8191
jcran <jcran@github> <[email protected]>
92+
jcran <jcran@github> <[email protected]>
93+
jcran <jcran@github> <[email protected]>
8294
jcran <jcran@github> <[email protected]>
8395
jduck <jduck@github> <[email protected]>
8496
jduck <jduck@github> <[email protected]>
8597
jgor <jgor@github> jgor <[email protected]>
8698
joevennix <joevennix@github> <[email protected]>
8799
joevennix <joevennix@github> <[email protected]>
100+
joevennix <joevennix@github> Joe Vennix <[email protected]>
101+
joevennix <joevennix@github> jvennix-r7 <[email protected]>
102+
juanvazquez <juanvazquez@github> jvazquez-r7 <[email protected]>
103+
juanvazquez <juanvazquez@github> jvazquez-r7 <[email protected]>
88104
kernelsmith <kernelsmith@github> Joshua Smith <[email protected]>
89105
kernelsmith <kernelsmith@github> Joshua Smith <[email protected]>
90106
kernelsmith <kernelsmith@github> kernelsmith <kernelsmith@kernelsmith>
91107
kost <kost@github> Vlatko Kosturjak <[email protected]>
92108
kris <kris@???> kris <>
109+
KronicDeth <KronicDeth@github> Luke Imhoff <[email protected]>
93110
m-1-k-3 <m-1-k-3@github> m-1-k-3 <[email protected]>
94111
m-1-k-3 <m-1-k-3@github> m-1-k-3 <[email protected]>
95112
m-1-k-3 <m-1-k-3@github> m-1-k-3 <[email protected]>
96113
m-1-k-3 <m-1-k-3@github> Michael Messner <[email protected]>
97114
Meatballs1 <Meatballs1@github> <[email protected]>
98115
Meatballs1 <Meatballs1@github> <[email protected]>
99116
mubix <mubix@github> Rob Fuller <[email protected]>
117+
net-ninja <[email protected]> Steven Seeley <[email protected]>
100118
nevdull77 <nevdull77@github> Patrik Karlsson <[email protected]>
101119
nmonkee <nmonkee@github> nmonkee <[email protected]>
102120
nullbind <nullbind@github> nullbind <[email protected]>
@@ -106,20 +124,34 @@ oj <oj@github> <[email protected]>
106124
r3dy <r3dy@github> Royce Davis <[email protected]>
107125
r3dy <r3dy@github> Royce Davis <[email protected]>
108126
r3dy <r3dy@github> Royce Davis <[email protected]>
127+
rep <mschloesser-r7@github> Mark Schloesser <[email protected]>
128+
rep <mschloesser-r7@github> mschloesser-r7 <[email protected]>
109129
Rick Flores <[email protected]> Rick Flores (nanotechz9l) <[email protected]>
110130
rsmudge <rsmudge@github> Raphael Mudge <[email protected]> # Aka `butane
111131
schierlm <schierlm@github> Michael Schierl <[email protected]> # Aka mihi
112132
scriptjunkie <scriptjunkie@github> Matt Weeks <[email protected]>
113133
scriptjunkie <scriptjunkie@github> scriptjunkie <[email protected]>
114134
skape <skape@???> Matt Miller <[email protected]>
115135
spoonm <spoonm@github> Spoon M <[email protected]>
136+
stufus <stufus@github> Stuart <[email protected]>
137+
stufus <stufus@github> Stuart Morgan <[email protected]>
116138
swtornio <swtornio@github> Steve Tornio <[email protected]>
117139
Tasos Laskos <[email protected]> Tasos Laskos <[email protected]>
140+
techpeace <techpeace@github> Matt Buck <[email protected]>
141+
techpeace <techpeace@github> Matt Buck <[email protected]>
118142
timwr <timwr@github> <[email protected]>
119143
TomSellers <TomSellers@github> Tom Sellers <[email protected]>
144+
trevrosen <trevrosen@github> Trevor Rosen <[email protected]>
145+
trevrosen <trevrosen@github> Trevor Rosen <[email protected]>
120146
TrustedSec <[email protected]> trustedsec <[email protected]>
147+
void-in <void-in@github> root <[email protected]>
148+
void-in <void-in@github> void-in <[email protected]>
149+
void-in <void-in@github> void-in <[email protected]>
150+
void-in <void-in@github> void_in <[email protected]>
151+
void-in <void-in@github> Waqas Ali <[email protected]>
121152
zeroSteiner <zeroSteiner@github> Spencer McIntyre <[email protected]>
122153

154+
123155
# Aliases for utility author names. Since they're fake, typos abound
124156

125157
Tab Assassin <[email protected]> Tabassassin <[email protected]>

.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.1.7
1+
2.1.9

.travis.yml

Lines changed: 13 additions & 11 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.1.8'
14+
315
env:
4-
- RAKE_TASKS="cucumber cucumber:boot"
16+
- 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.7'
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

CODE_OF_CONDUCT.md

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
# Contributor Code of Conduct
2+
3+
As contributors and maintainers of this project, and in the interest of
4+
fostering an open and welcoming community, we pledge to respect all people who
5+
contribute through reporting issues, posting feature requests, updating
6+
documentation, submitting pull requests or patches, and other activities.
7+
8+
We are committed to making participation in this project a harassment-free
9+
experience for everyone, regardless of level of experience, gender, gender
10+
identity and expression, sexual orientation, disability, personal appearance,
11+
body size, race, ethnicity, age, religion, or nationality.
12+
13+
Examples of unacceptable behavior by participants include:
14+
15+
* The use of sexualized language or imagery
16+
* Personal attacks
17+
* Trolling or insulting/derogatory comments
18+
* Public or private harassment
19+
* Publishing other's private information, such as physical or electronic
20+
addresses, without explicit permission
21+
* Other unethical or unprofessional conduct
22+
23+
Project maintainers have the right and responsibility to remove, edit, or
24+
reject comments, commits, code, wiki edits, issues, and other contributions
25+
that are not aligned to this Code of Conduct, or to ban temporarily or
26+
permanently any contributor for other behaviors that they deem inappropriate,
27+
threatening, offensive, or harmful.
28+
29+
By adopting this Code of Conduct, project maintainers commit themselves to
30+
fairly and consistently applying these principles to every aspect of managing
31+
this project. Project maintainers who do not follow or enforce the Code of
32+
Conduct may be permanently removed from the project team.
33+
34+
This Code of Conduct applies both within project spaces and in public spaces
35+
when an individual is representing the project or its community.
36+
37+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
38+
reported by contacting the project maintainers at [email protected]. If
39+
the incident involves a committer, you may report directly to
40+
41+
42+
All complaints will be reviewed and investigated and will result in a
43+
response that is deemed necessary and appropriate to the circumstances.
44+
Maintainers are obligated to maintain confidentiality with regard to the
45+
reporter of an incident.
46+
47+
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
48+
version 1.3.0, available at
49+
[http://contributor-covenant.org/version/1/3/0/][version]
50+
51+
[homepage]: http://contributor-covenant.org
52+
[version]: http://contributor-covenant.org/version/1/3/0/

CONTRIBUTING.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ and Metasploit's [Common Coding Mistakes].
3737
* **Do** follow the [50/72 rule] for Git commit messages.
3838
* **Don't** use the default merge messages when merging from other branches.
3939
* **Do** create a [topic branch] to work on instead of working directly on `master`.
40+
* **Do** license your code as BSD 3-clause, BSD 2-clause, or MIT.
4041

4142
### Pull Requests
4243

@@ -51,7 +52,7 @@ Pull requests [PR#2940] and [PR#3043] are a couple good examples to follow.
5152

5253
#### New Modules
5354

54-
* **Do** run `tools/msftidy.rb` against your module and fix any errors or warnings that come up.
55+
* **Do** run `tools/dev/msftidy.rb` against your module and fix any errors or warnings that come up.
5556
- It would be even better to set up `msftidy.rb` as a [pre-commit hook].
5657
* **Do** use the many module mixin [API]s. Wheel improvements are welcome; wheel reinventions, not so much.
5758
* **Don't** include more than one module per pull request.

0 commit comments

Comments
 (0)