NetExec
NetExec copied to clipboard
Testing for Python 3.12
This issue should document changes that need to be done before we can "officially" support Python 3.12.
So far it looks like everything works just out of the box 🎉 Just some SyntaxWarnings from other packages:
Somehow now aardwolf installation fails with poetry complaining about not having rust.
Somehow now aardwolf installation fails with poetry complaining about not having rust.
- https://github.com/skelsec/aardwolf/blob/ca024706c46265f910c572de194bf32c2805f1c6/pyproject.toml#L2
- https://github.com/skelsec/aardwolf/blob/ca024706c46265f910c572de194bf32c2805f1c6/setup.py#L43
aardwolf relies on setuptools-rust. When using distro package manager like pacman on ArchLinux, the PKGBUILD of python-setuptools-rust depends on rust, so everything is fine. But on poetry / pip / whateverpythonpackagemanager, it is only able to install python dependencies, not system dependencies. That's why having distro packages is important.
On BlackArch, we use a virtualenv poetry packaging for netexec instead of using ArchLinux python system packages because there are too much dependencies, for Netexec, updating too often and more importantly sometimes not using the last version for months while breaking changes are introduced in the dependency.
Right now ArchLinux uses python 3.12.4, so to make NetExec work via a poetry install, I had to install system dependencies (rust) in depends
in the PKGBUILD as poetry can't install them cf. https://github.com/BlackArch/blackarch/pull/4186/files.
Okay makes sense! Weird stuff, i could have sworn the last time i tested it on a fresh kali installation it worked. Maybe it is preinstalled nowadays or some dependency installed it
Python 3.12 is working flawlessly, so closing this one