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/tty/unix/interact.rb
Views: 11780
1
##
2
# This module requires Metasploit: https://metasploit.com/download
3
# Current source: https://github.com/rapid7/metasploit-framework
4
##
5
6
7
module MetasploitModule
8
9
CachedSize = 0
10
11
include Msf::Payload::Single
12
13
def initialize(info = {})
14
super(merge_info(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
{
25
'Offsets' => { },
26
'Payload' => ''
27
}
28
))
29
end
30
end
31
32