Skip to content

Commit e9e5869

Browse files
committed
update from master
2 parents 493b81d + 39b8bcc commit e9e5869

File tree

3,035 files changed

+29012
-23393
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,035 files changed

+29012
-23393
lines changed

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ Gemfile.local.lock
77
.sublime-project
88
# RVM control file, keep this to avoid backdooring Metasploit
99
.rvmrc
10+
# Allow for a local choice of (unsupported / semi-supported) ruby versions
11+
# See PR #4136 for usage, but example usage for rvm:
12+
# rvm --create --versions-conf use 2.1.4@metasploit-framework
13+
# Because rbenv doesn't use .versions.conf, to achieve this same functionality, run:
14+
# rbenv shell 2.1.4
15+
.versions.conf
1016
# YARD cache directory
1117
.yardoc
1218
# Mac OS X files

.rspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
--color
22
--format Fivemat
3+
--require spec_helper

.ruby-version

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

.travis.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
env:
22
- RAKE_TASK=cucumber
33
- RAKE_TASK=cucumber:boot
4-
- RAKE_TASK=spec
4+
- RAKE_TASK=spec SPEC_OPTS="--tag content"
5+
- RAKE_TASK=spec SPEC_OPTS="--tag ~content"
56

67
language: ruby
78
before_install:
@@ -22,8 +23,8 @@ before_script:
2223
script: "bundle exec rake $RAKE_TASK"
2324

2425
rvm:
25-
#- '1.8.7'
2626
- '1.9.3'
27+
- '2.1'
2728

2829
notifications:
2930
irc: "irc.freenode.org#msfnotify"

COPYING

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (C) 2006-2013, Rapid7, Inc.
1+
Copyright (C) 2006-2014, Rapid7, Inc.
22
All rights reserved.
33

44
Redistribution and use in source and binary forms, with or without modification,

Gemfile

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,10 @@
11
source 'https://rubygems.org'
22
# Add default group gems to `metasploit-framework.gemspec`:
33
# spec.add_runtime_dependency '<name>', [<version requirements>]
4-
gemspec
4+
gemspec name: 'metasploit-framework'
55

66
group :db do
7-
# Needed for Msf::DbManager
8-
gem 'activerecord', '>= 3.0.0', '< 4.0.0'
9-
10-
# Metasploit::Credential database models
11-
gem 'metasploit-credential', '~> 0.12.0'
12-
# Database models shared between framework and Pro.
13-
gem 'metasploit_data_models', '~> 0.21.1'
14-
# Needed for module caching in Mdm::ModuleDetails
15-
gem 'pg', '>= 0.11'
7+
gemspec name: 'metasploit-framework-db'
168
end
179

1810
group :development do
@@ -43,9 +35,7 @@ group :development, :test do
4335
end
4436

4537
group :pcap do
46-
gem 'network_interface', '~> 0.0.1'
47-
# For sniffer and raw socket modules
48-
gem 'pcaprub'
38+
gemspec name: 'metasploit-framework-pcap'
4939
end
5040

5141
group :test do

Gemfile.lock

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,22 @@ PATH
1414
nokogiri
1515
packetfu (= 1.1.9)
1616
railties
17+
rb-readline
1718
recog (~> 1.0)
1819
robots
1920
rubyzip (~> 1.1)
2021
sqlite3
2122
tzinfo
23+
metasploit-framework-db (4.10.1.pre.dev)
24+
activerecord (< 4.0.0)
25+
metasploit-credential (~> 0.12.0)
26+
metasploit-framework (= 4.10.1.pre.dev)
27+
metasploit_data_models (~> 0.21.1)
28+
pg (>= 0.11)
29+
metasploit-framework-pcap (4.10.1.pre.dev)
30+
metasploit-framework (= 4.10.1.pre.dev)
31+
network_interface (~> 0.0.1)
32+
pcaprub
2233

2334
GEM
2435
remote: https://rubygems.org/
@@ -57,7 +68,7 @@ GEM
5768
childprocess (>= 0.3.6)
5869
cucumber (>= 1.1.1)
5970
rspec-expectations (>= 2.7.0)
60-
bcrypt (3.1.7)
71+
bcrypt (3.1.9)
6172
builder (3.0.4)
6273
capybara (2.4.1)
6374
mime-types (>= 1.16)
@@ -161,6 +172,7 @@ GEM
161172
rdoc (~> 3.4)
162173
thor (>= 0.14.6, < 2.0)
163174
rake (10.3.2)
175+
rb-readline (0.5.1)
164176
rdoc (3.12.2)
165177
json (~> 1.4)
166178
recog (1.0.0)
@@ -216,18 +228,14 @@ PLATFORMS
216228
ruby
217229

218230
DEPENDENCIES
219-
activerecord (>= 3.0.0, < 4.0.0)
220231
aruba
221232
cucumber-rails
222233
factory_girl (>= 4.1.0)
223234
factory_girl_rails
224235
fivemat (= 1.2.1)
225-
metasploit-credential (~> 0.12.0)
226236
metasploit-framework!
227-
metasploit_data_models (~> 0.21.1)
228-
network_interface (~> 0.0.1)
229-
pcaprub
230-
pg (>= 0.11)
237+
metasploit-framework-db!
238+
metasploit-framework-pcap!
231239
pry
232240
rake (>= 10.0.0)
233241
redcarpet

Rakefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/usr/bin/env rake
22
require File.expand_path('../config/application', __FILE__)
33
require 'metasploit/framework/require'
4+
require 'metasploit/framework/spec/untested_payloads'
45

56
# @note must be before `Metasploit::Framework::Application.load_tasks`
67
#
@@ -9,3 +10,4 @@ require 'metasploit/framework/require'
910
Metasploit::Framework::Require.optionally_active_record_railtie
1011

1112
Metasploit::Framework::Application.load_tasks
13+
Metasploit::Framework::Spec::UntestedPayloads.define_task
618 Bytes
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)