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 57395de commit 7aceb92Copy full SHA for 7aceb92
modules/post/windows/gather/credentials/gpp.rb
@@ -311,7 +311,7 @@ def enum_dcs(domain)
311
end
312
313
print_status("Enumerating DCs for #{domain} on the network...")
314
- results = net_server_enum(SV_TYPE_DOMAIN_CTRL || SV_TYPE_DOMAIN_BAKCTRL, domain)
+ results = net_server_enum(SV_TYPE_DOMAIN_CTRL | SV_TYPE_DOMAIN_BAKCTRL, domain)
315
316
if results.blank?
317
print_error("No Domain Controllers found for #{domain}")
0 commit comments