-
Notifications
You must be signed in to change notification settings - Fork 258
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
distutils not found #289
Comments
This is a problem with latest python version in kali (3.12).
If your python version is 3.12, then you'll need to do some manual updates:
Next you need to update a pwncat dependency with the changes applied for setuptools
Pip will complain but ignore it, by this time pwncat should work again
|
Hi all.
|
Hi, I Have the same problem, because I am using kali linux with python 3.12, and unfortunately, python 3.11 or 3.10 in which distutils wasn't deprecated yet, is not available in kali linux directly. installing setuptools doesn't fix the problem. anyway , since the author says in the README file of the tool:
I suggest replacing distutils with something that works along all python3.9+ versions |
@ku4979p9 *** Update: I have suceeded to use pwncat with python3.11 through a virtual environment, as you propose here. however, it required me to built python3.11 fron source which took some time. @VainXploits this method should solve your problem since distutils is supported in python3.11 |
Maybe if it has happened to someone, when you run: This error typically occurs because the sudo apt-get update
sudo apt-get install libreadline-dev And if you get the error: |
@4D7220426C7565 what is this connected to this issue man? |
Bug Description
After installing pwncat using pip, facing an issue saying distutils not found
pwncat version
Can't provide version because I can't run pwncat-cs because distutils is not found
Target System (aka "victim")
My own kali box
Above is the error that pops up whenever
pwncat-cs
is run with any flag after it.The text was updated successfully, but these errors were encountered: