Skip to content

Commit 29cb4b1

Browse files
committed
Merge remote-tracking branch 'upstream/master' into xbmc
2 parents 2cdeca5 + 6ffe84e commit 29cb4b1

File tree

2,160 files changed

+44003
-13323
lines changed

Some content is hidden

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

2,160 files changed

+44003
-13323
lines changed

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,11 @@
66
.yardoc
77
# Mac OS X files
88
.DS_Store
9+
# simplecov coverage data
10+
coverage
911
data/meterpreter/ext_server_pivot.dll
1012
data/meterpreter/ext_server_pivot.x64.dll
11-
doc
13+
doc/
1214
external/source/meterpreter/java/bin
1315
external/source/meterpreter/java/build
1416
external/source/meterpreter/java/extensions
@@ -20,3 +22,4 @@ tags
2022
*.swp
2123
*.orig
2224
*.rej
25+
*~

.travis.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
language: ruby
2+
before_install:
3+
- sudo apt-get update -qq
4+
- sudo apt-get install -qq libpcap-dev
5+
6+
rvm:
7+
#- '1.8.7'
8+
- '1.9.3'
9+
10+
notifications:
11+
irc: "irc.freenode.org#msfnotify"
12+
13+
git:
14+
depth: 1

CONTRIBUTING.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Contributing to Metasploit
2+
3+
## Reporting Bugs
4+
5+
If you would like to report a bug, please take a look at [our Redmine
6+
issue
7+
tracker](https://dev.metasploit.com/redmine/projects/framework/issues?query_id=420)
8+
-- your bug may already have been reported there! Simply [searching](https://dev.metasploit.com/redmine/projects/framework/search) for some appropriate keywords may save everyone a lot of hassle.
9+
10+
If your bug is new and you'd like to report it you will need to
11+
[register
12+
first](https://dev.metasploit.com/redmine/account/register). Don't
13+
worry, it's easy and fun and takes about 30 seconds.
14+
15+
When you file a bug report, please inclue your **steps to reproduce**,
16+
full copy-pastes of Ruby stack traces, and any relevant details about
17+
your environment. Without repro steps, your bug will likely be closed.
18+
With repro steps, your bugs will likely be fixed.
19+
20+
## Contributing Metasploit Modules
21+
22+
If you have an exploit that you'd like to contribute to the Metasploit
23+
Framework, please familiarize yourself with the
24+
**[HACKING](https://github.com/rapid7/metasploit-framework/blob/master/HACKING)**
25+
document in the
26+
Metasploit-Framework repository. There are many mysteries revealed in
27+
HACKING concerning code style and content.
28+
29+
[Pull requests](https://github.com/rapid7/metasploit-framework/pulls)
30+
should corellate with modules at a 1:1 ratio
31+
-- there is rarely a good reason to have two, three, or ten modules on
32+
one pull request, as this dramatically increases the review time
33+
required to land (commit) any of those modules.
34+
35+
Pull requests tend to be very collaborative for Metasploit -- do not be
36+
surprised if your pull request to rapid7/metasploit-framework triggers a
37+
pull request back to your own fork. In this way, we can isolate working
38+
changes before landing your PR to the Metasploit master branch.

COPYING

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (C) 2006-2012, Rapid7 Inc.
1+
Copyright (C) 2006-2013, Rapid7 Inc.
22
All rights reserved.
33

44
Redistribution and use in source and binary forms, with or without modification,
@@ -32,22 +32,6 @@ The Metasploit Framework is provided under the 3-clause BSD license above.
3232

3333
The copyright on this package is held by Rapid7 LLC.
3434

35-
This license does not apply to the following components:
36-
- The Bit-Struct library located under lib/bit-struct
37-
- The OpenSSL library embedded into the Meterpreter payload binaries and the
38-
corresponding header files in the source tree
39-
- The Packet Sniffer SDK (MicroOLAP) library embedded into the Meterpreter
40-
Sniffer extension. HD Moore has a single-seat developer license.
41-
- The modified TightVNC binaries and their associated source code.
42-
- The Byakugan plugin located under external/source/byakugan
43-
- The Metasm library located under lib/metasm
44-
- The PcapRub library located under external/pcaprub
45-
- The Rabal library located under lib/rabal
46-
- The PacketFu library located under lib/packetfu
47-
- The Ruby-Lorcon library located under external/ruby-lorcon
48-
- The SNMP library located under lib/snmp
49-
- The Zip library located under lib/zip
50-
- The SSHKey library located under lib/sshkey
51-
52-
Details for the above packages can be found in the THIRD-PARTY file.
35+
This license does not apply to several components within the Metasploit
36+
Framework source tree. For more details see the LICENSE file.
5337

Gemfile

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,20 @@ source 'http://rubygems.org'
44
gem 'activesupport', '>= 3.0.0'
55
# Needed for Msf::DbManager
66
gem 'activerecord'
7+
# Needed for some admin modules (scrutinizer_add_user.rb)
8+
gem 'json'
79
# Database models shared between framework and Pro.
8-
gem 'metasploit_data_models', :git => 'git://github.com/rapid7/metasploit_data_models.git', :tag => '0.3.0'
10+
gem 'metasploit_data_models', :git => 'git://github.com/rapid7/metasploit_data_models.git', :tag => '0.4.0'
11+
# Needed by msfgui and other rpc components
12+
gem 'msgpack'
13+
# Needed by anemone crawler
14+
gem 'nokogiri'
915
# Needed for module caching in Mdm::ModuleDetails
1016
gem 'pg', '>= 0.11'
17+
# Needed by anemone crawler
18+
gem 'robots'
19+
# For sniffer and raw socket modules
20+
gem 'pcaprub'
1121

1222
group :development do
1323
# Markdown formatting for yard
@@ -23,5 +33,8 @@ end
2333

2434
group :test do
2535
# testing framework
26-
gem 'rspec'
36+
gem 'rspec', '>= 2.12'
37+
# code coverage for tests
38+
# any version newer than 0.5.4 gives an Encoding error when trying to read the source files.
39+
gem 'simplecov', '0.5.4', :require => false
2740
end

Gemfile.lock

Lines changed: 39 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,63 +1,78 @@
11
GIT
22
remote: git://github.com/rapid7/metasploit_data_models.git
3-
revision: 73f26789500f278dd6fd555e839d09a3b81a05f4
4-
tag: 0.3.0
3+
revision: 448c1065329efea1eac76a3897f626f122666743
4+
tag: 0.4.0
55
specs:
6-
metasploit_data_models (0.3.0)
7-
activerecord
6+
metasploit_data_models (0.4.0)
7+
activerecord (>= 3.2.10)
88
activesupport
99
pg
1010
pry
1111

1212
GEM
1313
remote: http://rubygems.org/
1414
specs:
15-
activemodel (3.2.8)
16-
activesupport (= 3.2.8)
15+
activemodel (3.2.11)
16+
activesupport (= 3.2.11)
1717
builder (~> 3.0.0)
18-
activerecord (3.2.8)
19-
activemodel (= 3.2.8)
20-
activesupport (= 3.2.8)
18+
activerecord (3.2.11)
19+
activemodel (= 3.2.11)
20+
activesupport (= 3.2.11)
2121
arel (~> 3.0.2)
2222
tzinfo (~> 0.3.29)
23-
activesupport (3.2.8)
23+
activesupport (3.2.11)
2424
i18n (~> 0.6)
2525
multi_json (~> 1.0)
2626
arel (3.0.2)
27-
builder (3.0.3)
27+
builder (3.0.4)
2828
coderay (1.0.8)
2929
diff-lcs (1.1.3)
3030
i18n (0.6.1)
31+
json (1.7.7)
3132
method_source (0.8.1)
32-
multi_json (1.3.6)
33+
msgpack (0.5.2)
34+
multi_json (1.0.4)
35+
nokogiri (1.5.6)
36+
pcaprub (0.11.3)
3337
pg (0.14.1)
3438
pry (0.9.10)
3539
coderay (~> 1.0.5)
3640
method_source (~> 0.8)
3741
slop (~> 3.3.1)
38-
rake (0.9.2.2)
39-
redcarpet (2.1.1)
40-
rspec (2.11.0)
41-
rspec-core (~> 2.11.0)
42-
rspec-expectations (~> 2.11.0)
43-
rspec-mocks (~> 2.11.0)
44-
rspec-core (2.11.1)
45-
rspec-expectations (2.11.3)
42+
rake (10.0.2)
43+
redcarpet (2.2.2)
44+
robots (0.10.1)
45+
rspec (2.12.0)
46+
rspec-core (~> 2.12.0)
47+
rspec-expectations (~> 2.12.0)
48+
rspec-mocks (~> 2.12.0)
49+
rspec-core (2.12.1)
50+
rspec-expectations (2.12.0)
4651
diff-lcs (~> 1.1.3)
47-
rspec-mocks (2.11.3)
52+
rspec-mocks (2.12.0)
53+
simplecov (0.5.4)
54+
multi_json (~> 1.0.3)
55+
simplecov-html (~> 0.5.3)
56+
simplecov-html (0.5.3)
4857
slop (3.3.3)
49-
tzinfo (0.3.33)
50-
yard (0.8.2.1)
58+
tzinfo (0.3.35)
59+
yard (0.8.3)
5160

5261
PLATFORMS
5362
ruby
5463

5564
DEPENDENCIES
5665
activerecord
5766
activesupport (>= 3.0.0)
67+
json
5868
metasploit_data_models!
69+
msgpack
70+
nokogiri
71+
pcaprub
5972
pg (>= 0.11)
6073
rake
6174
redcarpet
62-
rspec
75+
robots
76+
rspec (>= 2.12)
77+
simplecov (= 0.5.4)
6378
yard

0 commit comments

Comments
 (0)