| Description | System Version: 2025.4
Issue: starkiller/powershell empire does not start due to dependency issue. Missing python-multipart, instead multipart is installed.
Full error:
┌──(root㉿kali)-[~]
└─# starkiller
[INFO]: Submodules auto update enabled. Loading.
[INFO]: No .git directory found. Skipping submodule fetch.
[INFO]: Checking submodules...
[INFO]: No .git directory found. Skipping submodule check.
[INFO]: Using mysql database.
[INFO]: Empire starting up...
[INFO]: v2: Loading listener templates from: /usr/share/powershell-empire/empire/server/listeners
[INFO]: v2: Loading stager templates from: /usr/share/powershell-empire/empire/server/stagers
[INFO]: v2: Loading bypasses from: /usr/share/powershell-empire/empire/server/bypasses
[INFO]: v2: Loading malleable profiles from: /usr/share/powershell-empire/empire/server/data/profiles
[INFO]: v2: Loading modules from: /usr/share/powershell-empire/empire/server/modules
[INFO]: Searching for plugins at /usr/share/powershell-empire/empire/server/plugins
[INFO]: Initializing plugin: Basic Reporting
[ERROR]: Form data requires "python-multipart" to be installed. It seems you installed "multipart" instead.
You can remove "multipart" with:
pip uninstall multipart
And then install "python-multipart" with:
pip install python-multipart
Traceback (most recent call last):
File "/usr/share/powershell-empire/empire.py", line 18, in <module>
server.run(args)
~~~~~~~~~~^^^^^^
File "/usr/share/powershell-empire/empire/server/server.py", line 140, in run
from empire.server.api import app
File "/usr/share/powershell-empire/empire/server/api/app.py", line 18, in <module>
from empire.server.api.v2.download import download_api
File "/usr/share/powershell-empire/empire/server/api/v2/download/download_api.py", line 118, in <module>
@router.post("/", status_code=201, response_model=Download)
~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/powershell-empire/empire/server/api/api_router.py", line 26, in decorator
add_alternate_path(func)
~~~~~~~~~~~~~~~~~~^^^^^^
File "/usr/lib/python3/dist-packages/fastapi/routing.py", line 1070, in decorator
self.add_api_route(
~~~~~~~~~~~~~~~~~~^
path,
^^^^^
...<23 lines>...
generate_unique_id_function=generate_unique_id_function,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/lib/python3/dist-packages/fastapi/routing.py", line 1009, in add_api_route
route = route_class(
self.prefix + path,
...<24 lines>...
generate_unique_id_function=current_generate_unique_id,
)
File "/usr/lib/python3/dist-packages/fastapi/routing.py", line 630, in __init__
self.dependant = get_dependant(path=self.path_format, call=self.endpoint)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/fastapi/dependencies/utils.py", line 293, in get_dependant
param_details = analyze_param(
param_name=param_name,
...<2 lines>...
is_path_param=is_path_param,
)
File "/usr/lib/python3/dist-packages/fastapi/dependencies/utils.py", line 490, in analyze_param
ensure_multipart_is_installed()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/lib/python3/dist-packages/fastapi/dependencies/utils.py", line 118, in ensure_multipart_is_installed
raise RuntimeError(multipart_incorrect_install_error) from None
RuntimeError: Form data requires "python-multipart" to be installed. It seems you installed "multipart" instead.
You can remove "multipart" with:
pip uninstall multipart
And then install "python-multipart" with:
pip install python-multipart
┌──(root㉿kali)-[~]
└─# cat /etc/os-release
PRETTY_NAME="Kali GNU/Linux Rolling"
NAME="Kali GNU/Linux"
VERSION_ID="2025.4"
VERSION="2025.4"
VERSION_CODENAME=kali-rolling
ID=kali
ID_LIKE=debian
HOME_URL="https://www.kali.org/"
SUPPORT_URL="https://forums.kali.org/"
BUG_REPORT_URL="https://bugs.kali.org/"
ANSI_COLOR="1;31"
|
|---|