calebstewart / pwncat

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

no attribute 'load_private_key' #255

Open NA3 opened 2 years ago

NA3 commented 2 years ago

image

Bug Description

error when trying ssh connection with id_rsa

System version

image

pwncat version

Version :

>>> pwncat-cs --version
0.5.4

Target System (aka "victim")

https://app.hackthebox.com/machines/Response

Steps to Reproduce

pwncat-cs -i id_rsa scryh@response.htb pwncat-cs -i ./id_rsa scryh@response.htb

DanaEpp commented 2 years ago

I have success when pointing to the file directly. Can you try this and see if it works (adjusting for whatever path you need):

pwncat-cs -i ./id_rsa scryh@response.htb

Tested successfully on KALI rolling and Ubuntu 22.04 on pwncat-cs 0.5.4

NA3 commented 2 years ago

same error pointing the file directly

image

MichaelMarcelKZ commented 1 year ago

I have the same error here... :/

NA3 commented 1 year ago

i reinstal it on an env and now all it working as exepected