Invoke-AtomicRedTeam is a PowerShell module to execute tests as defined in the [atomics folder](https://github.com/redcanaryco/atomic-red-team/tree/master/atomics) of Red Canary's Atomic Red Team project.
MIT License
815
stars
193
forks
source link
include only T# directories when searching for atomic yaml files #63
The code was recursively looking for yaml files to find T# files but it was erroneously also include other yaml files find within the /bin and /src directories, resulting in errors like the one shown below.
The new code only looks for directories in the atomics folder that match the T# format.
ERROR: C:\AtomicRedTeam\atomics\CRONJOB\CRONJOB.yaml does not exist Check your Atomic Number and your PathToAtomicsFolder parameter
The code was recursively looking for yaml files to find T# files but it was erroneously also include other yaml files find within the /bin and /src directories, resulting in errors like the one shown below.
The new code only looks for directories in the atomics folder that match the T# format.
ERROR: C:\AtomicRedTeam\atomics\CRONJOB\CRONJOB.yaml does not exist Check your Atomic Number and your PathToAtomicsFolder parameter