calebstewart / pwncat

Fancy reverse and bind shell handler
https://pwncat.readthedocs.io
MIT License
2.63k stars 258 forks source link

Add support for SSHAgent and Key Types outside of RSA #227

Closed calebstewart closed 2 years ago

calebstewart commented 2 years ago

Description of Changes

This PR overhauls the SSH channel implementation to more correctly utilize Paramiko, and also moves our dependency from paramiko to paramiko-ng, which provides fixes for previously broken parts of paramiko.

This not only simplifies the SSH channel implementation, but also means that SSH-Agent should work out of the box and that you can now use keys aside from RSA (tested with an ed25519 key).

Fixes #91.

Major Changes Implemented:

Pre-Merge Tasks

For issues with pre-merge tasks, see CONTRIBUTING.md