EmpireProject / Empire

Empire is a PowerShell and Python post-exploitation agent.
http://www.powershellempire.com/
BSD 3-Clause "New" or "Revised" License
7.36k stars 2.8k forks source link

Error generating launcher: global name 'launcher' is not defined #1365

Open joshewilliams opened 5 years ago

joshewilliams commented 5 years ago

Empire Version

2.5

OS Information (Linux flavor, Python version)

Kali Linux

Expected behavior and description of the error, including any actions taken immediately prior to the error. The more detail the better.

I started the HTTP_MAPI listener and then tried to run launcher powershell, but received the error:

[!] Error generating launcher: global name 'launcher' is not defined

Screenshot of error, embedded text output, or Pastebin link to the error

Screenshot

Any additional information

If I had to guess I would say that the issue stems from the generate_launcher function in lib/listeners/http_map.py not properly finding the launcher module in lib/stagers/multi/launcher.py. Possibly because that launcher was originally one directory up? If you need any further information, just let me know!