Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] <title> Powershell empire python module issue #762

Open
1 task done
ARJUN0601 opened this issue Dec 4, 2024 · 2 comments
Open
1 task done

[BUG] <title> Powershell empire python module issue #762

ARJUN0601 opened this issue Dec 4, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@ARJUN0601
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Empire Version

5.11.7

Python Version

pip 23.0.1 from /root/.cache/pypoetry/virtualenvs/empire-bc-security-fork-Eci4yFVd-py3.11/lib/python3.11/site-packages/pip (python 3.11)

Operating System

Parrot Security OS 6.2

Database

MySQL

Current Behavior

i was installing powershell empire from source.
but i am getting error about python-virtualenv module error
its hard to explain then showing error output

┌─[root@parrot]─[/home/drevello]
└──╼ #powershell-empire server
Traceback (most recent call last):
File "/usr/share/powershell-empire/empire.py", line 11, in
from empire.server import server
File "/usr/share/powershell-empire/empire/server/server.py", line 15, in
from empire.server.common import empire
File "/usr/share/powershell-empire/empire/server/common/empire.py", line 20, in
from empire.server.core.agent_service import AgentService
File "/usr/share/powershell-empire/empire/server/core/agent_service.py", line 12, in
from empire.server.core.agent_task_service import AgentTaskService
File "/usr/share/powershell-empire/empire/server/core/agent_task_service.py", line 23, in
from empire.server.core.listener_service import ListenerService
File "/usr/share/powershell-empire/empire/server/core/listener_service.py", line 9, in
from empire.server.core.db.base import SessionLocal
File "/usr/share/powershell-empire/empire/server/core/db/base.py", line 12, in
from empire.server.core.db.defaults import (
File "/usr/share/powershell-empire/empire/server/core/db/defaults.py", line 7, in
from passlib import pwd
File "/root/.cache/pypoetry/virtualenvs/empire-bc-security-fork-Eci4yFVd-py3.11/lib/python3.11/site-packages/passlib/pwd.py", line 16, in
import pkg_resources
File "/root/.cache/pypoetry/virtualenvs/empire-bc-security-fork-Eci4yFVd-py3.11/lib/python3.11/site-packages/pkg_resources.py", line 29, in
import symbol
ModuleNotFoundError: No module named 'symbol'
┌─[✗]─[root@parrot]─[/home/drevello]
└──╼ #

Expected Behavior

i expected to work very well

Steps To Reproduce

cd /usr/share/powershell-empire
#. empire/bin/activate
. ~/.cache/pypoetry/virtualenvs/empire-bc-security-fork-Eci4yFVd-py3.11/bin/activate
exec python3 empire.py "$@"

Anything else?

and project missing requirements.txt for installing required module for using powershell-empire after from source
i have to install it from error manually one by one

@ARJUN0601 ARJUN0601 added the bug Something isn't working label Dec 4, 2024
@kirtcathey
Copy link

I am getting the same thing all the way through, except module 'jq' in both Parrot OS 2 and the latest Kali (both fresh installs) and I know jq is installed.

@ARJUN0601
Copy link
Author

I am getting the same thing all the way through, except module 'jq' in both Parrot OS 2 and the latest Kali (both fresh installs) and I know jq is installed.

I even tried installing through source but it having error saying symbol module is not found
Now I am using it in docker container

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants