Description | After 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)-[~]
└─$ |
---|