adjust timeout for shadowcopy
WMIC defaults to 10 sec timeout but shadowcopy often needs longer.bug/bundler_fix
parent
43715eeb7f
commit
72c6b995de
|
@ -13,6 +13,14 @@ module ShadowCopy
|
||||||
include Msf::Post::Windows::Services
|
include Msf::Post::Windows::Services
|
||||||
include Msf::Post::Windows::WMIC
|
include Msf::Post::Windows::WMIC
|
||||||
|
|
||||||
|
def initialize(info = {})
|
||||||
|
super
|
||||||
|
|
||||||
|
register_options([
|
||||||
|
OptInt.new("TIMEOUT", [ true, "Timeout for WMI command in seconds", 60 ])
|
||||||
|
], self.class)
|
||||||
|
end
|
||||||
|
|
||||||
#
|
#
|
||||||
# Get the device name for the shadow copy, which is used when accessing
|
# Get the device name for the shadow copy, which is used when accessing
|
||||||
# files on the volume.
|
# files on the volume.
|
||||||
|
|
Loading…
Reference in New Issue