ATTPwn icon indicating copy to clipboard operation
ATTPwn copied to clipboard

PowerShell Errors when running threat (non-standard dash "-" found in source code)

Open clr2of8 opened this issue 3 years ago • 0 comments

When Running NotPetya on Win10 Pro, I get errors in PowerShell window. Tasks error or remain pending after code has run. If I replace the non-standard dash "-" character in the source code (invoke-scheduledTask and invoke-wsreset, this fixes the error). sed -i s/–/-/g functions/invoke-scheduleTask sed -i s/–/-/g functions/invoke-wsreset

image

image

image

image

clr2of8 avatar Oct 02 '20 16:10 clr2of8