Gallopsled/pwntools

Use ssh with proxy_sock has some problem

Open

#1,988 创建于 2021年10月29日

在 GitHub 查看
 (2 评论) (0 反应) (0 负责人)Python (1,684 fork)batch import
buggood first issue

仓库指标

Star
 (11,127 star)
PR 合并指标
 (平均合并 18天 5小时) (30 天内合并 5 个 PR)

描述

When I use ssh with proxy_sock and proxy_sock is unix domain socket, getsockname will return '', and sockname[0] will cause an Exception

https://github.com/Gallopsled/pwntools/blob/7e03bfd5a659afeaa165094b39e0ecec90c547c4/pwnlib/tubes/ssh.py#L459-L461

贡献者指南