redcanaryco / invoke-atomicredteam

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
805 stars 190 forks source link

Fix double invoke #128

Closed clr2of8 closed 1 year ago

clr2of8 commented 1 year ago

PR #121 introduced a bug in the AtomicRunner code where it would execute each atomic tests on the schedule twice instead of only executive it once followed by executing the cleanup. This PR fixes that issue. Users who installed Invoke-AtomicRedTeam between May 9,2023 and June 1,2023 and use the Invoke-AtomicRunner feature for continuous atomic execution should reinstall to get this update. The more commonly used Invoke-AtomicTest function was not affected by this issue.