NetExec icon indicating copy to clipboard operation
NetExec copied to clipboard

[WCC] New module options

Open fpreynaud opened this issue 4 months ago • 2 comments

Description

Add the LIST and CHECKS options to the wcc module. The values for both are case insensitive.

LIST option

Lists the checks that can be performed by the module, without the need to run the module against a host, then exits:

Example LIST option usage

The checks are grouped into categories, and it is possible to limit the output to one specific category:

Example LIST option category filtering

CHECKS option

Allows to specify which checks must be performed on the target(s):

image

The option expects a comma-delimited list of strings, which are search terms for both check categories or names. For example, with CHECKS=auth, all the checks whose name or category name contains "auth" will be performed:

image

Type of change

Insert an "x" inside the brackets for relevant items (do not delete options)

  • [ ] Bug fix (non-breaking change which fixes an issue)
  • [x] New feature (non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • [ ] Deprecation of feature or functionality
  • [ ] This change requires a documentation update
  • [ ] This requires a third party update (such as Impacket, Dploot, lsassy, etc)

Checklist:

Insert an "x" inside the brackets for completed and relevant items (do not delete options)

  • [x] I have ran Ruff against my changes (via poetry: poetry run python -m ruff check . --preview, use --fix to automatically fix what it can)
  • [ ] I have added or updated the tests/e2e_commands.txt file if necessary (new modules or features are required to be added to the e2e tests)
  • [ ] New and existing e2e tests pass locally with my changes
  • [ ] If reliant on changes of third party dependencies, such as Impacket, dploot, lsassy, etc, I have linked the relevant PRs in those projects
  • [x] I have performed a self-review of my own code
  • [x] I have commented my code, particularly in hard-to-understand areas
  • [ ] I have made corresponding changes to the documentation (PR here: https://github.com/Pennyw0rth/NetExec-Wiki)

fpreynaud avatar Aug 22 '25 10:08 fpreynaud

Let's fucking go!! 🥳

Dfte avatar Aug 22 '25 10:08 Dfte

Nice one! Thanks for the work

NeffIsBack avatar Aug 24 '25 14:08 NeffIsBack