dnscat2
dnscat2 copied to clipboard
When a client loses a connection, attempt to re-connect
Right now when a client becomes unable to connect, it'll try to repeat its last message 10 times (by default), then give up and exit.
Instead of doing that, I want to switch back to STATE_NEW and start trying to send SYN packets to the server until the server returns. That way, the server crashing won't "lose" clients.