[WCC] New module options
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:
The checks are grouped into categories, and it is possible to limit the output to one specific category:
CHECKS option
Allows to specify which checks must be performed on the target(s):
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:
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--fixto automatically fix what it can) - [ ] I have added or updated the
tests/e2e_commands.txtfile 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)
Let's fucking go!! 🥳
Nice one! Thanks for the work