Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Check for correct paramiko flavor#261

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
fdellwing wants to merge1 commit intocalebstewart:master
base:master
Choose a base branch
Loading
fromfdellwing:patch-1
Open
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletionpwncat/__main__.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -177,11 +177,19 @@ def main():
query_args["host"] = None
query_args["port"] = None
query_args["platform"] = args.platform
query_args["identity"] = args.identity
query_args["certfile"] = args.ssl_cert
query_args["keyfile"] = args.ssl_key
query_args["ssl"] = args.ssl
querystring = None

if args.identity is not None:
import paramiko
if not 'load_private_key' in paramiko.__all__:
console.log(
"[red]error[/red]: Wrong version of paramiko found. Make sure that only [blue]paramiko-ng[/blue] but not [blue]paramiko[/blue] is installed."
)
return
query_args["identity"] = args.identity

if args.connection_string:
m = connect.Command.CONNECTION_PATTERN.match(args.connection_string)
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp