Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
rapid7
GitHub Repository: rapid7/metasploit-framework
Path: blob/master/modules/payloads/singles/tty/unix/interact.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::Single
10
11
def initialize(info = {})
12
super(
13
merge_info(
14
info,
15
'Name' => 'Unix TTY, Interact with Established Connection',
16
'Description' => 'Interacts with a TTY on an established socket connection',
17
'Author' => 'hdm',
18
'License' => MSF_LICENSE,
19
'Platform' => 'unix',
20
'Arch' => ARCH_TTY,
21
'Handler' => Msf::Handler::FindTty,
22
'Session' => Msf::Sessions::TTY,
23
'Payload' => {
24
'Offsets' => {},
25
'Payload' => ''
26
}
27
)
28
)
29
end
30
end
31
32