27 lines
450 B
Ruby
27 lines
450 B
Ruby
|
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(merge_info(info,
|
||
|
'Options' =>
|
||
|
[
|
||
|
Opt::RHOST,
|
||
|
Opt::RPORT(135)
|
||
|
]))
|
||
|
end
|
||
|
end
|
||
|
|
||
|
end
|