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] Failed installation #758

Open
1 task done
phasm1d opened this issue Oct 22, 2024 · 1 comment
Open
1 task done

[BUG] Failed installation #758

phasm1d opened this issue Oct 22, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@phasm1d
Copy link

phasm1d commented Oct 22, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Empire Version

5.11.5

Python Version

3.12.0

Operating System

Kali linux 2024-09-26

Database

SQLite

Current Behavior

Installation fails when install python modules through poetry with the following error:
Could not find platform independent libraries
Could not find platform dependent libraries <exec_prefix>
Python path configuration:
PYTHONHOME = (not set)
PYTHONPATH = (not set)
program name = '/home/kali/.local/share/pypoetry/venv/bin/python'
isolated = 0
environment = 1
user site = 1
safe_path = 0
import site = 1
is in build tree = 0
stdlib dir = '/usr/lib/python3.11'
sys._base_executable = '/usr/bin/python'
sys.base_prefix = '/usr'
sys.base_exec_prefix = '/usr'
sys.platlibdir = 'lib'
sys.executable = '/home/kali/.local/share/pypoetry/venv/bin/python'
sys.prefix = '/usr'
sys.exec_prefix = '/usr'
sys.path = [
'/usr/lib/python311.zip',
'/usr/lib/python3.11',
'/usr/lib/python3.11/lib-dynload',
]
Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding
Python runtime state: core initialized
ModuleNotFoundError: No module named 'encodings'

Current thread 0x00007f9e09c69080 (most recent call first):

Then using ps-empire binary always shows that error.

Expected Behavior

Empire should normally install

Steps To Reproduce

Just download latest Kali linux release and follow installation steps from documentation.

Anything else?

No response

@phasm1d phasm1d added the bug Something isn't working label Oct 22, 2024
@githbubble
Copy link

same on kali

dmore pushed a commit to dmore/Empire-red-c2-pure-powershell-agent-compat-python3-linux-agents that referenced this issue Nov 26, 2024
* add RUF rules

* auto-fixable RUF rules

* apply unsafe ruf auto fixes

* changelog
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