Skip to content

Commit

Permalink
Fixed issue with --options flag
Browse files Browse the repository at this point in the history
  • Loading branch information
haytechy committed Oct 18, 2024
1 parent ae4317c commit 5bcf955
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions nxc/netexec.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,9 @@ def main():
for module in args.module:
nxc_logger.display(f"{module} module options:\n{modules[module]['options']}")
exit(0)
elif args.show_module_options:
nxc_logger.error(f"--options requires -M/--module")
exit(1)
elif args.module:
# Check the modules for sanity before loading the protocol
nxc_logger.debug(f"Modules to be Loaded for sanity check: {args.module}, {type(args.module)}")
Expand Down

0 comments on commit 5bcf955

Please sign in to comment.