Skip to content

Commit 36a3abe

Browse files
committed
Add a reference
1 parent 32ca702 commit 36a3abe

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

modules/post/windows/gather/enum_patches.rb

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,22 @@ class Metasploit3 < Msf::Post
2323

2424
def initialize(info={})
2525
super(update_info(info,
26-
'Name' => "Windows Enumerate Applied Patches",
26+
'Name' => "Windows Gather Applied Patches",
2727
'Description' => %q{
2828
This module will attempt to enumerate which patches are applied to a windows system
2929
based on the result of the WMI query: SELECT HotFixID FROM Win32_QuickFixEngineering
3030
},
3131
'License' => MSF_LICENSE,
3232
'Platform' => ['win'],
3333
'SessionTypes' => ['meterpreter'],
34-
'Author' => [
34+
'Author' =>
35+
[
3536
'zeroSteiner', # Original idea
3637
'mubix' # Post module
38+
],
39+
'References' =>
40+
[
41+
['URL', 'http://msdn.microsoft.com/en-us/library/aa394391(v=vs.85).aspx']
3742
]
3843
))
3944

@@ -65,6 +70,7 @@ def run
6570
return
6671
end
6772
kb_ids = objects[:values].map { |kb| kb[0] }
73+
print_debug(kb_ids.inspect)
6874
report_info(patches, kb_ids)
6975
else
7076
print_error "ExtAPI failed to load"

0 commit comments

Comments
 (0)