Skip to content

Check for correct paramiko flavor#261

Open
fdellwing wants to merge 1 commit intocalebstewart:masterfrom
fdellwing:patch-1
Open

Check for correct paramiko flavor#261
fdellwing wants to merge 1 commit intocalebstewart:masterfrom
fdellwing:patch-1

Conversation

@fdellwing
Copy link
Copy Markdown

Description of Changes

If paramiko is installed besides paramiko-ng and an identity file is used, pwncat will fail with an AttributeError.

Please note any noqa: comments needed to appease flake8.

Major Changes Implemented:

  • Fail early if paramiko instead of paramiko-ng is found.

Pre-Merge Tasks

  • Formatted all modified files w/ python-black
  • Sorted imports for modified files w/ isort
  • Ran flake8 on repo, and fixed any new problems w/ modified files
  • Ran pytest test cases
  • Added brief summary of updates to CHANGELOG (under [Unreleased])

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

Chocapikk added a commit to Chocapikk/pwncat-vl that referenced this pull request Mar 24, 2026
Handle single-user dict from Get-LocalUser instead of crashing on
iteration. Detect incompatible paramiko (vs paramiko-ng) early when
using identity files.

Based on upstream PRs calebstewart#285 and calebstewart#261 from calebstewart/pwncat.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant