Skip to content

Commit fa3ba44

Browse files
author
staaldraad
committed
Merge pull request #4 from Meatballs1/enum_domain_users_update
Enum domain users update
2 parents b72f425 + ff4e91b commit fa3ba44

File tree

3,359 files changed

+105048
-59687
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,359 files changed

+105048
-59687
lines changed

.gitignore

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,7 @@
33
.idea
44
# Sublime Text project directory (not created by ST by default)
55
.sublime-project
6-
# Portable ruby version files for rvm
7-
.ruby-gemset
8-
.ruby-version
9-
# RVM control file
6+
# RVM control file, keep this to avoid backdooring Metasploit
107
.rvmrc
118
# YARD cache directory
129
.yardoc
@@ -16,7 +13,7 @@
1613
config/database.yml
1714
# simplecov coverage data
1815
coverage
19-
data/meterpreter/ext_server_pivot.dll
16+
data/meterpreter/ext_server_pivot.x86.dll
2017
data/meterpreter/ext_server_pivot.x64.dll
2118
doc/
2219
external/source/meterpreter/java/bin
@@ -44,3 +41,13 @@ tags
4441
*~
4542
# Ignore backups of retabbed files
4643
*.notab
44+
45+
# ignore Visual Studio external source garbage
46+
*.suo
47+
*.sdf
48+
*.opensdf
49+
*.user
50+
51+
# ignore release/debug folders for exploits
52+
external/source/exploits/**/Debug
53+
external/source/exploits/**/Release

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "external/source/ReflectiveDLLInjection"]
2+
path = external/source/ReflectiveDLLInjection
3+
url = https://github.com/rapid7/ReflectiveDLLInjection.git

.mailmap

Lines changed: 38 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,57 @@
1-
bperry-r7 <bperry-r7@github> Brandon Perry <[email protected]>
2-
bperry-r7 <bperry-r7@github> Brandon Perry <bperry@bperry-rapid7.(none)>
31
bturner-r7 <bturner-r7@github> Brandon Turner <[email protected]>
4-
dmaloney-r7 <dmaloney-r7@github> David Maloney <[email protected]> # aka TheLightCosine
52
dmaloney-r7 <dmaloney-r7@github> David Maloney <[email protected]>
3+
dmaloney-r7 <dmaloney-r7@github> David Maloney <[email protected]> # aka TheLightCosine
64
ecarey-r7 <ecarey-r7@github> Erran Carey <[email protected]>
5+
farias-r7 <farias-r7@github> Fernando Arias <[email protected]>
76
hmoore-r7 <hmoore-r7@github> HD Moore <[email protected]>
87
hmoore-r7 <hmoore-r7@github> HD Moore <[email protected]>
9-
jlee-r7 <jlee-r7@github> James Lee <[email protected]>
10-
jlee-r7 <jlee-r7@github> James Lee <[email protected]> # aka egypt
118
jlee-r7 <jlee-r7@github> egypt <[email protected]> # aka egypt
9+
jlee-r7 <jlee-r7@github> James Lee <[email protected]> # aka egypt
10+
jlee-r7 <jlee-r7@github> James Lee <[email protected]>
11+
joev-r7 <joev-r7@github> joev <[email protected]>
1212
joev-r7 <joev-r7@github> Joe Vennix <[email protected]>
1313
jvazquez-r7 <jvazquez-r7@github> jvazquez-r7 <[email protected]>
14+
jvazquez-r7 <jvazquez-r7@github> jvazquez-r7 <[email protected]>
1415
limhoff-r7 <limhoff-r7@github> Luke Imhoff <[email protected]>
1516
shuckins-r7 <shuckins-r7@github> Samuel Huckins <[email protected]>
16-
tasos-r7 <tasos-r7@github> Tasos Laskos <[email protected]>
1717
todb-r7 <todb-r7@github> Tod Beardsley <[email protected]>
1818
todb-r7 <todb-r7@github> Tod Beardsley <[email protected]>
19-
wchen-r7 <wchen-r7@github> Wei Chen <[email protected]>
19+
todb-r7 <todb-r7@github> Tod Beardsley <[email protected]>
20+
trosen-r7 <trosen-r7@github> Trevor Rosen <[email protected]>
2021
wchen-r7 <wchen-r7@github> sinn3r <[email protected]> # aka sinn3r
2122
wchen-r7 <wchen-r7@github> sinn3r <[email protected]>
23+
wchen-r7 <wchen-r7@github> Wei Chen <[email protected]>
24+
wvu-r7 <wvu-r7@github> William Vu <[email protected]>
25+
wvu-r7 <wvu-r7@github> William Vu <[email protected]>
26+
wvu-r7 <wvu-r7@github> William Vu <[email protected]>
2227

23-
# Above this line are current Rapid7 employees Below this paragraph are
28+
# Above this line are current Rapid7 employees. Below this paragraph are
2429
# volunteers, former employees, and potential Rapid7 employees who, at
2530
# one time or another, had some largeish number of commits landed on
2631
# rapid7/metasploit-framework master branch. This should be refreshed
2732
# periodically. If you're on this list and would like to not be, just
2833
# let [email protected] know.
2934

35+
bannedit <bannedit@github> David Rude <[email protected]>
36+
Brandon Perry <brandonprry@github> Brandon Perry <[email protected]>
37+
Brandon Perry <brandonprry@github> Brandon Perry <bperry@bperry-rapid7.(none)>
3038
Brian Wallace <bwall@github> (B)rian (Wall)ace <[email protected]>
3139
Brian Wallace <bwall@github> Brian Wallace <[email protected]>
40+
ceballosm <ceballosm@github> Mario Ceballos <[email protected]>
41+
Chao-mu <Chao-Mu@github> Chao Mu <[email protected]>
42+
Chao-mu <Chao-Mu@github> chao-mu <[email protected]>
43+
Chao-mu <Chao-Mu@github> chao-mu <chao@confusion.(none)>
3244
ChrisJohnRiley <ChrisJohnRiley@github> Chris John Riley <[email protected]>
3345
ChrisJohnRiley <ChrisJohnRiley@github> Chris John Riley <[email protected]>
34-
FireFart <FireFart@github> Christian Mehlmauer <[email protected]>
35-
Meatballs1 <Meatballs1@github> Ben Campbell <[email protected]>
36-
Meatballs1 <Meatballs1@github> Meatballs <[email protected]>
37-
Meatballs1 <Meatballs1@github> Meatballs1 <[email protected]>
38-
bannedit <bannedit@github> David Rude <[email protected]>
39-
ceballosm <ceballosm@github> Mario Ceballos <[email protected]>
40-
corelanc0d3er <corelanc0d3er@github> Peter Van Eeckhoutte (corelanc0d3r) <[email protected]>
41-
corelanc0d3er <corelanc0d3er@github> corelanc0d3r <[email protected]>
46+
corelanc0d3r <corelanc0d3r@github> corelanc0d3r <[email protected]>
47+
corelanc0d3r <corelanc0d3r@github> Peter Van Eeckhoutte (corelanc0d3r) <[email protected]>
4248
darkoperator <darkoperator@github> Carlos Perez <[email protected]>
4349
efraintorres <efraintorres@github> efraintorres <[email protected]>
4450
efraintorres <efraintorres@github> et <>
4551
fab <fab@???> fab <> # fab at revhosts.net (Fabrice MOURRON)
46-
h0ng10 <h0ng10@github> Hans-Martin Münch <hansmartin.muench@googlemail.com>
52+
FireFart <FireFart@github> Christian Mehlmauer <firefart@gmail.com>
4753
h0ng10 <h0ng10@github> h0ng10 <[email protected]>
54+
h0ng10 <h0ng10@github> Hans-Martin Münch <[email protected]>
4855
jcran <jcran@github> Jonathan Cran <[email protected]>
4956
jcran <jcran@github> Jonathan Cran <[email protected]>
5057
jduck <jduck@github> Joshua Drake <[email protected]>
@@ -56,16 +63,30 @@ kris <kris@???> kris <>
5663
m-1-k-3 <m-1-k-3@github> m-1-k-3 <[email protected]>
5764
m-1-k-3 <m-1-k-3@github> m-1-k-3 <[email protected]>
5865
m-1-k-3 <m-1-k-3@github> m-1-k-3 <[email protected]>
66+
Meatballs1 <Meatballs1@github> Ben Campbell <[email protected]>
67+
Meatballs1 <Meatballs1@github> Meatballs <[email protected]>
68+
Meatballs1 <Meatballs1@github> Meatballs1 <[email protected]>
5969
mubix <mubix@github> Rob Fuller <[email protected]>
6070
nevdull77 <nevdull77@github> Patrik Karlsson <[email protected]>
6171
nmonkee <nmonkee@github> nmonkee <[email protected]>
6272
nullbind <nullbind@github> nullbind <[email protected]>
6373
ohdae <ohdae@github> ohdae <[email protected]>
74+
OJ <oj@github> OJ Reeves <[email protected]>
75+
OJ <oj@github> OJ <[email protected]>
6476
r3dy <r3dy@github> Royce Davis <[email protected]>
6577
r3dy <r3dy@github> Royce Davis <[email protected]>
78+
Rick Flores <[email protected]> Rick Flores (nanotechz9l) <[email protected]>
6679
rsmudge <rsmudge@github> Raphael Mudge <[email protected]> # Aka `butane
6780
schierlm <schierlm@github> Michael Schierl <[email protected]> # Aka mihi
6881
scriptjunkie <scriptjunkie@github> Matt Weeks <[email protected]>
6982
skape <skape@???> Matt Miller <[email protected]>
7083
spoonm <spoonm@github> Spoon M <[email protected]>
7184
swtornio <swtornio@github> Steve Tornio <[email protected]>
85+
Tasos Laskos <[email protected]> Tasos Laskos <[email protected]>
86+
TrustedSec <[email protected]> trustedsec <[email protected]>
87+
88+
# Aliases for utility author names. Since they're fake, typos abound
89+
90+
Tab Assassin <[email protected]> Tabasssassin <[email protected]>
91+
Tab Assassin <[email protected]> Tabassassin <[email protected]>
92+
Tab Assassin <[email protected]> TabAssassin <[email protected]>

.rspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
--color
2-
--format documentation
2+
--format Fivemat

.ruby-gemset

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
metasploit-framework

.ruby-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
1.9.3-p484

.travis.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
language: ruby
2+
env: MSF_SPOTCHECK_RECENT=1
23
before_install:
4+
- rake --version
35
- sudo apt-get update -qq
46
- sudo apt-get install -qq libpcap-dev
57
before_script:
8+
- ./tools/msftidy.rb
69
- cp config/database.yml.travis config/database.yml
7-
- rake db:create
8-
- rake db:migrate
10+
- bundle exec rake --version
11+
- bundle exec rake db:create
12+
- bundle exec rake db:migrate
913

1014
rvm:
1115
#- '1.8.7'
@@ -15,4 +19,4 @@ notifications:
1519
irc: "irc.freenode.org#msfnotify"
1620

1721
git:
18-
depth: 1
22+
depth: 5

Gemfile

Lines changed: 37 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
source 'http://rubygems.org'
1+
source 'https://rubygems.org'
22

33
# Need 3+ for ActiveSupport::Concern
44
gem 'activesupport', '>= 3.0.0'
5+
# Needed for some admin modules (cfme_manageiq_evm_pass_reset.rb)
6+
gem 'bcrypt-ruby'
57
# Needed for some admin modules (scrutinizer_add_user.rb)
68
gem 'json'
79
# Needed by msfgui and other rpc components
@@ -11,52 +13,53 @@ gem 'nokogiri'
1113
# Needed by anemone crawler
1214
gem 'robots'
1315
# Needed by db.rb and Msf::Exploit::Capture
14-
gem 'packetfu', '1.1.8'
16+
gem 'packetfu', '1.1.9'
1517

1618
group :db do
17-
# Needed for Msf::DbManager
18-
gem 'activerecord'
19-
# Database models shared between framework and Pro.
20-
gem 'metasploit_data_models', '~> 0.16.6'
21-
# Needed for module caching in Mdm::ModuleDetails
22-
gem 'pg', '>= 0.11'
19+
# Needed for Msf::DbManager
20+
gem 'activerecord'
21+
# Database models shared between framework and Pro.
22+
gem 'metasploit_data_models', '~> 0.16.9'
23+
# Needed for module caching in Mdm::ModuleDetails
24+
gem 'pg', '>= 0.11'
2325
end
2426

2527
group :pcap do
2628
gem 'network_interface', '~> 0.0.1'
27-
# For sniffer and raw socket modules
28-
gem 'pcaprub'
29+
# For sniffer and raw socket modules
30+
gem 'pcaprub'
2931
end
3032

3133
group :development do
32-
# Markdown formatting for yard
33-
gem 'redcarpet'
34-
# generating documentation
35-
gem 'yard'
34+
# Markdown formatting for yard
35+
gem 'redcarpet'
36+
# generating documentation
37+
gem 'yard'
3638
end
3739

3840
group :development, :test do
39-
# supplies factories for producing model instance for specs
40-
# Version 4.1.0 or newer is needed to support generate calls without the
41-
# 'FactoryGirl.' in factory definitions syntax.
42-
gem 'factory_girl', '>= 4.1.0'
43-
# running documentation generation tasks and rspec tasks
44-
gem 'rake'
41+
# supplies factories for producing model instance for specs
42+
# Version 4.1.0 or newer is needed to support generate calls without the
43+
# 'FactoryGirl.' in factory definitions syntax.
44+
gem 'factory_girl', '>= 4.1.0'
45+
# Make rspec output shorter and more useful
46+
gem 'fivemat', '1.2.1'
47+
# running documentation generation tasks and rspec tasks
48+
gem 'rake', '>= 10.0.0'
4549
end
4650

4751
group :test do
48-
# Removes records from database created during tests. Can't use rspec-rails'
49-
# transactional fixtures because multiple connections are in use so
50-
# transactions won't work.
51-
gem 'database_cleaner'
52-
# testing framework
53-
gem 'rspec', '>= 2.12'
54-
# add matchers from shoulda, such as query_the_database, which is useful for
55-
# testing that the Msf::DBManager activation is respected.
56-
gem 'shoulda-matchers'
57-
# code coverage for tests
58-
# any version newer than 0.5.4 gives an Encoding error when trying to read the source files.
59-
gem 'simplecov', '0.5.4', :require => false
60-
# Manipulate Time.now in specs
61-
gem 'timecop'
52+
# Removes records from database created during tests. Can't use rspec-rails'
53+
# transactional fixtures because multiple connections are in use so
54+
# transactions won't work.
55+
gem 'database_cleaner'
56+
# testing framework
57+
gem 'rspec', '>= 2.12'
58+
gem 'shoulda-matchers'
59+
# code coverage for tests
60+
# any version newer than 0.5.4 gives an Encoding error when trying to read the source files.
61+
# see: https://github.com/colszowka/simplecov/issues/127 (hopefully fixed in 0.8.0)
62+
gem 'simplecov', '0.5.4', :require => false
63+
# Manipulate Time.now in specs
64+
gem 'timecop'
6265
end

Gemfile.lock

Lines changed: 38 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,80 +1,80 @@
11
GEM
2-
remote: http://rubygems.org/
2+
remote: https://rubygems.org/
33
specs:
4-
activemodel (3.2.13)
5-
activesupport (= 3.2.13)
4+
activemodel (3.2.14)
5+
activesupport (= 3.2.14)
66
builder (~> 3.0.0)
7-
activerecord (3.2.13)
8-
activemodel (= 3.2.13)
9-
activesupport (= 3.2.13)
7+
activerecord (3.2.14)
8+
activemodel (= 3.2.14)
9+
activesupport (= 3.2.14)
1010
arel (~> 3.0.2)
1111
tzinfo (~> 0.3.29)
12-
activesupport (3.2.13)
13-
i18n (= 0.6.1)
12+
activesupport (3.2.14)
13+
i18n (~> 0.6, >= 0.6.4)
1414
multi_json (~> 1.0)
1515
arel (3.0.2)
16-
bourne (1.4.0)
17-
mocha (~> 0.13.2)
16+
bcrypt-ruby (3.1.2)
1817
builder (3.0.4)
19-
database_cleaner (0.9.1)
20-
diff-lcs (1.2.2)
18+
database_cleaner (1.1.1)
19+
diff-lcs (1.2.4)
2120
factory_girl (4.2.0)
2221
activesupport (>= 3.0.0)
23-
i18n (0.6.1)
24-
json (1.7.7)
25-
metaclass (0.0.1)
26-
metasploit_data_models (0.16.6)
22+
fivemat (1.2.1)
23+
i18n (0.6.5)
24+
json (1.8.0)
25+
metasploit_data_models (0.16.9)
2726
activerecord (>= 3.2.13)
2827
activesupport
2928
pg
30-
mocha (0.13.3)
31-
metaclass (~> 0.0.1)
32-
msgpack (0.5.4)
29+
mini_portile (0.5.1)
30+
msgpack (0.5.5)
3331
multi_json (1.0.4)
3432
network_interface (0.0.1)
35-
nokogiri (1.5.9)
36-
packetfu (1.1.8)
33+
nokogiri (1.6.0)
34+
mini_portile (~> 0.5.0)
35+
packetfu (1.1.9)
3736
pcaprub (0.11.3)
38-
pg (0.15.1)
39-
rake (10.0.4)
40-
redcarpet (2.2.2)
37+
pg (0.16.0)
38+
rake (10.1.0)
39+
redcarpet (3.0.0)
4140
robots (0.10.1)
42-
rspec (2.13.0)
43-
rspec-core (~> 2.13.0)
44-
rspec-expectations (~> 2.13.0)
45-
rspec-mocks (~> 2.13.0)
46-
rspec-core (2.13.1)
47-
rspec-expectations (2.13.0)
41+
rspec (2.14.1)
42+
rspec-core (~> 2.14.0)
43+
rspec-expectations (~> 2.14.0)
44+
rspec-mocks (~> 2.14.0)
45+
rspec-core (2.14.5)
46+
rspec-expectations (2.14.2)
4847
diff-lcs (>= 1.1.3, < 2.0)
49-
rspec-mocks (2.13.0)
50-
shoulda-matchers (1.5.2)
48+
rspec-mocks (2.14.3)
49+
shoulda-matchers (2.3.0)
5150
activesupport (>= 3.0.0)
52-
bourne (~> 1.3)
5351
simplecov (0.5.4)
5452
multi_json (~> 1.0.3)
5553
simplecov-html (~> 0.5.3)
5654
simplecov-html (0.5.3)
57-
timecop (0.6.1)
55+
timecop (0.6.3)
5856
tzinfo (0.3.37)
59-
yard (0.8.5.2)
57+
yard (0.8.7)
6058

6159
PLATFORMS
6260
ruby
6361

6462
DEPENDENCIES
6563
activerecord
6664
activesupport (>= 3.0.0)
65+
bcrypt-ruby
6766
database_cleaner
6867
factory_girl (>= 4.1.0)
68+
fivemat (= 1.2.1)
6969
json
70-
metasploit_data_models (~> 0.16.6)
70+
metasploit_data_models (~> 0.16.9)
7171
msgpack
7272
network_interface (~> 0.0.1)
7373
nokogiri
74-
packetfu (= 1.1.8)
74+
packetfu (= 1.1.9)
7575
pcaprub
7676
pg (>= 0.11)
77-
rake
77+
rake (>= 10.0.0)
7878
redcarpet
7979
robots
8080
rspec (>= 2.12)

0 commit comments

Comments
 (0)