Skip to content

Commit a34fe42

Browse files
committed
2 parents e65bee1 + ce5d3b1 commit a34fe42

File tree

440 files changed

+23743
-1729
lines changed

Some content is hidden

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

440 files changed

+23743
-1729
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
.bundle
2+
Gemfile.local
3+
Gemfile.local.lock
24
# Rubymine project directory
35
.idea
46
# Sublime Text project directory (not created by ST by default)

.mailmap

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ todb-r7 <todb-r7@github> Tod Beardsley <[email protected]>
1818
todb-r7 <todb-r7@github> Tod Beardsley <[email protected]>
1919
todb-r7 <todb-r7@github> Tod Beardsley <[email protected]>
2020
trosen-r7 <trosen-r7@github> Trevor Rosen <[email protected]>
21+
trosen-r7 <trosen-r7@github> Trevor Rosen <[email protected]>
2122
wchen-r7 <wchen-r7@github> sinn3r <[email protected]> # aka sinn3r
2223
wchen-r7 <wchen-r7@github> sinn3r <[email protected]>
2324
wchen-r7 <wchen-r7@github> Wei Chen <[email protected]>

.ruby-version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.9.3-p484
1+
1.9.3-p547

CONTRIBUTING.md

+1-1

Gemfile

+6-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
source 'https://rubygems.org'
22

33
# Need 3+ for ActiveSupport::Concern
4-
gem 'activesupport', '>= 3.0.0'
4+
gem 'activesupport', '>= 3.0.0', '< 4.0.0'
55
# Needed for some admin modules (cfme_manageiq_evm_pass_reset.rb)
66
gem 'bcrypt'
77
# Needed for some admin modules (scrutinizer_add_user.rb)
@@ -10,16 +10,18 @@ gem 'json'
1010
gem 'msgpack'
1111
# Needed by anemone crawler
1212
gem 'nokogiri'
13+
# Needed by db.rb and Msf::Exploit::Capture
14+
gem 'packetfu', '1.1.9'
1315
# Needed by JSObfu
1416
gem 'rkelly-remix', '0.0.6'
1517
# Needed by anemone crawler
1618
gem 'robots'
17-
# Needed by db.rb and Msf::Exploit::Capture
18-
gem 'packetfu', '1.1.9'
19+
# Needed for some post modules
20+
gem 'sqlite3'
1921

2022
group :db do
2123
# Needed for Msf::DbManager
22-
gem 'activerecord'
24+
gem 'activerecord', '>= 3.0.0', '< 4.0.0'
2325
# Database models shared between framework and Pro.
2426
gem 'metasploit_data_models', '~> 0.17.0'
2527
# Needed for module caching in Mdm::ModuleDetails

Gemfile.local.example

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
##
2+
# Example Gemfile.local file for Metasploit Framework
3+
#
4+
# The Gemfile.local file provides a way to use other gems that are not
5+
# included in the standard Gemfile provided with Metasploit.
6+
# This filename is included in Metasploit's .gitignore file, so local changes
7+
# to this file will not accidentally show up in future pull requests. This
8+
# example Gemfile.local includes all gems in Gemfile using instance_eval.
9+
# It also creates a new bundle group, 'local', to hold additional gems.
10+
#
11+
# This file will not be used by default within the framework. As such, one
12+
# must first install the custom Gemfile.local with bundle:
13+
# bundle install --gemfile Gemfile.local
14+
#
15+
# Note that msfupdate does not consider Gemfile.local when updating the
16+
# framework. If it is used, it may be necessary to run the above bundle
17+
# command after the update.
18+
#
19+
###
20+
21+
# Include the Gemfile included with the framework. This is very
22+
# important for picking up new gem dependencies.
23+
msf_gemfile = File.join(File.dirname(__FILE__), 'Gemfile')
24+
if File.readable?(msf_gemfile)
25+
instance_eval(File.read(msf_gemfile))
26+
end
27+
28+
# Create a custom group
29+
group :local do
30+
# Use pry to help view and interact with objects in the framework
31+
gem 'pry', '~> 0.9'
32+
# Use pry-debugger to step through code during development
33+
gem 'pry-debugger', '~> 0.2'
34+
# Add the lab gem so that the 'lab' plugin will work again
35+
gem 'lab', '~> 0.2.7'
36+
end

Gemfile.lock

+4-2
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ GEM
5353
multi_json (~> 1.0.3)
5454
simplecov-html (~> 0.5.3)
5555
simplecov-html (0.5.3)
56+
sqlite3 (1.3.9)
5657
timecop (0.6.3)
5758
tzinfo (0.3.37)
5859
yard (0.8.7)
@@ -61,8 +62,8 @@ PLATFORMS
6162
ruby
6263

6364
DEPENDENCIES
64-
activerecord
65-
activesupport (>= 3.0.0)
65+
activerecord (>= 3.0.0, < 4.0.0)
66+
activesupport (>= 3.0.0, < 4.0.0)
6667
bcrypt
6768
database_cleaner
6869
factory_girl (>= 4.1.0)
@@ -82,5 +83,6 @@ DEPENDENCIES
8283
rspec (>= 2.12)
8384
shoulda-matchers
8485
simplecov (= 0.5.4)
86+
sqlite3
8587
timecop
8688
yard

LICENSE

+4
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ Files: external/ruby-lorcon/*
3636
Copyright: 2005, dragorn and Joshua Wright
3737
License: LGPL-2.1
3838

39+
Files: external/source/exploits/IE11SandboxEscapes/*
40+
Copyright: James Forshaw, 2014
41+
License: GPLv3
42+
3943
Files: external/source/byakugan/*
4044
Copyright: Lurene Grenier, 2009
4145
License: BSD-3-clause

data/android/apk/AndroidManifest.xml

-48 Bytes
Binary file not shown.

data/android/apk/classes.dex

3.12 KB
Binary file not shown.
-3.01 KB
Binary file not shown.

data/android/apk/res/layout/main.xml

-700 Bytes
Binary file not shown.

data/android/apk/resources.arsc

-524 Bytes
Binary file not shown.
13.1 KB
Binary file not shown.
5.2 KB
Binary file not shown.

data/android/libs/x86/libndkstager.so

5.1 KB
Binary file not shown.

data/android/meterpreter.jar

692 Bytes
Binary file not shown.

data/android/metstage.jar

-142 Bytes
Binary file not shown.

data/android/shell.jar

0 Bytes
Binary file not shown.
163 KB
Binary file not shown.
5 KB
Binary file not shown.
106 KB
Binary file not shown.
3.45 KB
Binary file not shown.

data/exploits/CVE-2014-0515/Graph.swf

4.83 KB
Binary file not shown.
70.5 KB
Binary file not shown.
9.14 KB
Binary file not shown.

data/js/detect/os.js

+10-3
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ arch_armle = "armle";
2020
arch_x86 = "x86";
2121
arch_x86_64 = "x86_64";
2222
arch_ppc = "ppc";
23+
arch_mipsle = "mipsle";
2324

2425
window.os_detect = {};
2526

@@ -184,9 +185,15 @@ window.os_detect.getVersion = function(){
184185
} else if (platform.match(/arm/)) {
185186
// Android and maemo
186187
arch = arch_armle;
187-
if (navigator.userAgent.match(/android/i)) {
188-
os_flavor = 'Android';
189-
}
188+
} else if (platform.match(/x86/)) {
189+
arch = arch_x86;
190+
} else if (platform.match(/mips/)) {
191+
arch = arch_mipsle;
192+
}
193+
194+
195+
if (navigator.userAgent.match(/android/i)) {
196+
os_flavor = 'Android';
190197
}
191198
} else if (platform.match(/windows/)) {
192199
os_name = oses_windows;

data/meterpreter/common.lib

100755100644
3.77 KB
Binary file not shown.

data/meterpreter/elevator.x64.dll

100755100644
0 Bytes
Binary file not shown.

data/meterpreter/elevator.x86.dll

100755100644
0 Bytes
Binary file not shown.

data/meterpreter/ext_server_espia.x64.dll

100755100644
0 Bytes
Binary file not shown.

data/meterpreter/ext_server_espia.x86.dll

100755100644
0 Bytes
Binary file not shown.

data/meterpreter/ext_server_extapi.x64.dll

100755100644
-512 Bytes
Binary file not shown.

data/meterpreter/ext_server_extapi.x86.dll

100755100644
0 Bytes
Binary file not shown.

data/meterpreter/ext_server_incognito.x64.dll

100755100644
0 Bytes
Binary file not shown.

data/meterpreter/ext_server_incognito.x86.dll

100755100644
0 Bytes
Binary file not shown.
278 KB
Binary file not shown.
240 KB
Binary file not shown.

data/meterpreter/ext_server_lanattacks.x64.dll

100755100644
0 Bytes
Binary file not shown.

data/meterpreter/ext_server_lanattacks.x86.dll

100755100644
0 Bytes
Binary file not shown.

data/meterpreter/ext_server_mimikatz.x64.dll

100755100644
0 Bytes
Binary file not shown.

data/meterpreter/ext_server_mimikatz.x86.dll

100755100644
0 Bytes
Binary file not shown.

data/meterpreter/ext_server_priv.x64.dll

100755100644
0 Bytes
Binary file not shown.

data/meterpreter/ext_server_priv.x86.dll

100755100644
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
-6.5 KB
Binary file not shown.
0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)