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] Python 3.10 Compatibility #270

Open
godylockz opened this issue Jul 27, 2022 · 0 comments
Open

[BUG] Python 3.10 Compatibility #270

godylockz opened this issue Jul 27, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@godylockz
Copy link

godylockz commented Jul 27, 2022

Description

Currently Kali Linux current release has made python 3.10.5 the latest version installed by default with the alias python3. Also the latest version is only 7.4.0 of PoshC2 in the kali repo. I wanted to update to Posh v8.0. When trying to manually install PoshC2, via the Install.sh script, there needed to be a couple of changes to make it work with python v3.9 when python v3.10 is installed.
The real problem with v3.10 has to do with pipenv: pypa/pipenv#5116
I wanted to report this anyway just in-case anyone else has run into the same issue, wanted to upgrade as well, and awareness of the pipenv causing issues with installation.

Lines 95:

apt-get install -y python3.8-dev python3-distutils python3-lib2to3 python3.7-dev python3.7 python3.9 python3.9-dev 2>/dev/null

Lines 114:

python3.9 -m pip install --upgrade pip > /dev/null
python3.9 -m pip install pandas pipenv > /dev/null
cd "$POSH_DIR"
python3.9 -m pipenv --python=/usr/bin/python3.9 --three install >/dev/null

Execution Environment:

Data Value
Full Posh version (all the text between the === at the top of the Implant Handler) PoshC2 v8.0 (edaa5e8 2022-07-20 08:55:44)
OS & version Linux kali 5.18.0-kali5-amd64 #1 SMP PREEMPT_DYNAMIC Debian 5.18.5-1kali6 (2022-07-07) x86_64 GNU/Linux
Using Docker/containerisation? No
@godylockz godylockz added the bug Something isn't working label Jul 27, 2022
@godylockz godylockz changed the title Python 3.10 Compatability [BUG] Python 3.10 Compatability Jul 27, 2022
@godylockz godylockz changed the title [BUG] Python 3.10 Compatability [BUG] Python 3.10 Compatibility Jul 27, 2022
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

1 participant