MythicAgents / Apollo

A .NET Framework 4.0 Windows Agent
BSD 3-Clause "New" or "Revised" License
432 stars 90 forks source link

run command parses arguments in incorrect order #113

Closed breakid closed 1 year ago

breakid commented 1 year ago

The RunArguments class does not specify ui-position for either of its arguments, which causes them to be parsed with arguments first and executable second.

Example: run whoami /priv will be translated to run -Executable /priv -Arguments whoami