Skip to content

Commit 8177de2

Browse files
committed
Remove artifacts related to undesired SMB Guest recon functionality
1 parent f15bafc commit 8177de2

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

nxc/data/nxc.conf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ audit_mode =
77
reveal_chars_of_pwd = 0
88
log_mode = False
99
host_info_colors = ["green", "red", "yellow", "cyan"]
10-
check_guest_account = False
1110

1211
[BloodHound]
1312
bh_enabled = False

nxc/protocols/smb.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -299,8 +299,7 @@ def print_host_info(self):
299299
smbv1 = colored(f"SMBv1:{self.smbv1}", host_info_colors[2], attrs=["bold"]) if self.smbv1 else colored(f"SMBv1:{self.smbv1}", host_info_colors[3], attrs=["bold"])
300300
ntlm = colored(f" (NTLM:{not self.no_ntlm})", host_info_colors[2], attrs=["bold"]) if self.no_ntlm else ""
301301
null_auth = colored(f" (Null Auth:{self.null_auth})", host_info_colors[2], attrs=["bold"]) if self.null_auth else ""
302-
guest = colored(f" (Guest Auth:{self.is_guest})", host_info_colors[1], attrs=["bold"]) if self.is_guest else ""
303-
self.logger.display(f"{self.server_os}{f' x{self.os_arch}' if self.os_arch else ''} (name:{self.hostname}) (domain:{self.targetDomain}) ({signing}) ({smbv1}){ntlm}{null_auth}{guest}")
302+
self.logger.display(f"{self.server_os}{f' x{self.os_arch}' if self.os_arch else ''} (name:{self.hostname}) (domain:{self.targetDomain}) ({signing}) ({smbv1}){ntlm}{null_auth}")
304303

305304
if self.args.generate_hosts_file or self.args.generate_krb5_file:
306305
if self.args.generate_hosts_file:

0 commit comments

Comments
 (0)