Gallopsled/pwntools

Use ssh with proxy_sock has some problem

Open

#1988 aperta il 29 ott 2021

Vedi su GitHub
 (2 commenti) (0 reazioni) (0 assegnatari)Python (1684 fork)batch import
buggood first issue

Metriche repository

Star
 (11.127 star)
Metriche merge PR
 (Merge medio 18g 5h) (5 PR mergiate in 30 g)

Descrizione

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

Guida contributor