Skip to content

Commit 84dbe26

Browse files
committed
Change wording to REMOVED as it actually is removed
1 parent f7c6f20 commit 84dbe26

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

nxc/modules/group-mem.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class NXCModule:
2020

2121
def options(self, context, module_options):
2222
r"""
23-
[DEPRECATED] Use the ldap flag '--groups "Administrators"' instead of the module group-mem. Will be removed in the future.
23+
[REMOVED] Use the ldap flag '--groups "Administrators"' instead of the module group-mem.
2424
2525
group-mem: Specify group-mem to call the module
2626
GROUP: Specify the GROUP option to query for that group's members
@@ -36,7 +36,7 @@ def options(self, context, module_options):
3636
sys.exit(1)
3737

3838
def on_login(self, context, connection):
39-
self.logger.fail("[DEPRECATED] Use the ldap flag '--groups \"Administrators\"' instead of the module group-mem. Will be removed in the future.")
39+
self.logger.fail("[REMOVED] Use the ldap flag '--groups \"Administrators\"' instead of the module group-mem.")
4040
return None
4141

4242
# First look up the SID of the group passed in

nxc/protocols/smb.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -1239,7 +1239,7 @@ def get_dc_ips(self):
12391239
return dc_ips
12401240

12411241
def smb_sessions(self):
1242-
self.logger.fail("[DEPRECATED] Use option --qwinsta or --loggedon-users")
1242+
self.logger.fail("[REMOVED] Use option --qwinsta or --loggedon-users")
12431243
return
12441244

12451245
def disks(self):
@@ -1282,7 +1282,7 @@ def local_groups(self):
12821282
self.logger.highlight(f"{member} - {members[member]}")
12831283

12841284
def groups(self):
1285-
self.logger.fail("[DEPRECATED] Arg moved to the ldap protocol")
1285+
self.logger.fail("[REMOVED] Arg moved to the ldap protocol")
12861286
return
12871287

12881288
def users(self):
@@ -1291,12 +1291,12 @@ def users(self):
12911291
return UserSamrDump(self).dump(self.args.users)
12921292

12931293
def computers(self):
1294-
self.logger.fail("[DEPRECATED] Arg moved to the ldap protocol")
1294+
self.logger.fail("[REMOVED] Arg moved to the ldap protocol")
12951295
return
12961296

12971297
def loggedon_users(self):
12981298
if self.args.loggedon_users_filter:
1299-
self.logger.fail("[DEPRECATED] Use option '--loggedon-users <USERNAME>' for filtering")
1299+
self.logger.fail("[REMOVED] Use option '--loggedon-users <USERNAME>' for filtering")
13001300

13011301
logged_on = set()
13021302
try:

0 commit comments

Comments
 (0)