Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
clr2of8 opened this issue Oct 2, 2020 · 0 comments

Comments

@clr2of8
Copy link

clr2of8 commented Oct 2, 2020

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 clr2of8 changed the title PowerShell Errors when running threat PowerShell Errors when running threat (non-standard dash "-" found in source code) Oct 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant