Skip to content

Commit

Permalink
Merge pull request #109 from Pennyw0rth/neff-small-improvements
Browse files Browse the repository at this point in the history
Improve module texts
  • Loading branch information
Marshall-Hallenbeck authored Nov 9, 2023
2 parents 7a4246a + 4a7d7f2 commit 5b21585
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
4 changes: 3 additions & 1 deletion nxc/modules/daclread.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ class NXCModule:
"""

name = "daclread"
description = "Read and backup the Discretionary Access Control List of objects. Based on the work of @_nwodtuhs and @BlWasp_. Be careful, this module cannot read the DACLS recursively, more explains in the options."
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."
supported_protocols = ["ldap"]
opsec_safe = True
multiple_hosts = False
Expand All @@ -218,6 +218,8 @@ def options(self, context, module_options):
ACE_TYPE The type of ACE to read (Allowed or Denied)
RIGHTS An interesting right to filter on ('FullControl', 'ResetPassword', 'WriteMembers', 'DCSync')
RIGHTS_GUID A right GUID that specify a particular rights to filter on
Based on the work of @_nwodtuhs and @BlWasp_.
"""
self.context = context

Expand Down
2 changes: 1 addition & 1 deletion nxc/modules/laps.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class NXCModule:
"""

name = "laps"
description = "Retrieves the LAPS passwords"
description = "Retrieves all LAPS passwords which the account has read permissions for."
supported_protocols = ["ldap"]
opsec_safe = True
multiple_hosts = False
Expand Down
4 changes: 2 additions & 2 deletions nxc/modules/scan-network.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,14 +83,14 @@ def searchResEntry_to_dict(results):

class NXCModule:
name = "get-network"
description = ""
description = "Query all DNS records with the corresponding IP from the domain."
supported_protocols = ["ldap"]
opsec_safe = True
multiple_hosts = True

def options(self, context, module_options):
"""
ALL Get DNS and IP (default: false)
ALL Get DNS and IP (default: false)
ONLY_HOSTS Get DNS only (no ip) (default: false)
"""
self.showall = False
Expand Down
5 changes: 4 additions & 1 deletion nxc/modules/spider_plus.py
Original file line number Diff line number Diff line change
Expand Up @@ -470,13 +470,16 @@ class NXCModule:
"""

name = "spider_plus"
description = "List files recursively (excluding `EXCLUDE_FILTER` and `EXCLUDE_EXTS` extensions) and save JSON share-file metadata to the `OUTPUT_FOLDER`. If `DOWNLOAD_FLAG`=True, download files smaller then `MAX_FILE_SIZE` to the `OUTPUT_FOLDER`."
description = "List files recursively and save a JSON share-file metadata to the 'OUTPUT_FOLDER'. See module options for finer configuration."
supported_protocols = ["smb"]
opsec_safe = True # Does the module touch disk?
multiple_hosts = True # Does the module support multiple hosts?

def options(self, context, module_options):
"""
List files recursively (excluding `EXCLUDE_FILTER` and `EXCLUDE_EXTS` extensions) and save JSON share-file metadata to the `OUTPUT_FOLDER`.
If `DOWNLOAD_FLAG`=True, download files smaller then `MAX_FILE_SIZE` to the `OUTPUT_FOLDER`.
DOWNLOAD_FLAG Download all share folders/files (Default: False)
STATS_FLAG Disable file/download statistics (Default: True)
EXCLUDE_EXTS Case-insensitive extension filter to exclude (Default: ico,lnk)
Expand Down

0 comments on commit 5b21585

Please sign in to comment.