Skip to content

Commit 288b39e

Browse files
author
Brent Cook
committed
update to mettle 0.0.6
1 parent 3987c2c commit 288b39e

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

Gemfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ PATH
1616
metasploit-model
1717
metasploit-payloads (= 1.1.13)
1818
metasploit_data_models
19-
metasploit_payloads-mettle
19+
metasploit_payloads-mettle (= 0.0.6)
2020
msgpack
2121
net-ssh
2222
network_interface
@@ -166,7 +166,7 @@ GEM
166166
postgres_ext
167167
railties (~> 4.2.6)
168168
recog (~> 2.0)
169-
metasploit_payloads-mettle (0.0.5)
169+
metasploit_payloads-mettle (0.0.6)
170170
method_source (0.8.2)
171171
mime-types (3.1)
172172
mime-types-data (~> 3.2015)

metasploit-framework.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Gem::Specification.new do |spec|
7272
# Needed for Meterpreter
7373
spec.add_runtime_dependency 'metasploit-payloads', '1.1.13'
7474
# Needed for the next-generation POSIX Meterpreter
75-
spec.add_runtime_dependency 'metasploit_payloads-mettle'
75+
spec.add_runtime_dependency 'metasploit_payloads-mettle', '0.0.6'
7676
# Needed by msfgui and other rpc components
7777
spec.add_runtime_dependency 'msgpack'
7878
# get list of network interfaces, like eth* from OS.

modules/payloads/stages/linux/armle/mettle.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
require 'msf/core'
77
require 'msf/base/sessions/meterpreter_armle_linux'
8+
require 'msf/base/sessions/meterpreter_options'
89
require 'rex/elfparsey'
910

1011
module MetasploitModule
@@ -79,6 +80,6 @@ def handle_intermediate_stage(conn, payload)
7980
end
8081

8182
def generate_stage(_opts = {})
82-
MetasploitPayloads::Mettle.read('arm-linux-musleabi', 'mettle.bin')
83+
MetasploitPayloads::Mettle.read('armv5l-linux-musleabi', 'mettle.bin')
8384
end
8485
end

0 commit comments

Comments
 (0)