emptymonkey / revsh

A reverse shell with terminal support, data tunneling, and advanced pivoting capabilities.
MIT License
458 stars 90 forks source link

SIGPIPE SOCKS crash Fix #17 #20

Closed ghost closed 6 years ago

ghost commented 6 years ago

Ignoring Signal SIGPIPE will fix this crash This usually happens when you write to a socket already closed on the other end (client) side The client program (browser using the SOCKS) doesn't wait till all the data from the server is received and simply closes the socket which crashes controller if SIGPIPE is not handled.