Open gotr00t0day opened 5 months ago
Same issue here. Anyone got a workaround or fix?
Same issue here. Anyone got a workaround or fix?
When I install pwncat from a virtual environment like it is mentioned in the readme it doesnt throw this error and it's working fine. At least for me.
python3 -m venv pwncat-env
source pwncat-env/bin/activate
pip install pwncat-cs
The blackarch package seems to be broken.
@fusaty The problem is if you use >=python3.12
Still persistent
find_module seems to be deprecated and find_spec should be use instead.
cpython issues
Output
Exception in thread Thread-1 (start_listener): Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/threading.py", line 1073, in _bootstrap_inner self.run() File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/threading.py", line 1010, in run self._target(*self._args, **self._kwargs) File "/Users/c0d3ninja/Tools/CVE-2023-43208-EXPLOIT/CVE-2023-43208.py", line 68, in start_listener with pwncat.manager.Manager() as manager: ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pwncat/manager.py", line 811, in __init__ self.parser = CommandParser(self) ^^^^^^^^^^^^^^^^^^^ File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pwncat/commands/__init__.py", line 436, in __init__ loader.find_module(module_name) ^^^^^^^^^^^^^^^^^^ AttributeError: 'FileFinder' object has no attribute 'find_module'
Python version
Python 3.12.2
Pwncat Version
0.5.4