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.
2 parents 81182b4 + 04552d7 commit c3647aaCopy full SHA for c3647aa
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