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/generic/shell_reverse_tcp.rb
Views: 11766
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
8
CachedSize = 0
9
10
include Msf::Payload::Single
11
include Msf::Payload::Generic
12
13
def initialize(info = {})
14
super(merge_info(info,
15
'Name' => 'Generic Command Shell, Reverse TCP Inline',
16
'Description' => 'Connect back to attacker and spawn a command shell',
17
'Author' => 'skape',
18
'License' => MSF_LICENSE,
19
'Handler' => Msf::Handler::ReverseTcp,
20
'Session' => Msf::Sessions::CommandShell
21
))
22
end
23
end
24
25