Path: blob/master/modules/payloads/singles/cmd/unix/interact.rb
21551 views
##1# This module requires Metasploit: https://metasploit.com/download2# Current source: https://github.com/rapid7/metasploit-framework3##45module MetasploitModule6CachedSize = 078include Msf::Payload::Single9include Msf::Sessions::CommandShellOptions1011def initialize(info = {})12super(13merge_info(14info,15'Name' => 'Unix Command, Interact with Established Connection',16'Description' => 'Interacts with a shell on an established socket connection',17'Author' => 'hdm',18'License' => MSF_LICENSE,19'Platform' => 'unix',20'Arch' => ARCH_CMD,21'Handler' => Msf::Handler::FindShell,22'Session' => Msf::Sessions::CommandShell,23'PayloadType' => 'cmd_interact',24'RequiredCmd' => 'generic',25'Payload' => {26'Offsets' => {},27'Payload' => ''28}29)30)31end32end333435