Skip to content

Commit 19ba777

Browse files
committed
Revert "Various merge resolutions from master <- staging"
This reverts commit 149c3ec. Conflicts: lib/metasploit/framework/command/base.rb lib/metasploit/framework/common_engine.rb lib/metasploit/framework/require.rb lib/msf/core/modules/namespace.rb modules/auxiliary/analyze/jtr_postgres_fast.rb modules/auxiliary/scanner/smb/smb_login.rb msfconsole
1 parent 48f0743 commit 19ba777

File tree

261 files changed

+18721
-17787
lines changed

Some content is hidden

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

261 files changed

+18721
-17787
lines changed

.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,6 @@ tags
4848
*.opensdf
4949
*.user
5050

51-
# Rails log directory
52-
/log
53-
5451
# ignore release/debug folders for exploits
5552
external/source/exploits/**/Debug
5653
external/source/exploits/**/Release

.rubocop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,4 @@ Style/StringLiterals:
5353

5454
Style/WordArray:
5555
Enabled: false
56-
Description: 'Metasploit prefers consistent use of []'
56+
Description: 'Metasploit prefers consistent use of []'

.yardopts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
--exclude \.ut\.rb/
44
--exclude \.ts\.rb/
55
--files CONTRIBUTING.md,COPYING,HACKING,LICENSE
6-
app/**/*.rb
76
lib/msf/**/*.rb
8-
lib/metasploit/**/*.rb
97
lib/rex/**/*.rb
108
plugins/**/*.rb

Gemfile

Lines changed: 34 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,66 @@
11
source 'https://rubygems.org'
2-
# Add default group gems to `metasploit-framework.gemspec`:
3-
# spec.add_runtime_dependency '<name>', [<version requirements>]
4-
gemspec
2+
3+
# Need 3+ for ActiveSupport::Concern
4+
gem 'activesupport', '>= 3.0.0', '< 4.0.0'
5+
# Needed for some admin modules (cfme_manageiq_evm_pass_reset.rb)
6+
gem 'bcrypt'
7+
# Needed for some admin modules (scrutinizer_add_user.rb)
8+
gem 'json'
9+
# Needed for Meterpreter on Windows, soon others.
10+
gem 'meterpreter_bins', '0.0.6'
11+
# Needed by msfgui and other rpc components
12+
gem 'msgpack'
13+
# Needed by anemone crawler
14+
gem 'nokogiri'
15+
# Needed by db.rb and Msf::Exploit::Capture
16+
gem 'packetfu', '1.1.9'
17+
# Needed by JSObfu
18+
gem 'rkelly-remix', '0.0.6'
19+
# Needed by anemone crawler
20+
gem 'robots'
21+
# Needed for some post modules
22+
gem 'sqlite3'
523

624
group :db do
725
# Needed for Msf::DbManager
826
gem 'activerecord', '>= 3.0.0', '< 4.0.0'
9-
# Metasploit::Credential database models
10-
gem 'metasploit-credential', '>= 0.8.6', '< 0.9'
1127
# Database models shared between framework and Pro.
12-
gem 'metasploit_data_models', '~> 0.19'
28+
gem 'metasploit_data_models', '0.17.0'
1329
# Needed for module caching in Mdm::ModuleDetails
1430
gem 'pg', '>= 0.11'
1531
end
1632

33+
group :pcap do
34+
gem 'network_interface', '~> 0.0.1'
35+
# For sniffer and raw socket modules
36+
gem 'pcaprub'
37+
end
38+
1739
group :development do
1840
# Markdown formatting for yard
1941
gem 'redcarpet'
2042
# generating documentation
2143
gem 'yard'
22-
# for development and testing purposes
23-
gem 'pry'
2444
end
2545

2646
group :development, :test do
2747
# supplies factories for producing model instance for specs
2848
# Version 4.1.0 or newer is needed to support generate calls without the
2949
# 'FactoryGirl.' in factory definitions syntax.
3050
gem 'factory_girl', '>= 4.1.0'
31-
# automatically include factories from spec/factories
32-
gem 'factory_girl_rails'
3351
# Make rspec output shorter and more useful
3452
gem 'fivemat', '1.2.1'
3553
# running documentation generation tasks and rspec tasks
3654
gem 'rake', '>= 10.0.0'
37-
# testing framework
38-
gem 'rspec', '>= 2.12', '< 3.0.0'
39-
# Define `rake spec`. Must be in development AND test so that its available by default as a rake test when the
40-
# environment is development
41-
gem 'rspec-rails' , '>= 2.12', '< 3.0.0'
42-
end
43-
44-
group :pcap do
45-
gem 'network_interface', '~> 0.0.1'
46-
# For sniffer and raw socket modules
47-
gem 'pcaprub'
4855
end
4956

5057
group :test do
58+
# Removes records from database created during tests. Can't use rspec-rails'
59+
# transactional fixtures because multiple connections are in use so
60+
# transactions won't work.
61+
gem 'database_cleaner'
62+
# testing framework
63+
gem 'rspec', '>= 2.12'
5164
gem 'shoulda-matchers'
5265
# code coverage for tests
5366
# any version newer than 0.5.4 gives an Encoding error when trying to read the source files.

Gemfile.local.example

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ end
2727

2828
# Create a custom group
2929
group :local do
30+
# Use pry to help view and interact with objects in the framework
31+
gem 'pry', '~> 0.9'
3032
# Use pry-debugger to step through code during development
3133
gem 'pry-debugger', '~> 0.2'
3234
# Add the lab gem so that the 'lab' plugin will work again

Gemfile.lock

Lines changed: 46 additions & 133 deletions
Original file line numberDiff line numberDiff line change
@@ -1,177 +1,90 @@
1-
PATH
2-
remote: .
3-
specs:
4-
metasploit-framework (4.10.1.pre.dev)
5-
actionpack (< 4.0.0)
6-
activesupport (>= 3.0.0, < 4.0.0)
7-
bcrypt
8-
json
9-
metasploit-model (~> 0.26.1)
10-
meterpreter_bins (= 0.0.6)
11-
msgpack
12-
nokogiri
13-
packetfu (= 1.1.9)
14-
railties
15-
rkelly-remix (= 0.0.6)
16-
robots
17-
rubyzip (~> 1.1)
18-
sqlite3
19-
tzinfo
20-
211
GEM
222
remote: https://rubygems.org/
233
specs:
24-
actionpack (3.2.19)
25-
activemodel (= 3.2.19)
26-
activesupport (= 3.2.19)
4+
activemodel (3.2.14)
5+
activesupport (= 3.2.14)
276
builder (~> 3.0.0)
28-
erubis (~> 2.7.0)
29-
journey (~> 1.0.4)
30-
rack (~> 1.4.5)
31-
rack-cache (~> 1.2)
32-
rack-test (~> 0.6.1)
33-
sprockets (~> 2.2.1)
34-
activemodel (3.2.19)
35-
activesupport (= 3.2.19)
36-
builder (~> 3.0.0)
37-
activerecord (3.2.19)
38-
activemodel (= 3.2.19)
39-
activesupport (= 3.2.19)
7+
activerecord (3.2.14)
8+
activemodel (= 3.2.14)
9+
activesupport (= 3.2.14)
4010
arel (~> 3.0.2)
4111
tzinfo (~> 0.3.29)
42-
activesupport (3.2.19)
12+
activesupport (3.2.14)
4313
i18n (~> 0.6, >= 0.6.4)
4414
multi_json (~> 1.0)
45-
arel (3.0.3)
46-
arel-helpers (2.0.1)
47-
activerecord (>= 3.1.0, < 5)
15+
arel (3.0.2)
4816
bcrypt (3.1.7)
4917
builder (3.0.4)
50-
coderay (1.1.0)
51-
diff-lcs (1.2.5)
52-
erubis (2.7.0)
53-
factory_girl (4.4.0)
18+
database_cleaner (1.1.1)
19+
diff-lcs (1.2.4)
20+
factory_girl (4.2.0)
5421
activesupport (>= 3.0.0)
55-
factory_girl_rails (4.4.1)
56-
factory_girl (~> 4.4.0)
57-
railties (>= 3.0.0)
5822
fivemat (1.2.1)
59-
hike (1.2.3)
60-
i18n (0.6.11)
61-
journey (1.0.4)
62-
json (1.8.1)
63-
metasploit-concern (0.1.1)
64-
activesupport (~> 3.0, >= 3.0.0)
65-
metasploit-credential (0.8.6)
66-
metasploit-concern (~> 0.1.0)
67-
metasploit-model (~> 0.26.1)
68-
metasploit_data_models (~> 0.19.4)
69-
pg
70-
rubyntlm
71-
rubyzip (~> 1.1)
72-
metasploit-model (0.26.1)
23+
i18n (0.6.5)
24+
json (1.8.0)
25+
metasploit_data_models (0.17.0)
26+
activerecord (>= 3.2.13)
7327
activesupport
74-
metasploit_data_models (0.19.4)
75-
activerecord (>= 3.2.13, < 4.0.0)
76-
activesupport
77-
arel-helpers
78-
metasploit-concern (~> 0.1.0)
79-
metasploit-model (~> 0.26.1)
8028
pg
8129
meterpreter_bins (0.0.6)
82-
method_source (0.8.2)
83-
mini_portile (0.6.0)
84-
msgpack (0.5.8)
30+
mini_portile (0.5.1)
31+
msgpack (0.5.5)
8532
multi_json (1.0.4)
8633
network_interface (0.0.1)
87-
nokogiri (1.6.3.1)
88-
mini_portile (= 0.6.0)
34+
nokogiri (1.6.0)
35+
mini_portile (~> 0.5.0)
8936
packetfu (1.1.9)
9037
pcaprub (0.11.3)
91-
pg (0.17.1)
92-
pry (0.10.0)
93-
coderay (~> 1.1.0)
94-
method_source (~> 0.8.1)
95-
slop (~> 3.4)
96-
rack (1.4.5)
97-
rack-cache (1.2)
98-
rack (>= 0.4)
99-
rack-ssl (1.3.4)
100-
rack
101-
rack-test (0.6.2)
102-
rack (>= 1.0)
103-
railties (3.2.19)
104-
actionpack (= 3.2.19)
105-
activesupport (= 3.2.19)
106-
rack-ssl (~> 1.3.2)
107-
rake (>= 0.8.7)
108-
rdoc (~> 3.4)
109-
thor (>= 0.14.6, < 2.0)
110-
rake (10.3.2)
111-
rdoc (3.12.2)
112-
json (~> 1.4)
113-
redcarpet (3.1.2)
38+
pg (0.16.0)
39+
rake (10.1.0)
40+
redcarpet (3.0.0)
11441
rkelly-remix (0.0.6)
11542
robots (0.10.1)
116-
rspec (2.99.0)
117-
rspec-core (~> 2.99.0)
118-
rspec-expectations (~> 2.99.0)
119-
rspec-mocks (~> 2.99.0)
120-
rspec-collection_matchers (1.0.0)
121-
rspec-expectations (>= 2.99.0.beta1)
122-
rspec-core (2.99.1)
123-
rspec-expectations (2.99.2)
43+
rspec (2.14.1)
44+
rspec-core (~> 2.14.0)
45+
rspec-expectations (~> 2.14.0)
46+
rspec-mocks (~> 2.14.0)
47+
rspec-core (2.14.5)
48+
rspec-expectations (2.14.2)
12449
diff-lcs (>= 1.1.3, < 2.0)
125-
rspec-mocks (2.99.2)
126-
rspec-rails (2.99.0)
127-
actionpack (>= 3.0)
128-
activemodel (>= 3.0)
129-
activesupport (>= 3.0)
130-
railties (>= 3.0)
131-
rspec-collection_matchers
132-
rspec-core (~> 2.99.0)
133-
rspec-expectations (~> 2.99.0)
134-
rspec-mocks (~> 2.99.0)
135-
rubyntlm (0.4.0)
136-
rubyzip (1.1.6)
137-
shoulda-matchers (2.6.2)
50+
rspec-mocks (2.14.3)
51+
shoulda-matchers (2.3.0)
52+
activesupport (>= 3.0.0)
13853
simplecov (0.5.4)
13954
multi_json (~> 1.0.3)
14055
simplecov-html (~> 0.5.3)
14156
simplecov-html (0.5.3)
142-
slop (3.6.0)
143-
sprockets (2.2.2)
144-
hike (~> 1.2)
145-
multi_json (~> 1.0)
146-
rack (~> 1.0)
147-
tilt (~> 1.1, != 1.3.0)
14857
sqlite3 (1.3.9)
149-
thor (0.19.1)
150-
tilt (1.4.1)
151-
timecop (0.7.1)
152-
tzinfo (0.3.40)
153-
yard (0.8.7.4)
58+
timecop (0.6.3)
59+
tzinfo (0.3.37)
60+
yard (0.8.7)
15461

15562
PLATFORMS
15663
ruby
15764

15865
DEPENDENCIES
15966
activerecord (>= 3.0.0, < 4.0.0)
67+
activesupport (>= 3.0.0, < 4.0.0)
68+
bcrypt
69+
database_cleaner
16070
factory_girl (>= 4.1.0)
161-
factory_girl_rails
16271
fivemat (= 1.2.1)
163-
metasploit-credential (>= 0.8.6, < 0.9)
164-
metasploit-framework!
165-
metasploit_data_models (~> 0.19)
72+
json
73+
metasploit_data_models (= 0.17.0)
74+
meterpreter_bins (= 0.0.6)
75+
msgpack
16676
network_interface (~> 0.0.1)
77+
nokogiri
78+
packetfu (= 1.1.9)
16779
pcaprub
16880
pg (>= 0.11)
169-
pry
17081
rake (>= 10.0.0)
17182
redcarpet
172-
rspec (>= 2.12, < 3.0.0)
173-
rspec-rails (>= 2.12, < 3.0.0)
83+
rkelly-remix (= 0.0.6)
84+
robots
85+
rspec (>= 2.12)
17486
shoulda-matchers
17587
simplecov (= 0.5.4)
88+
sqlite3
17689
timecop
17790
yard

0 commit comments

Comments
 (0)