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
831 stars 195 forks source link

Calling Invoke-ExecuteCommand bug fix - Invalid parameter order. #190

Closed Jake151 closed 5 months ago

Jake151 commented 5 months ago

Fixing a bug introduced when the function for Invoke-ExecuteCommand w…as modified to include more parameters but the calling code was not adjusted. This resulted in parameters being passed into the wrong variables during execution.

Fixed by naming all parameters for when Invoke-ExecuteCommand is executed, rather than relying on function positioning