Skip to content

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

@clr2of8

Description

@clr2of8

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions