ATTPwn
ATTPwn copied to clipboard
PowerShell Errors when running threat (non-standard dash "-" found in source code)
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