Invoke-ReflectivePEInjection should pass the arguments to the .exe file.
In my case (see screenshot below), mimikatz should instantly exit.
Screenshots
Additional context
Mimikatz itself lets you pass arguments with or without "", so those shouldn't be a problem.
Example:
mimikatz.exe "exit" and mimikatz.exe exit will both do the same.
Empire Version
OS Information (Linux flavor, Python version)
Describe the bug
Invoke-ReflectivePEInjection does not pass any -ExeArgs to the .exe.
To Reproduce
Steps to reproduce the behavior:
. .\Invoke-ReflectivePEInjection
Invoke-ReflectivePEInjection -PEPath C:\PathToAnyExe -ExeArgs "SomeArgs"
Expected behavior
Invoke-ReflectivePEInjection should pass the arguments to the .exe file. In my case (see screenshot below), mimikatz should instantly exit.
Screenshots
Additional context
Mimikatz itself lets you pass arguments with or without "", so those shouldn't be a problem. Example:
mimikatz.exe "exit"
andmimikatz.exe exit
will both do the same.