Skip to content

Commit

Permalink
Merge pull request #2 from jvazquez-r7/pr_2536
Browse files Browse the repository at this point in the history
Synchronize rapid7#2536
  • Loading branch information
ddouhine committed Oct 17, 2013
2 parents b03783b + 7f6dada commit 092fddb
Show file tree
Hide file tree
Showing 6,786 changed files with 583,411 additions and 986,890 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
11 changes: 6 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
.bundle
# Rubymine project directory
.idea
# Portable ruby version files for rvm
.ruby-gemset
.ruby-version
# RVM control file
# Sublime Text project directory (not created by ST by default)
.sublime-project
# RVM control file, keep this to avoid backdooring Metasploit
.rvmrc
# YARD cache directory
.yardoc
Expand All @@ -14,7 +13,7 @@
config/database.yml
# simplecov coverage data
coverage
data/meterpreter/ext_server_pivot.dll
data/meterpreter/ext_server_pivot.x86.dll
data/meterpreter/ext_server_pivot.x64.dll
doc/
external/source/meterpreter/java/bin
Expand All @@ -40,3 +39,5 @@ tags
*.orig
*.rej
*~
# Ignore backups of retabbed files
*.notab
38 changes: 23 additions & 15 deletions .mailmap
Original file line number Diff line number Diff line change
@@ -1,48 +1,53 @@
bperry-r7 <bperry-r7@github> Brandon Perry <[email protected]>
bperry-r7 <bperry-r7@github> Brandon Perry <bperry@bperry-rapid7.(none)>
bturner-r7 <bturner-r7@github> Brandon Turner <[email protected]>
dmaloney-r7 <dmaloney-r7@github> David Maloney <[email protected]> # aka TheLightCosine
dmaloney-r7 <dmaloney-r7@github> David Maloney <[email protected]>
dmaloney-r7 <dmaloney-r7@github> David Maloney <[email protected]> # aka TheLightCosine
ecarey-r7 <ecarey-r7@github> Erran Carey <[email protected]>
hmoore-r7 <hmoore-r7@github> HD Moore <[email protected]>
hmoore-r7 <hmoore-r7@github> HD Moore <[email protected]>
jlee-r7 <jlee-r7@github> James Lee <[email protected]>
jlee-r7 <jlee-r7@github> James Lee <[email protected]> # aka egypt
jlee-r7 <jlee-r7@github> egypt <[email protected]> # aka egypt
jlee-r7 <jlee-r7@github> James Lee <[email protected]> # aka egypt
jlee-r7 <jlee-r7@github> James Lee <[email protected]>
joev-r7 <joev-r7@github> joev <[email protected]>
joev-r7 <joev-r7@github> Joe Vennix <[email protected]>
jvazquez-r7 <jvazquez-r7@github> jvazquez-r7 <[email protected]>
limhoff-r7 <limhoff-r7@github> Luke Imhoff <[email protected]>
shuckins-r7 <shuckins-r7@github> Samuel Huckins <[email protected]>
tasos-r7 <tasos-r7@github> Tasos Laskos <[email protected]>
todb-r7 <todb-r7@github> Tod Beardsley <[email protected]>
todb-r7 <todb-r7@github> Tod Beardsley <[email protected]>
wchen-r7 <wchen-r7@github> Wei Chen <[email protected]>
wchen-r7 <wchen-r7@github> sinn3r <[email protected]> # aka sinn3r
wchen-r7 <wchen-r7@github> sinn3r <[email protected]>
wchen-r7 <wchen-r7@github> Wei Chen <[email protected]>
wvu-r7 <wvu-r7@github> William Vu <[email protected]>
wvu-r7 <wvu-r7@github> William Vu <[email protected]>

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

ChrisJohnRiley <ChrisJohnRiley@github> Chris John Riley <[email protected]>
ChrisJohnRiley <ChrisJohnRiley@github> Chris John Riley <[email protected]>
FireFart <FireFart@github> Christian Mehlmauer <[email protected]>
Meatballs1 <Meatballs1@github> Ben Campbell <[email protected]>
Meatballs1 <Meatballs1@github> Meatballs <[email protected]>
Meatballs1 <Meatballs1@github> Meatballs1 <[email protected]>
bannedit <bannedit@github> David Rude <[email protected]>
Brandon Perry <brandonprry@github> Brandon Perry <[email protected]>
Brandon Perry <brandonprry@github> Brandon Perry <bperry@bperry-rapid7.(none)>
Brian Wallace <bwall@github> (B)rian (Wall)ace <[email protected]>
Brian Wallace <bwall@github> Brian Wallace <[email protected]>
ceballosm <ceballosm@github> Mario Ceballos <[email protected]>
corelanc0d3er <corelanc0d3er@github> Peter Van Eeckhoutte (corelanc0d3r) <[email protected]>
Chao-mu <Chao-Mu@github> Chao Mu <[email protected]>
Chao-mu <Chao-Mu@github> chao-mu <[email protected]>
Chao-mu <Chao-Mu@github> chao-mu <chao@confusion.(none)>
ChrisJohnRiley <ChrisJohnRiley@github> Chris John Riley <[email protected]>
ChrisJohnRiley <ChrisJohnRiley@github> Chris John Riley <[email protected]>
corelanc0d3er <corelanc0d3er@github> corelanc0d3r <[email protected]>
corelanc0d3er <corelanc0d3er@github> Peter Van Eeckhoutte (corelanc0d3r) <[email protected]>
darkoperator <darkoperator@github> Carlos Perez <[email protected]>
efraintorres <efraintorres@github> efraintorres <[email protected]>
efraintorres <efraintorres@github> et <>
fab <fab@???> fab <> # fab at revhosts.net (Fabrice MOURRON)
h0ng10 <h0ng10@github> Hans-Martin Münch <hansmartin.muench@googlemail.com>
FireFart <FireFart@github> Christian Mehlmauer <firefart@gmail.com>
h0ng10 <h0ng10@github> h0ng10 <[email protected]>
h0ng10 <h0ng10@github> Hans-Martin Münch <[email protected]>
jcran <jcran@github> Jonathan Cran <[email protected]>
jcran <jcran@github> Jonathan Cran <[email protected]>
jduck <jduck@github> Joshua Drake <[email protected]>
Expand All @@ -54,6 +59,9 @@ kris <kris@???> kris <>
m-1-k-3 <m-1-k-3@github> m-1-k-3 <[email protected]>
m-1-k-3 <m-1-k-3@github> m-1-k-3 <[email protected]>
m-1-k-3 <m-1-k-3@github> m-1-k-3 <[email protected]>
Meatballs1 <Meatballs1@github> Ben Campbell <[email protected]>
Meatballs1 <Meatballs1@github> Meatballs <[email protected]>
Meatballs1 <Meatballs1@github> Meatballs1 <[email protected]>
mubix <mubix@github> Rob Fuller <[email protected]>
nevdull77 <nevdull77@github> Patrik Karlsson <[email protected]>
nmonkee <nmonkee@github> nmonkee <[email protected]>
Expand Down
1 change: 1 addition & 0 deletions .ruby-gemset
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
metasploit-framework
1 change: 1 addition & 0 deletions .ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1.9.3-p448
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ notifications:
irc: "irc.freenode.org#msfnotify"

git:
depth: 1
depth: 5
6 changes: 6 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,9 @@ Pull requests tend to be very collaborative for Metasploit -- do not be
surprised if your pull request to rapid7/metasploit-framework triggers a
pull request back to your own fork. In this way, we can isolate working
changes before landing your PR to the Metasploit master branch.

To save yourself the embarrassment of committing common errors, you will
want to symlink the `msftidy.rb` utility to your pre-commit hooks by
running `ln -s ../../tools/dev/pre-commit-hook.rb .git/hooks/pre-commit`
from the top-level directory of your metasploit-framework clone. This
will prevent you from committing modules that raise WARNINGS or ERRORS.
4 changes: 2 additions & 2 deletions COPYING
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ are permitted provided that the following conditions are met:
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

* Neither the name of Rapid7 LLC nor the names of its contributors
* Neither the name of Rapid7, Inc. nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.

Expand All @@ -30,7 +30,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

The Metasploit Framework is provided under the 3-clause BSD license above.

The copyright on this package is held by Rapid7 LLC.
The copyright on this package is held by Rapid7, Inc.

This license does not apply to several components within the Metasploit
Framework source tree. For more details see the LICENSE file.
Expand Down
12 changes: 7 additions & 5 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
source 'http://rubygems.org'
source 'https://rubygems.org'

# Need 3+ for ActiveSupport::Concern
gem 'activesupport', '>= 3.0.0'
Expand All @@ -10,17 +10,20 @@ gem 'msgpack'
gem 'nokogiri'
# Needed by anemone crawler
gem 'robots'
# Needed by db.rb and Msf::Exploit::Capture
gem 'packetfu', '1.1.9'

group :db do
# Needed for Msf::DbManager
gem 'activerecord'
# Database models shared between framework and Pro.
gem 'metasploit_data_models', '~> 0.14.3'
gem 'metasploit_data_models', '~> 0.16.6'
# Needed for module caching in Mdm::ModuleDetails
gem 'pg', '>= 0.11'
end

group :pcap do
gem 'network_interface', '~> 0.0.1'
# For sniffer and raw socket modules
gem 'pcaprub'
end
Expand All @@ -38,7 +41,7 @@ group :development, :test do
# 'FactoryGirl.' in factory definitions syntax.
gem 'factory_girl', '>= 4.1.0'
# running documentation generation tasks and rspec tasks
gem 'rake'
gem 'rake', '>= 10.0.0'
end

group :test do
Expand All @@ -48,11 +51,10 @@ group :test do
gem 'database_cleaner'
# testing framework
gem 'rspec', '>= 2.12'
# add matchers from shoulda, such as query_the_database, which is useful for
# testing that the Msf::DBManager activation is respected.
gem 'shoulda-matchers'
# code coverage for tests
# any version newer than 0.5.4 gives an Encoding error when trying to read the source files.
# see: https://github.com/colszowka/simplecov/issues/127 (hopefully fixed in 0.8.0)
gem 'simplecov', '0.5.4', :require => false
# Manipulate Time.now in specs
gem 'timecop'
Expand Down
72 changes: 36 additions & 36 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,60 +1,58 @@
GEM
remote: http://rubygems.org/
remote: https://rubygems.org/
specs:
activemodel (3.2.13)
activesupport (= 3.2.13)
activemodel (3.2.14)
activesupport (= 3.2.14)
builder (~> 3.0.0)
activerecord (3.2.13)
activemodel (= 3.2.13)
activesupport (= 3.2.13)
activerecord (3.2.14)
activemodel (= 3.2.14)
activesupport (= 3.2.14)
arel (~> 3.0.2)
tzinfo (~> 0.3.29)
activesupport (3.2.13)
i18n (= 0.6.1)
activesupport (3.2.14)
i18n (~> 0.6, >= 0.6.4)
multi_json (~> 1.0)
arel (3.0.2)
bourne (1.4.0)
mocha (~> 0.13.2)
builder (3.0.4)
database_cleaner (0.9.1)
diff-lcs (1.2.2)
database_cleaner (1.1.1)
diff-lcs (1.2.4)
factory_girl (4.2.0)
activesupport (>= 3.0.0)
i18n (0.6.1)
json (1.7.7)
metaclass (0.0.1)
metasploit_data_models (0.14.3)
i18n (0.6.5)
json (1.8.0)
metasploit_data_models (0.16.6)
activerecord (>= 3.2.13)
activesupport
pg
mocha (0.13.3)
metaclass (~> 0.0.1)
msgpack (0.5.4)
mini_portile (0.5.1)
msgpack (0.5.5)
multi_json (1.0.4)
nokogiri (1.5.9)
network_interface (0.0.1)
nokogiri (1.6.0)
mini_portile (~> 0.5.0)
packetfu (1.1.9)
pcaprub (0.11.3)
pg (0.15.1)
rake (10.0.4)
redcarpet (2.2.2)
pg (0.16.0)
rake (10.1.0)
redcarpet (3.0.0)
robots (0.10.1)
rspec (2.13.0)
rspec-core (~> 2.13.0)
rspec-expectations (~> 2.13.0)
rspec-mocks (~> 2.13.0)
rspec-core (2.13.1)
rspec-expectations (2.13.0)
rspec (2.14.1)
rspec-core (~> 2.14.0)
rspec-expectations (~> 2.14.0)
rspec-mocks (~> 2.14.0)
rspec-core (2.14.5)
rspec-expectations (2.14.2)
diff-lcs (>= 1.1.3, < 2.0)
rspec-mocks (2.13.0)
shoulda-matchers (1.5.2)
rspec-mocks (2.14.3)
shoulda-matchers (2.3.0)
activesupport (>= 3.0.0)
bourne (~> 1.3)
simplecov (0.5.4)
multi_json (~> 1.0.3)
simplecov-html (~> 0.5.3)
simplecov-html (0.5.3)
timecop (0.6.1)
timecop (0.6.3)
tzinfo (0.3.37)
yard (0.8.5.2)
yard (0.8.7)

PLATFORMS
ruby
Expand All @@ -65,12 +63,14 @@ DEPENDENCIES
database_cleaner
factory_girl (>= 4.1.0)
json
metasploit_data_models (~> 0.14.3)
metasploit_data_models (~> 0.16.6)
msgpack
network_interface (~> 0.0.1)
nokogiri
packetfu (= 1.1.9)
pcaprub
pg (>= 0.11)
rake
rake (>= 10.0.0)
redcarpet
robots
rspec (>= 2.12)
Expand Down
11 changes: 6 additions & 5 deletions HACKING
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ Code Style
In order to maintain consistency and readability, we ask that you
adhere to the following style guidelines:

- Hard tabs, not spaces
- Try to keep your lines under 100 columns (assuming four-space tabs)
- Standard Ruby two-space soft tabs, not hard tabs.
- Try to keep your lines under 100 columns (assuming two-space tabs)
- do; end instead of {} for a block
- Always use str[0,1] instead of str[0]
(This avoids a known ruby 1.8/1.9 incompatibility.)
Expand All @@ -37,9 +37,10 @@ need user input, you can either register an option or expose an
interactive session type specific for the type of exploit.

3. Don't use "sleep". It has been known to cause issues with
multi-threaded programs on various platforms. Instead, we use
"select(nil, nil, nil, <time>)" throughout the framework. We have
found this works around the underlying issue.
multi-threaded programs on various platforms running an older version of
Ruby such as 1.8. Instead, we use "select(nil, nil, nil, <time>)" or
Rex.sleep() throughout the framework. We have found this works around
the underlying issue.

4. Always use Rex sockets, not ruby sockets. This includes
third-party libraries such as Net::Http. There are several very good
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ pull request. For slightly more info, see
[Contributing](https://github.com/rapid7/metasploit-framework/blob/master/CONTRIBUTING.md).


[wiki-devenv]: https://github.com/rapid7/metasploit-framework/wiki/Metasploit-Development-Environment "Metasploit Development Environment Setup"
[wiki-devenv]: https://github.com/rapid7/metasploit-framework/wiki/Setting-Up-a-Metasploit-Development-Environment "Metasploit Development Environment Setup"
[wiki-start]: https://github.com/rapid7/metasploit-framework/wiki/ "Metasploit Wiki"
[wiki-usage]: https://github.com/rapid7/metasploit-framework/wiki/Using-Metasploit "Using Metasploit"
[unleashed]: http://www.offensive-security.com/metasploit-unleashed/ "Metasploit Unleashed"
Expand Down
Binary file added data/android/apk/AndroidManifest.xml
Binary file not shown.
Binary file added data/android/apk/classes.dex
Binary file not shown.
Binary file added data/android/apk/res/drawable-mdpi/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data/android/apk/res/layout/main.xml
Binary file not shown.
Binary file added data/android/apk/resources.arsc
Binary file not shown.
Binary file added data/android/meterpreter.jar
Binary file not shown.
Binary file added data/android/metstage.jar
Binary file not shown.
Binary file added data/android/shell.jar
Binary file not shown.
Binary file added data/exploits/CVE-2013-2171.bin
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added data/exploits/CVE-2013-2465/Exploit.class
Binary file not shown.
Loading

0 comments on commit 092fddb

Please sign in to comment.