Skip to content

Commit e4d3888

Browse files
committed
Land rapid7#5076, GPP Bitwise OR correction
2 parents 8ce7671 + 7aceb92 commit e4d3888

File tree

1 file changed

+1
-1
lines changed
  • modules/post/windows/gather/credentials

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ def enum_dcs(domain)
311311
end
312312

313313
print_status("Enumerating DCs for #{domain} on the network...")
314-
results = net_server_enum(SV_TYPE_DOMAIN_CTRL || SV_TYPE_DOMAIN_BAKCTRL, domain)
314+
results = net_server_enum(SV_TYPE_DOMAIN_CTRL | SV_TYPE_DOMAIN_BAKCTRL, domain)
315315

316316
if results.blank?
317317
print_error("No Domain Controllers found for #{domain}")

0 commit comments

Comments
 (0)