Skip to content

Commit 936c708

Browse files
committed
Merge branch 'master' into psexec_refactor_round2
Conflicts: lib/msf/core/exploit/smb/psexec.rb modules/exploits/windows/smb/psexec.rb
2 parents f6e8570 + bf1a665 commit 936c708

File tree

532 files changed

+23916
-22090
lines changed

Some content is hidden

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

532 files changed

+23916
-22090
lines changed

.mailmap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ todb-r7 <todb-r7@github> Tod Beardsley <[email protected]>
1818
todb-r7 <todb-r7@github> Tod Beardsley <[email protected]>
1919
todb-r7 <todb-r7@github> Tod Beardsley <[email protected]>
2020
trosen-r7 <trosen-r7@github> Trevor Rosen <[email protected]>
21+
trosen-r7 <trosen-r7@github> Trevor Rosen <[email protected]>
2122
wchen-r7 <wchen-r7@github> sinn3r <[email protected]> # aka sinn3r
2223
wchen-r7 <wchen-r7@github> sinn3r <[email protected]>
2324
wchen-r7 <wchen-r7@github> Wei Chen <[email protected]>

.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.9.3-p484
1+
1.9.3-p547

.travis.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
language: ruby
2-
env: MSF_SPOTCHECK_RECENT=1
32
before_install:
43
- rake --version
54
- sudo apt-get update -qq
65
- sudo apt-get install -qq libpcap-dev
6+
# Uncomment when we have fewer shipping msftidy warnings.
7+
# Merge committers will still be checking, just not autofailing.
8+
# See https://dev.metasploit.com/redmine/issues/8498
9+
# - ln -sf ../../tools/dev/pre-commit-hook.rb ./.git/hooks/post-merge
10+
# - ls -la ./.git/hooks
11+
# - ./.git/hooks/post-merge
712
before_script:
8-
- ./tools/msftidy.rb
913
- cp config/database.yml.travis config/database.yml
1014
- bundle exec rake --version
1115
- bundle exec rake db:create

CONTRIBUTING.md

Lines changed: 25 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,29 @@
1-
# Contributing to Metasploit
1+
# Hello, World!
22

33
Thanks for your interest in making Metasploit -- and therefore, the
4-
world -- a better place! What you see here in CONTRIBUTING.md is a
5-
bullet-point list of the do's and don'ts of how to make sure *your*
6-
valuable contributions actually make it into Metasploit's master branch.
4+
world -- a better place!
5+
6+
Are you about to report a bug? If so, please use our [Redmine Bug
7+
Tracker](https://dev.metasploit.com/redmine/projects/framework). An
8+
account is required but it only takes a minute or two.
9+
10+
Are you about to report a security vulnerability in Metasploit?
11+
If so, please take a look at Rapid's [Vulnerability
12+
Disclosure Policy](https://www.rapid7.com/disclosure.jsp) policy.
13+
14+
Are you about to contribute some new functionality, a bug fix, or a new
15+
Metasploit module? If so, read on...
16+
17+
# Contributing to Metasploit
18+
19+
What you see here in CONTRIBUTING.md is a bullet-point list of the do's
20+
and don'ts of how to make sure *your* valuable contributions actually
21+
make it into Metasploit's master branch.
722

823
If you care not to follow these rules, your contribution **will** be
924
closed (*Road House* style). Sorry!
1025

11-
Incidentally, this is a **short** list. The
26+
This is intended to be a **short** list. The
1227
[wiki](https://github.com/rapid7/metasploit-framework/wiki) is much more
1328
exhaustive and reveals many mysteries. If you read nothing else, take a
1429
look at the standard [development environment setup
@@ -23,6 +38,7 @@ and Metasploit's [Common Coding Mistakes](https://github.com/rapid7/metasploit-f
2338

2439
### Pull Requests
2540

41+
* **Do** target your pull request to the **master branch**. Not staging, not develop, not release.
2642
* **Do** specify a descriptive title to make searching for your pull request easier.
2743
* **Do** include [console output](https://help.github.com/articles/github-flavored-markdown#fenced-code-blocks), especially for witnessable effects in `msfconsole`.
2844
* **Do** list [verification steps](https://help.github.com/articles/writing-on-github#task-lists) so your code is testable.
@@ -34,14 +50,15 @@ Pull requests [#2940](https://github.com/rapid7/metasploit-framework/pull/2940)
3450
#### New Modules
3551

3652
* **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).
37-
* **Do** use the [API](https://dev.metasploit.com/documents/api/). Wheel improvements are welcome; wheel reinventions, not so much.
53+
* **Do** use the [many module mixin APIs](https://dev.metasploit.com/api/). Wheel improvements are welcome; wheel reinventions, not so much.
3854
* **Don't** include more than one module per pull request.
3955

4056
#### Library Code
4157

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

4663
#### Bug Fixes
4764

@@ -50,8 +67,8 @@ Pull requests [#2940](https://github.com/rapid7/metasploit-framework/pull/2940)
5067

5168
## Bug Reports
5269

53-
* **Do** report vulnerabilities in Rapid7 software to [email protected].
54-
* **Do** create a Redmine account and report your bug there.
70+
* **Do** report vulnerabilities in Rapid7 software directly to [email protected].
71+
* **Do** create a Redmine account and report your non-vulnerability bugs there.
5572
* **Do** write a detailed description of your bug and use a descriptive title.
5673
* **Do** include reproduction steps, stack traces, and anything else that might help us verify and fix your bug.
5774
* **Don't** file duplicate reports - search for your bug before filing a new report.

Gemfile

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,27 @@
11
source 'https://rubygems.org'
22

33
# Need 3+ for ActiveSupport::Concern
4-
gem 'activesupport', '>= 3.0.0'
4+
gem 'activesupport', '>= 3.0.0', '< 4.0.0'
55
# Needed for some admin modules (cfme_manageiq_evm_pass_reset.rb)
6-
gem 'bcrypt-ruby'
6+
gem 'bcrypt'
77
# Needed for some admin modules (scrutinizer_add_user.rb)
88
gem 'json'
99
# Needed by msfgui and other rpc components
1010
gem 'msgpack'
1111
# Needed by anemone crawler
1212
gem 'nokogiri'
13-
# Needed by anemone crawler
14-
gem 'robots'
1513
# Needed by db.rb and Msf::Exploit::Capture
1614
gem 'packetfu', '1.1.9'
15+
# Needed by JSObfu
16+
gem 'rkelly-remix', '0.0.6'
17+
# Needed by anemone crawler
18+
gem 'robots'
19+
# Needed for some post modules
20+
gem 'sqlite3'
1721

1822
group :db do
1923
# Needed for Msf::DbManager
20-
gem 'activerecord'
24+
gem 'activerecord', '>= 3.0.0', '< 4.0.0'
2125
# Database models shared between framework and Pro.
2226
gem 'metasploit_data_models', '~> 0.17.0'
2327
# Needed for module caching in Mdm::ModuleDetails

Gemfile.lock

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ GEM
1313
i18n (~> 0.6, >= 0.6.4)
1414
multi_json (~> 1.0)
1515
arel (3.0.2)
16-
bcrypt-ruby (3.1.2)
16+
bcrypt (3.1.7)
1717
builder (3.0.4)
1818
database_cleaner (1.1.1)
1919
diff-lcs (1.2.4)
@@ -37,6 +37,7 @@ GEM
3737
pg (0.16.0)
3838
rake (10.1.0)
3939
redcarpet (3.0.0)
40+
rkelly-remix (0.0.6)
4041
robots (0.10.1)
4142
rspec (2.14.1)
4243
rspec-core (~> 2.14.0)
@@ -52,6 +53,7 @@ GEM
5253
multi_json (~> 1.0.3)
5354
simplecov-html (~> 0.5.3)
5455
simplecov-html (0.5.3)
56+
sqlite3 (1.3.9)
5557
timecop (0.6.3)
5658
tzinfo (0.3.37)
5759
yard (0.8.7)
@@ -60,9 +62,9 @@ PLATFORMS
6062
ruby
6163

6264
DEPENDENCIES
63-
activerecord
64-
activesupport (>= 3.0.0)
65-
bcrypt-ruby
65+
activerecord (>= 3.0.0, < 4.0.0)
66+
activesupport (>= 3.0.0, < 4.0.0)
67+
bcrypt
6668
database_cleaner
6769
factory_girl (>= 4.1.0)
6870
fivemat (= 1.2.1)
@@ -76,9 +78,11 @@ DEPENDENCIES
7678
pg (>= 0.11)
7779
rake (>= 10.0.0)
7880
redcarpet
81+
rkelly-remix (= 0.0.6)
7982
robots
8083
rspec (>= 2.12)
8184
shoulda-matchers
8285
simplecov (= 0.5.4)
86+
sqlite3
8387
timecop
8488
yard

LICENSE

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ Files: external/ruby-lorcon/*
3636
Copyright: 2005, dragorn and Joshua Wright
3737
License: LGPL-2.1
3838

39+
Files: external/source/exploits/IE11SandboxEscapes/*
40+
Copyright: James Forshaw, 2014
41+
License: GPLv3
42+
3943
Files: external/source/byakugan/*
4044
Copyright: Lurene Grenier, 2009
4145
License: BSD-3-clause
@@ -176,7 +180,7 @@ Files: arel
176180
Copyright: 2007-2010 Nick Kallen, Bryan Helmkamp, Emilio Tagua, Aaron Patterson
177181
License: MIT
178182

179-
Files: bcrypt-ruby
183+
Files: bcrypt
180184
Copyright: 2007-2011 Coda Hale
181185
License: MIT
182186

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,11 @@ The mailing list archives are available from:
2424

2525
Installing
2626
--
27-
Generally, you should use the installer which contains all dependencies
28-
and will get you up and running with a few clicks. See the [Dev
29-
Environment Setup][wiki-devenv] if you'd like to deal with dependencies
30-
on your own.
27+
28+
Generally, you should use [the free installer](https://www.metasploit.com/download)
29+
which contains all dependencies and will get you up and running with a
30+
few clicks. See the [Dev Environment Setup](http://r-7.co/MSF-DEV) if
31+
you'd like to deal with dependencies on your own.
3132

3233
Using Metasploit
3334
--

data/android/apk/AndroidManifest.xml

-48 Bytes
Binary file not shown.

data/android/apk/classes.dex

3.12 KB
Binary file not shown.

0 commit comments

Comments
 (0)