Skip to content

Commit 8b63d3d

Browse files
author
Tod Beardsley
committed
Revert the revert of rapid7#3446
This reverts commit 9b35b0e. This should not land on master until the Metasploit Pro folks (@trosen-r7 and friends) get their Meterpreter path specifications working the same way as Framework's does.
1 parent a60dfda commit 8b63d3d

37 files changed

+194
-18
lines changed

.gitignore

Lines changed: 31 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ Gemfile.local.lock
1515
config/database.yml
1616
# simplecov coverage data
1717
coverage
18-
data/meterpreter/ext_server_pivot.x86.dll
19-
data/meterpreter/ext_server_pivot.x64.dll
2018
doc/
2119
external/source/meterpreter/java/bin
2220
external/source/meterpreter/java/build
@@ -53,3 +51,34 @@ tags
5351
# ignore release/debug folders for exploits
5452
external/source/exploits/**/Debug
5553
external/source/exploits/**/Release
54+
55+
# Avoid checking in Meterpreter binaries. These are supplied upstream by
56+
# the meterpreter_bins gem.
57+
data/meterpreter/elevator.x64.dll
58+
data/meterpreter/elevator.x86.dll
59+
data/meterpreter/ext_server_espia.x64.dll
60+
data/meterpreter/ext_server_espia.x86.dll
61+
data/meterpreter/ext_server_extapi.x64.dll
62+
data/meterpreter/ext_server_extapi.x86.dll
63+
data/meterpreter/ext_server_incognito.x64.dll
64+
data/meterpreter/ext_server_incognito.x86.dll
65+
data/meterpreter/ext_server_kiwi.x64.dll
66+
data/meterpreter/ext_server_kiwi.x86.dll
67+
data/meterpreter/ext_server_lanattacks.x64.dll
68+
data/meterpreter/ext_server_lanattacks.x86.dll
69+
data/meterpreter/ext_server_mimikatz.x64.dll
70+
data/meterpreter/ext_server_mimikatz.x86.dll
71+
data/meterpreter/ext_server_priv.x64.dll
72+
data/meterpreter/ext_server_priv.x86.dll
73+
data/meterpreter/ext_server_stdapi.x64.dll
74+
data/meterpreter/ext_server_stdapi.x86.dll
75+
data/meterpreter/metsrv.x64.dll
76+
data/meterpreter/metsrv.x86.dll
77+
data/meterpreter/screenshot.x64.dll
78+
data/meterpreter/screenshot.x86.dll
79+
80+
# Avoid checking in Meterpreter libs that are built from
81+
# private source. If you're interested in this functionality,
82+
# check out Metasploit Pro: http://metasploit.com/download
83+
data/meterpreter/ext_server_pivot.x86.dll
84+
data/meterpreter/ext_server_pivot.x64.dll

Gemfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ gem 'activesupport', '>= 3.0.0', '< 4.0.0'
66
gem 'bcrypt'
77
# Needed for some admin modules (scrutinizer_add_user.rb)
88
gem 'json'
9+
# Needed for Meterpreter on Windows, soon others.
10+
gem 'meterpreter_bins', '0.0.6'
911
# Needed by msfgui and other rpc components
1012
gem 'msgpack'
1113
# Needed by anemone crawler

Gemfile.lock

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ GEM
2626
activerecord (>= 3.2.13)
2727
activesupport
2828
pg
29+
meterpreter_bins (0.0.6)
2930
mini_portile (0.5.1)
3031
msgpack (0.5.5)
3132
multi_json (1.0.4)
@@ -70,6 +71,7 @@ DEPENDENCIES
7071
fivemat (= 1.2.1)
7172
json
7273
metasploit_data_models (~> 0.17.0)
74+
meterpreter_bins (= 0.0.6)
7375
msgpack
7476
network_interface (~> 0.0.1)
7577
nokogiri

data/meterpreter/elevator.x64.dll

-88.5 KB
Binary file not shown.

data/meterpreter/elevator.x86.dll

-76.5 KB
Binary file not shown.
-199 KB
Binary file not shown.
-199 KB
Binary file not shown.
-144 KB
Binary file not shown.
-122 KB
Binary file not shown.
-104 KB
Binary file not shown.

0 commit comments

Comments
 (0)