Gallopsled/pwntools

Use ssh with proxy_sock has some problem

Open

#1.988 aberto em 29 de out. de 2021

Ver no GitHub
 (2 comments) (0 reactions) (0 assignees)Python (1.684 forks)batch import
buggood first issue

Métricas do repositório

Stars
 (11.127 stars)
Métricas de merge de PR
 (Mesclagem média 18d 5h) (5 fundiu PRs em 30d)

Description

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

Guia do colaborador