Skip to content

AttributeError: 'FileFinder' object has no attribute 'find_module' #283

@gotr00t0day

Description

@gotr00t0day

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions