Skip to content

Commit b2fe25a

Browse files
committed
Change domain color on trust enumeration
1 parent fdfafb6 commit b2fe25a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

nxc/protocols/ldap.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -874,7 +874,7 @@ def resolve_and_display_hostname(name, domain_name=None):
874874
self.logger.info(f"Found domain controllers for trusted domain {trust_name} via DNS:")
875875
for srv in srv_records:
876876
dc_hostname = str(srv.target).rstrip(".")
877-
self.logger.success(f"Found DC in trusted domain: {dc_hostname}")
877+
self.logger.success(f"Found DC in trusted domain: {colored(dc_hostname, host_info_colors[0], attrs=['bold'])}")
878878
self.logger.highlight(f"{trust_name} -> {direction_text} -> {trust_attributes_text}")
879879
resolve_and_display_hostname(dc_hostname)
880880
except Exception as e:

0 commit comments

Comments
 (0)