We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3333781 commit 7106a25Copy full SHA for 7106a25
1 file changed
nxc/protocols/smb.py
@@ -36,7 +36,7 @@
36
from impacket.smb3structs import FILE_READ_ATTRIBUTES, FILE_DIRECTORY_FILE, FILE_OPEN
37
from impacket.dcerpc.v5 import tsts as TSTS
38
39
-from nxc.config import process_secret, host_info_colors
+from nxc.config import process_secret, host_info_colors, stealth_label
40
from nxc.connection import connection, sem, requires_admin, dcom_FirewallChecker
41
from nxc.helpers.misc import gen_random_string, validate_ntlm
42
from nxc.logger import NXCAdapter
@@ -2051,3 +2051,6 @@ def add_ntds_hash(ntds_hash, host_id):
2051
2052
def mark_guest(self):
2053
return highlight(f"{highlight('(Guest)')}" if self.is_guest else "")
2054
+
2055
+ def mark_stealth(self):
2056
+ return highlight(f"({stealth_label})" if self.admin_privs else "")
0 commit comments