metasploit-framework/lib/msf/core/exploit/dcerpc.rb

31 lines
498 B
Ruby
Raw Normal View History

require 'rex/proto/dcerpc'
module Msf
###
#
# DCERPC
# ------
#
# This mixin provides utility methods for interacting with a DCERPC service on
# a remote machine. These methods may generally be useful in the context of
# exploitation. This mixin extends the Tcp exploit mixin.
#
###
module Exploit::Remote::DCERPC
include Exploit::Remote::Tcp
def initialize(info = {})
super
register_options(
[
Opt::RHOST,
Opt::RPORT(135)
], Msf::Exploit::Remote::DCERPC)
end
end
end