2005-07-17 08:24:30 +00:00
|
|
|
require 'rex/proto/dcerpc'
|
|
|
|
|
2005-06-05 05:42:43 +00:00
|
|
|
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
|
|
|
|
|
2005-06-05 06:07:18 +00:00
|
|
|
def initialize(info = {})
|
2005-06-05 23:45:58 +00:00
|
|
|
super
|
|
|
|
|
|
|
|
register_options(
|
|
|
|
[
|
|
|
|
Opt::RHOST,
|
|
|
|
Opt::RPORT(135)
|
|
|
|
], Msf::Exploit::Remote::DCERPC)
|
2005-06-05 05:42:43 +00:00
|
|
|
end
|
2005-06-05 08:38:24 +00:00
|
|
|
|
2005-06-05 05:42:43 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
end
|