Skip to content

Allow separating config file and templates folder #85

@JulianGR

Description

@JulianGR

I need to keep the folder containing all templates ("cent-nuclei-templates") in a different location from the config file (".cent.yaml") on Windows 10.

The reason is related to Windows Defender exclusions: some templates trigger Defender, so I created an exclusion for a specific folder. However, I cannot exclude my entire home directory.

Maybe this is already possible, but I haven’t been able to figure it out.

What I would expect is one of the following options:

  1. A folder-path property in the config YAML file.
  2. Support for a CLI option like cent --path [C:\...]
  3. Support for a CLI option like cent --config-file [C:\...]
  4. Support for environment variables that work properly on Windows.

Current behavior

This is what I get right now:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions