Skip to content

Commit d6fcee6

Browse files
authored
Merge branch 'main' into slinky_set_lnk_target
2 parents 0565e4e + e99e5c2 commit d6fcee6

123 files changed

Lines changed: 126 additions & 285 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

nxc/loaders/moduleloader.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,6 @@ def module_is_sane(self, module, module_path):
3333
elif not hasattr(module, "supported_protocols"):
3434
self.logger.fail(f"{module_path} missing the supported_protocols variable")
3535
module_error = True
36-
elif not hasattr(module, "multiple_hosts"):
37-
self.logger.fail(f"{module_path} missing the multiple_hosts variable")
38-
module_error = True
3936
elif not hasattr(module, "options"):
4037
self.logger.fail(f"{module_path} missing the options function")
4138
module_error = True
@@ -95,7 +92,6 @@ def get_module_info(self, module_path):
9592
"description": module_spec.description,
9693
"options": module_spec.options.__doc__,
9794
"supported_protocols": module_spec.supported_protocols,
98-
"multiple_hosts": module_spec.multiple_hosts,
9995
"requires_admin": bool(hasattr(module_spec, "on_admin_login") and callable(module_spec.on_admin_login)),
10096
}
10197
}

nxc/modules/adcs.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ class NXCModule:
1313
name = "adcs"
1414
description = "Find PKI Enrollment Services in Active Directory and Certificate Templates Names"
1515
supported_protocols = ["ldap"]
16-
multiple_hosts = True
1716

1817
def __init__(self, context=None, module_options=None):
1918
self.context = context

nxc/modules/add-computer.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ class NXCModule:
1616
name = "add-computer"
1717
description = "Adds or deletes a domain computer"
1818
supported_protocols = ["smb"]
19-
multiple_hosts = False
2019

2120
def options(self, context, module_options):
2221
"""

nxc/modules/aws-credentials.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ class NXCModule:
88
name = "aws-credentials"
99
description = "Search for aws credentials files."
1010
supported_protocols = ["ssh", "smb", "winrm"]
11-
multiple_hosts = True
1211

1312
def __init__(self):
1413
self.search_path_linux = "'/home/' '/tmp/'"

nxc/modules/backup_operator.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ class NXCModule:
1313
name = "backup_operator"
1414
description = "Exploit user in backup operator group to dump NTDS @mpgn_x64"
1515
supported_protocols = ["smb"]
16-
multiple_hosts = True
1716

1817
def __init__(self, context=None, module_options=None):
1918
self.context = context

nxc/modules/badsuccessor.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ class NXCModule:
7979
name = "badsuccessor"
8080
description = "Check if vulnerable to bad successor attack (DMSA)"
8181
supported_protocols = ["ldap"]
82-
multiple_hosts = True
8382

8483
def __init__(self):
8584
self.context = None

nxc/modules/bitlocker.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ class NXCModule:
99
name = "bitlocker"
1010
description = "Enumerating BitLocker Status on target(s) If it is enabled or disabled."
1111
supported_protocols = ["smb", "wmi"]
12-
multiple_hosts = True
1312

1413
def __init__(self, context=None, module_options=None):
1514
self.context = context

nxc/modules/change-password.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ class NXCModule:
1212
name = "change-password"
1313
description = "Change or reset user passwords via various protocols"
1414
supported_protocols = ["smb"]
15-
multiple_hosts = False
1615

1716
def options(self, context, module_options):
1817
"""

nxc/modules/coerce_plus.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ class NXCModule:
1111
name = "coerce_plus"
1212
description = "Module to check if the Target is vulnerable to any coerce vulns. Set LISTENER IP for coercion."
1313
supported_protocols = ["smb"]
14-
multiple_hosts = True
1514

1615
def __init__(self, context=None, module_options=None):
1716
self.context = context

nxc/modules/daclread.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,6 @@ class NXCModule:
199199
name = "daclread"
200200
description = "Read and backup the Discretionary Access Control List of objects. Be careful, this module cannot read the DACLS recursively, see more explanation in the options."
201201
supported_protocols = ["ldap"]
202-
multiple_hosts = False
203202

204203
def __init__(self, context=None, module_options=None):
205204
self.context = context

0 commit comments

Comments
 (0)