This repository was archived by the owner on Aug 17, 2026. It is now read-only.
Fix Python 3.13 compatibility (crypt removal & deprecated import logic) — now in the actively-maintained pwncat-vl fork - #296
Open
Chocapikk wants to merge 2 commits into
Open
Conversation
…crypt) - Replaced deprecated `find_module` usage in `CommandParser` and `Manager` by `importlib.util.module_from_spec` and `exec_module` (fixes AttributeError: 'FileFinder' object has no attribute 'find_module') - Replaced `crypt.crypt(...)` with `passlib.hash.sha512_crypt` for password hashing (fixes ModuleNotFoundError: No module named 'crypt') - Added `passlib` as a dependency in `pyproject.toml` under [tool.poetry.dependencies] (fixes ModuleNotFoundError: No module named 'passlib')
Chocapikk
force-pushed
the
master
branch
2 times, most recently
from
April 5, 2025 20:13
63b2df4 to
9f81b10
Compare
…tibility Fixed CVE-2019-14287 detection logic. Also reverted a previous accidental change that broke pickle serialization, preventing persistent storage from working properly.
|
Are you also getting an error when trying to get a shell from a windows target? I get this: |
Author
|
Hey @Yakui420 , I haven't looked or tested it on Windows environments. But I just think that this payload is not compatible with the env. It says that a command cannot be found, I think it's "stty" here, you will have to add an alternative payload for the interactive shell. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note
Upstream
pwncatis unmaintained, so I maintain an actively-developed fork: pwncat-vl — full Python 3.13 / 3.14 support, plus many more fixes and features.This PR started as an early Python 3.13 compatibility patch. The implementation has changed substantially since, so the fork is the source of truth, not this diff. Install it directly:
Issues and PRs are welcome on the fork.