Skip to content

Commit 7162765

Browse files
David Maloneybwatters-r7
authored andcommitted
load extapi in domain_hashdump
domain hashdump always needs to load extapi to work
1 parent ad98c9c commit 7162765

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

modules/post/windows/gather/credentials/domain_hashdump.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ class MetasploitModule < Msf::Post
1212
include Msf::Post::Windows::Priv
1313
include Msf::Post::Windows::ShadowCopy
1414
include Msf::Post::File
15+
include Msf::Post::Windows::ExtAPI
1516

1617
def initialize(info={})
1718
super(update_info(info,
@@ -115,6 +116,7 @@ def preconditions_met?
115116
unless session_compat?
116117
return false
117118
end
119+
load_extapi
118120
return true
119121
end
120122

0 commit comments

Comments
 (0)