View Issue Details

IDProjectCategoryView StatusLast Update
0007512Kali Linux[All Projects] Kali Package Bugpublic2021-12-29 13:24
Reportercohst Assigned Tosbrun  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version2021.4 
Target VersionFixed in Version2022.1 
Summary0007512: Powershell-Empire stops working after apt-get update && apt-get dist-upgrade
DescriptionAfter I did apt-get update && apt-get dist-upgrade Powershell-Empire Server did not start any more. I tried to reset the database scheme, but the problem seems to be not belong to that....

┌──(cohst@kali-linux)-[~]
└─$ sudo powershell-empire server
Traceback (most recent call last):
  File "/usr/share/powershell-empire/empire.py", line 11, in <module>
    import empire.server.server as server
  File "/usr/share/powershell-empire/empire/server/server.py", line 24, in <module>
    import socketio
  File "/usr/lib/python3/dist-packages/socketio/__init__.py", line 3, in <module>
    from .client import Client
  File "/usr/lib/python3/dist-packages/socketio/client.py", line 7, in <module>
    import engineio
  File "/usr/lib/python3/dist-packages/engineio/__init__.py", line 8, in <module>
    from .asyncio_client import AsyncClient
  File "/usr/lib/python3/dist-packages/engineio/asyncio_client.py", line 7, in <module>
    import aiohttp
  File "/usr/lib/python3/dist-packages/aiohttp/__init__.py", line 6, in <module>
    from .client import (
  File "/usr/lib/python3/dist-packages/aiohttp/client.py", line 35, in <module>
    from . import hdrs, http, payload
  File "/usr/lib/python3/dist-packages/aiohttp/http.py", line 7, in <module>
    from .http_parser import (
  File "/usr/lib/python3/dist-packages/aiohttp/http_parser.py", line 15, in <module>
    from .helpers import NO_EXTENSIONS, BaseTimerContext
  File "/usr/lib/python3/dist-packages/aiohttp/helpers.py", line 667, in <module>
    class CeilTimeout(async_timeout.timeout):
TypeError: function() argument 'code' must be code, not str
                                                                                                             
┌──(cohst@kali-linux)-[~]
└─$ sudo powershell-empire server --reset 1 ⨯
Traceback (most recent call last):
  File "/usr/share/powershell-empire/empire.py", line 11, in <module>
    import empire.server.server as server
  File "/usr/share/powershell-empire/empire/server/server.py", line 24, in <module>
    import socketio
  File "/usr/lib/python3/dist-packages/socketio/__init__.py", line 3, in <module>
    from .client import Client
  File "/usr/lib/python3/dist-packages/socketio/client.py", line 7, in <module>
    import engineio
  File "/usr/lib/python3/dist-packages/engineio/__init__.py", line 8, in <module>
    from .asyncio_client import AsyncClient
  File "/usr/lib/python3/dist-packages/engineio/asyncio_client.py", line 7, in <module>
    import aiohttp
  File "/usr/lib/python3/dist-packages/aiohttp/__init__.py", line 6, in <module>
    from .client import (
  File "/usr/lib/python3/dist-packages/aiohttp/client.py", line 35, in <module>
    from . import hdrs, http, payload
  File "/usr/lib/python3/dist-packages/aiohttp/http.py", line 7, in <module>
    from .http_parser import (
  File "/usr/lib/python3/dist-packages/aiohttp/http_parser.py", line 15, in <module>
    from .helpers import NO_EXTENSIONS, BaseTimerContext
  File "/usr/lib/python3/dist-packages/aiohttp/helpers.py", line 667, in <module>
    class CeilTimeout(async_timeout.timeout):
TypeError: function() argument 'code' must be code, not str
                                                                                                             
┌──(cohst@kali-linux)-[~]
└─$

Steps To ReproduceDo sudo apt-get update && apt-get dist-upgrade

Activities

sbrun

2021-12-29 13:24

manager   ~0015580

it's fixed with python3-aiohttp version 3.8.1-4. The package is now in kali-rolling

Issue History

Date Modified Username Field Change
2021-12-26 15:39 cohst New Issue
2021-12-29 13:24 sbrun Assigned To => sbrun
2021-12-29 13:24 sbrun Status new => resolved
2021-12-29 13:24 sbrun Resolution open => fixed
2021-12-29 13:24 sbrun Fixed in Version => 2022.1
2021-12-29 13:24 sbrun Note Added: 0015580