View Issue Details

IDProjectCategoryView StatusLast Update
0009416Kali LinuxKali Package Bugpublic2025-12-01 16:01
Reportert0xk Assigned Tosbrun  
PrioritynormalSeverityminorReproducibilityhave not tried
Status assignedResolutionopen 
Summary0009416: starkiller/powershell empire does not start due to dependency issue
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"

Activities

arnaudr

arnaudr

2025-12-01 10:52

manager   ~0020979

Please run sudo apt install python3-python-multipart, that should fix the issue.

t0xk

t0xk

2025-12-01 13:01

reporter   ~0020980

Installing it manually does indeed solve the issue. Since the tool comes preinstalled with the distro, why not include the python3-python-multipart package?

arnaudr

arnaudr

2025-12-01 13:42

manager   ~0020981

It's a bug. We're looking into it. There are two packages python3-python-multipart and python3-multipart, and there's some confusion around it.

sbrun

sbrun

2025-12-01 15:08

manager   ~0020983

The version 6.2.1-0kali3 will fix this issue. It will be available soon in kali-rolling

arnaudr

arnaudr

2025-12-01 16:01

manager   ~0020984

@t0xk Did you install powershell-empire with apt --no-install-recommends? Just trying to understand how you managed to hit this issue.

Issue History

Date Modified Username Field Change
2025-12-01 09:37 t0xk New Issue
2025-12-01 10:47 arnaudr Description Updated
2025-12-01 10:52 arnaudr Note Added: 0020979
2025-12-01 13:01 t0xk Note Added: 0020980
2025-12-01 13:42 arnaudr Note Added: 0020981
2025-12-01 14:20 sbrun Assigned To => sbrun
2025-12-01 14:20 sbrun Status new => assigned
2025-12-01 15:08 sbrun Note Added: 0020983
2025-12-01 16:01 arnaudr Note Added: 0020984