We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58d9820 commit 04552d7Copy full SHA for 04552d7
modules/post/windows/gather/enum_domains.rb
@@ -23,6 +23,7 @@ def initialize(info={})
23
24
def run
25
domains = net_server_enum(SV_TYPE_DOMAIN_ENUM)
26
+ return if domains.nil?
27
28
domains.each do |domain|
29
print_status("Enumerating DCs for #{domain[:name]}")
0 commit comments