Closed bz-coro closed 1 month ago
5.4.2 Kali
3.11.9
Kali
SQLite
When trying to execute windows_launcher_bat payload it fails with error: 'iex' is not recognized as an internal or external command, operable program or batch file.
windows_launcher_bat
'iex' is not recognized as an internal or external command, operable program or batch file.
This can be fixed by double-quoting the command passed to powershell. The bug was introduced here: https://github.com/BC-SECURITY/Empire/commit/b6575e00ac066a8d87d2f62630ca7d460c2e2733#diff-d41d1030905fb82c8a4b5026769898c0085cf7e3e23865b480940a62ae90c275R104
Launcher works.
No response
Ok, it was fixed in 5.6.3, but Kali is stuck on old release... duh...
Is there an existing issue for this?
Empire Version
5.4.2 Kali
Python Version
3.11.9
Operating System
Kali
Database
SQLite
Current Behavior
When trying to execute
windows_launcher_bat
payload it fails with error:'iex' is not recognized as an internal or external command, operable program or batch file.
This can be fixed by double-quoting the command passed to powershell. The bug was introduced here: https://github.com/BC-SECURITY/Empire/commit/b6575e00ac066a8d87d2f62630ca7d460c2e2733#diff-d41d1030905fb82c8a4b5026769898c0085cf7e3e23865b480940a62ae90c275R104
Expected Behavior
Launcher works.
Steps To Reproduce
windows_launcher_bat
Anything else?
No response