Skip to content

Commit 6516cab

Browse files
author
Pedro Ribeiro
committed
Merge pull request #16 from rapid7/master
a
2 parents 299a39a + 38a77c9 commit 6516cab

File tree

1,087 files changed

+40722
-11404
lines changed

Some content is hidden

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

1,087 files changed

+40722
-11404
lines changed

.gitignore

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -67,17 +67,7 @@ external/source/exploits/**/Release
6767

6868
# Avoid checking in Meterpreter binaries. These are supplied upstream by
6969
# the meterpreter_bins gem.
70-
data/meterpreter/elevator.*.dll
71-
data/meterpreter/ext_server_espia.*.dll
72-
data/meterpreter/ext_server_extapi.*.dll
73-
data/meterpreter/ext_server_incognito.*.dll
74-
data/meterpreter/ext_server_kiwi.*.dll
75-
data/meterpreter/ext_server_lanattacks.*.dll
76-
data/meterpreter/ext_server_mimikatz.*.dll
77-
data/meterpreter/ext_server_priv.*.dll
78-
data/meterpreter/ext_server_stdapi.*.dll
79-
data/meterpreter/metsrv.*.dll
80-
data/meterpreter/screenshot.*.dll
70+
data/meterpreter/*.dll
8171

8272
# Avoid checking in Meterpreter libs that are built from
8373
# private source. If you're interested in this functionality,

.mailmap

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,6 @@ jhart-r7 <jhart-r7@github> Jon Hart <[email protected]>
1313
jlee-r7 <jlee-r7@github> egypt <[email protected]> # aka egypt
1414
jlee-r7 <jlee-r7@github> James Lee <[email protected]> # aka egypt
1515
jlee-r7 <jlee-r7@github> James Lee <[email protected]>
16-
joev-r7 <joev-r7@github> Joe Vennix <[email protected]>
17-
joev-r7 <joev-r7@github> Joe Vennix <[email protected]>
18-
joev-r7 <joev-r7@github> joev <[email protected]>
19-
joev-r7 <joev-r7@github> jvennix-r7 <[email protected]>
20-
joev-r7 <joev-r7@github> jvennix-r7 <[email protected]>
2116
jvazquez-r7 <jvazquez-r7@github> jvazquez-r7 <[email protected]>
2217
jvazquez-r7 <jvazquez-r7@github> jvazquez-r7 <[email protected]>
2318
kgray-r7 <kgray-r7@github> Kyle Gray <[email protected]>
@@ -80,9 +75,15 @@ jcran <jcran@github> Jonathan Cran <[email protected]>
8075
jcran <jcran@github> Jonathan Cran <[email protected]>
8176
jduck <jduck@github> Joshua Drake <[email protected]>
8277
jgor <jgor@github> jgor <[email protected]>
78+
joevennix <joevennix@github> joe <[email protected]>
79+
joevennix <joevennix@github> Joe Vennix <[email protected]>
80+
joevennix <joevennix@github> Joe Vennix <[email protected]>
81+
joevennix <joevennix@github> joev <[email protected]>
82+
joevennix <joevennix@github> jvennix-r7 <[email protected]>
83+
joevennix <joevennix@github> jvennix-r7 <[email protected]>
8384
kernelsmith <kernelsmith@github> Joshua Smith <[email protected]>
84-
kernelsmith <kernelsmith@github> kernelsmith <kernelsmith@kernelsmith>
8585
kernelsmith <kernelsmith@github> Joshua Smith <[email protected]>
86+
kernelsmith <kernelsmith@github> kernelsmith <kernelsmith@kernelsmith>
8687
kost <kost@github> Vlatko Kosturjak <[email protected]>
8788
kris <kris@???> kris <>
8889
m-1-k-3 <m-1-k-3@github> m-1-k-3 <[email protected]>

.travis.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,10 @@ matrix:
1111
before_install:
1212
- "echo 'gem: --no-ri --no-rdoc' > ~/.gemrc"
1313
- rake --version
14-
# Uncomment when we have fewer shipping msftidy warnings.
15-
# Merge committers will still be checking, just not autofailing.
16-
# - ln -sf ../../tools/dev/pre-commit-hook.rb ./.git/hooks/post-merge
17-
# - ls -la ./.git/hooks
18-
# - ./.git/hooks/post-merge
14+
# Fail build if msftidy is not successful
15+
- ln -sf ../../tools/dev/pre-commit-hook.rb ./.git/hooks/post-merge
16+
- ls -la ./.git/hooks
17+
- ./.git/hooks/post-merge
1918
before_script:
2019
- cp config/database.yml.travis config/database.yml
2120
- bundle exec rake --version
@@ -26,7 +25,6 @@ script:
2625
- git diff --exit-code && bundle exec rake $RAKE_TASKS
2726
sudo: false
2827
rvm:
29-
- '1.9.3'
3028
- '2.1'
3129

3230
notifications:

CONTRIBUTING.md

Lines changed: 57 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -3,86 +3,111 @@
33
Thanks for your interest in making Metasploit -- and therefore, the
44
world -- a better place!
55

6-
Are you about to report a bug? Sorry to hear it.
7-
8-
Here's our [Issue tracker](https://github.com/rapid7/metasploit-framework/issues).
9-
Please try to be as specific as you can about your problem, include steps
10-
to reproduce (cut and paste from your console output if it's helpful), and
6+
Are you about to report a bug? Sorry to hear it. Here's our [Issue tracker].
7+
Please try to be as specific as you can about your problem; include steps
8+
to reproduce (cut and paste from your console output if it's helpful) and
119
what you were expecting to happen.
1210

1311
Are you about to report a security vulnerability in Metasploit itself?
1412
How ironic! Please take a look at Rapid7's [Vulnerability
1513
Disclosure Policy](https://www.rapid7.com/disclosure.jsp), and send
16-
your report to [email protected] using [our PGP key](http://pgp.mit.edu:11371/pks/lookup?op=vindex&search=0x2380F85B8AD4DB8D).
14+
your report to [email protected] using our [PGP key].
1715

1816
Are you about to contribute some new functionality, a bug fix, or a new
1917
Metasploit module? If so, read on...
2018

2119
# Contributing to Metasploit
2220

23-
What you see here in CONTRIBUTING.md is a bullet-point list of the do's
21+
What you see here in CONTRIBUTING.md is a bullet point list of the do's
2422
and don'ts of how to make sure *your* valuable contributions actually
2523
make it into Metasploit's master branch.
2624

2725
If you care not to follow these rules, your contribution **will** be
28-
closed (*Road House* style). Sorry!
26+
closed. Sorry!
2927

30-
This is intended to be a **short** list. The
31-
[wiki](https://github.com/rapid7/metasploit-framework/wiki) is much more
28+
This is intended to be a **short** list. The [wiki] is much more
3229
exhaustive and reveals many mysteries. If you read nothing else, take a
33-
look at the standard [development environment setup
34-
guide](https://github.com/rapid7/metasploit-framework/wiki/Setting-Up-a-Metasploit-Development-Environment)
35-
and Metasploit's [Common Coding Mistakes](https://github.com/rapid7/metasploit-framework/wiki/Common-Metasploit-Module-Coding-Mistakes).
30+
look at the standard [development environment setup] guide
31+
and Metasploit's [Common Coding Mistakes].
3632

3733
## Code Contributions
3834

39-
* **Do** stick to the [Ruby style guide](https://github.com/bbatsov/ruby-style-guide).
40-
* **Do** get [Rubocop](https://rubygems.org/search?query=rubocop) relatively quiet against the code you are adding or modifying.
41-
* **Do** follow the [50/72 rule](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html) for Git commit messages.
42-
* **Don't** use the default merge messages when merging from other
43-
branches.
44-
* **Do** create a [topic branch](http://git-scm.com/book/en/Git-Branching-Branching-Workflows#Topic-Branches) to work on instead of working directly on `master`.
35+
* **Do** stick to the [Ruby style guide].
36+
* **Do** get [Rubocop] relatively quiet against the code you are adding or modifying.
37+
* **Do** follow the [50/72 rule] for Git commit messages.
38+
* **Don't** use the default merge messages when merging from other branches.
39+
* **Do** create a [topic branch] to work on instead of working directly on `master`.
4540

4641
### Pull Requests
4742

4843
* **Do** target your pull request to the **master branch**. Not staging, not develop, not release.
4944
* **Do** specify a descriptive title to make searching for your pull request easier.
50-
* **Do** include [console output](https://help.github.com/articles/github-flavored-markdown#fenced-code-blocks), especially for witnessable effects in `msfconsole`.
51-
* **Do** list [verification steps](https://help.github.com/articles/writing-on-github#task-lists) so your code is testable.
45+
* **Do** include [console output], especially for witnessable effects in `msfconsole`.
46+
* **Do** list [verification steps] so your code is testable.
5247
* **Don't** leave your pull request description blank.
5348
* **Don't** abandon your pull request. Being responsive helps us land your code faster.
5449

55-
Pull requests [#2940](https://github.com/rapid7/metasploit-framework/pull/2940) and [#3043](https://github.com/rapid7/metasploit-framework/pull/3043) are a couple good examples to follow.
50+
Pull requests [PR#2940] and [PR#3043] are a couple good examples to follow.
5651

5752
#### New Modules
5853

59-
* **Do** run `tools/msftidy.rb` against your module and fix any errors or warnings that come up. Even better would be to set up `msftidy.rb` as a [pre-commit hook](https://github.com/rapid7/metasploit-framework/blob/master/tools/dev/pre-commit-hook.rb).
60-
* **Do** use the [many module mixin APIs](https://rapid7.github.io/metasploit-framework/api/). Wheel improvements are welcome; wheel reinventions, not so much.
54+
* **Do** run `tools/msftidy.rb` against your module and fix any errors or warnings that come up.
55+
- It would be even better to set up `msftidy.rb` as a [pre-commit hook].
56+
* **Do** use the many module mixin [API]s. Wheel improvements are welcome; wheel reinventions, not so much.
6157
* **Don't** include more than one module per pull request.
6258

59+
#### Scripts
60+
61+
* **Don't** submit new [scripts]. Scripts are shipped as examples for
62+
automating local tasks, and anything "serious" can be done with post
63+
modules and local exploits.
64+
6365
#### Library Code
6466

65-
* **Do** write [RSpec](http://rspec.info/) tests - even the smallest change in library land can thoroughly screw things up.
66-
* **Do** follow [Better Specs](http://betterspecs.org/) - it's like the style guide for specs.
67-
* **Do** write [YARD](http://yardoc.org/) documentation - this makes it easier for people to use your code.
67+
* **Do** write [RSpec] tests - even the smallest change in library land can thoroughly screw things up.
68+
* **Do** follow [Better Specs] - it's like the style guide for specs.
69+
* **Do** write [YARD] documentation - this makes it easier for people to use your code.
6870
* **Don't** fix a lot of things in one pull request. Small fixes are easier to validate.
6971

7072
#### Bug Fixes
7173

7274
* **Do** include reproduction steps in the form of verification steps.
73-
* **Do** include a link to any corresponding [Issue](https://github.com/rapid7/metasploit-framework/issues) in the format of `See #1234` in your commit description.
75+
* **Do** include a link to any corresponding [Issues] in the format of
76+
`See #1234` in your commit description.
7477

7578
## Bug Reports
7679

7780
* **Do** report vulnerabilities in Rapid7 software directly to [email protected].
7881
* **Do** write a detailed description of your bug and use a descriptive title.
7982
* **Do** include reproduction steps, stack traces, and anything else that might help us verify and fix your bug.
80-
* **Don't** file duplicate reports - search for your bug before filing a new report.
83+
* **Don't** file duplicate reports; search for your bug before filing a new report.
8184

8285
If you need some more guidance, talk to the main body of open
83-
source contributors over on the [Freenode IRC channel](http://webchat.freenode.net/?channels=%23metasploit&uio=d4)
84-
or e-mail us at [metasploit-hackers](https://lists.sourceforge.net/lists/listinfo/metasploit-hackers)
85-
mailing list.
86+
source contributors over on the [Freenode IRC channel],
87+
or e-mail us at the [metasploit-hackers] mailing list.
8688

8789
Also, **thank you** for taking the few moments to read this far! You're
8890
already way ahead of the curve, so keep it up!
91+
92+
[Issue Tracker]:http://r-7.co/MSF-BUGv1
93+
[PGP key]:http://pgp.mit.edu:11371/pks/lookup?op=vindex&search=0x2380F85B8AD4DB8D
94+
[wiki]:https://github.com/rapid7/metasploit-framework/wiki
95+
[scripts]:https://github.com/rapid7/metasploit-framework/tree/master/scripts
96+
[development environment setup]:http://r-7.co/MSF-DEV
97+
[Common Coding Mistakes]:https://github.com/rapid7/metasploit-framework/wiki/Common-Metasploit-Module-Coding-Mistakes
98+
[Ruby style guide]:https://github.com/bbatsov/ruby-style-guide
99+
[Rubocop]:https://rubygems.org/search?query=rubocop
100+
[50.72 rule]:http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html
101+
[topic branch]:http://git-scm.com/book/en/Git-Branching-Branching-Workflows#Topic-Branches
102+
[console output]:https://help.github.com/articles/github-flavored-markdown#fenced-code-blocks
103+
[verification steps]:https://help.github.com/articles/writing-on-github#task-lists
104+
[PR#2940]:https://github.com/rapid7/metasploit-framework/pull/2940
105+
[PR#3043]:https://github.com/rapid7/metasploit-framework/pull/3043
106+
[pre-commit hook]:https://github.com/rapid7/metasploit-framework/blob/master/tools/dev/pre-commit-hook.rb
107+
[API]:https://rapid7.github.io/metasploit-framework/api
108+
[RSpec]:http://rspec.info
109+
[Better Specs]:http://betterspecs.org
110+
[YARD]:http://yardoc.org
111+
[Issues]:https://github.com/rapid7/metasploit-framework/issues
112+
[Freenode IRC channel]:http://webchat.freenode.net/?channels=%23metasploit&uio=d4
113+
[metasploit-hackers]:https://lists.sourceforge.net/lists/listinfo/metasploit-hackers

Gemfile.lock

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -8,23 +8,23 @@ PATH
88
jsobfu (~> 0.2.0)
99
json
1010
metasploit-concern (~> 0.3.0)
11-
metasploit-model (~> 0.28.0)
12-
meterpreter_bins (= 0.0.13)
11+
metasploit-model (~> 0.29.0)
12+
meterpreter_bins (= 0.0.17)
1313
msgpack
1414
nokogiri
1515
packetfu (= 1.1.9)
1616
railties
17-
rb-readline
17+
rb-readline-r7
1818
recog (~> 1.0)
1919
robots
2020
rubyzip (~> 1.1)
2121
sqlite3
2222
tzinfo
2323
metasploit-framework-db (4.11.0.pre.dev)
2424
activerecord (>= 3.2.21, < 4.0.0)
25-
metasploit-credential (~> 0.13.12)
25+
metasploit-credential (~> 0.14.3)
2626
metasploit-framework (= 4.11.0.pre.dev)
27-
metasploit_data_models (~> 0.22.1)
27+
metasploit_data_models (~> 0.23.2)
2828
pg (>= 0.11)
2929
metasploit-framework-pcap (4.11.0.pre.dev)
3030
metasploit-framework (= 4.11.0.pre.dev)
@@ -68,7 +68,7 @@ GEM
6868
childprocess (>= 0.3.6)
6969
cucumber (>= 1.1.1)
7070
rspec-expectations (>= 2.7.0)
71-
bcrypt (3.1.9)
71+
bcrypt (3.1.10)
7272
builder (3.0.4)
7373
capybara (2.4.1)
7474
mime-types (>= 1.16)
@@ -105,41 +105,41 @@ GEM
105105
journey (1.0.4)
106106
jsobfu (0.2.1)
107107
rkelly-remix (= 0.0.6)
108-
json (1.8.1)
108+
json (1.8.2)
109109
mail (2.5.4)
110110
mime-types (~> 1.16)
111111
treetop (~> 1.4.8)
112112
metasploit-concern (0.3.0)
113113
activesupport (~> 3.0, >= 3.0.0)
114114
railties (< 4.0.0)
115-
metasploit-credential (0.13.12)
115+
metasploit-credential (0.14.3)
116116
metasploit-concern (~> 0.3.0)
117-
metasploit-model (~> 0.28.0)
118-
metasploit_data_models (~> 0.22.1)
117+
metasploit-model (~> 0.29.0)
118+
metasploit_data_models (~> 0.23.0)
119119
pg
120120
railties (< 4.0.0)
121121
rubyntlm
122122
rubyzip (~> 1.1)
123-
metasploit-model (0.28.0)
123+
metasploit-model (0.29.0)
124124
activesupport
125125
railties (< 4.0.0)
126-
metasploit_data_models (0.22.1)
126+
metasploit_data_models (0.23.2)
127127
activerecord (>= 3.2.13, < 4.0.0)
128128
activesupport
129129
arel-helpers
130130
metasploit-concern (~> 0.3.0)
131-
metasploit-model (~> 0.28.0)
131+
metasploit-model (~> 0.29.0)
132132
pg
133133
railties (< 4.0.0)
134134
recog (~> 1.0)
135-
meterpreter_bins (0.0.13)
135+
meterpreter_bins (0.0.17)
136136
method_source (0.8.2)
137137
mime-types (1.25.1)
138138
mini_portile (0.6.2)
139-
msgpack (0.5.9)
139+
msgpack (0.5.11)
140140
multi_json (1.0.4)
141141
network_interface (0.0.1)
142-
nokogiri (1.6.5)
142+
nokogiri (1.6.6.2)
143143
mini_portile (~> 0.6.0)
144144
packetfu (1.1.9)
145145
pcaprub (0.11.3)
@@ -154,7 +154,7 @@ GEM
154154
rack (>= 0.4)
155155
rack-ssl (1.3.4)
156156
rack
157-
rack-test (0.6.2)
157+
rack-test (0.6.3)
158158
rack (>= 1.0)
159159
rails (3.2.21)
160160
actionmailer (= 3.2.21)
@@ -172,10 +172,10 @@ GEM
172172
rdoc (~> 3.4)
173173
thor (>= 0.14.6, < 2.0)
174174
rake (10.4.2)
175-
rb-readline (0.5.1)
175+
rb-readline-r7 (0.5.2.0)
176176
rdoc (3.12.2)
177177
json (~> 1.4)
178-
recog (1.0.7)
178+
recog (1.0.24)
179179
nokogiri
180180
redcarpet (3.1.2)
181181
rkelly-remix (0.0.6)
@@ -199,8 +199,8 @@ GEM
199199
rspec-core (~> 2.99.0)
200200
rspec-expectations (~> 2.99.0)
201201
rspec-mocks (~> 2.99.0)
202-
rubyntlm (0.4.0)
203-
rubyzip (1.1.6)
202+
rubyntlm (0.5.0)
203+
rubyzip (1.1.7)
204204
shoulda-matchers (2.6.2)
205205
simplecov (0.5.4)
206206
multi_json (~> 1.0.3)
@@ -219,7 +219,7 @@ GEM
219219
treetop (1.4.15)
220220
polyglot
221221
polyglot (>= 0.3.1)
222-
tzinfo (0.3.42)
222+
tzinfo (0.3.43)
223223
xpath (2.0.0)
224224
nokogiri (~> 1.3)
225225
yard (0.8.7.4)

LICENSE

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,6 @@ Copyright: 2003-2010 Mark Borgerding
3232
2009-2012 H D Moore <hdm[at]rapid7.com>
3333
License: BSD-3-clause
3434

35-
Files: external/ruby-lorcon/*
36-
Copyright: 2005, dragorn and Joshua Wright
37-
License: LGPL-2.1
38-
3935
Files: external/source/exploits/IE11SandboxEscapes/*
4036
Copyright: James Forshaw, 2014
4137
License: GPLv3

0 commit comments

Comments
 (0)