How do I see if an established socket is stuck on a server that's expecting input?
- by Parker
I have a script that scans ports for open proxy servers. Problem is if it encounters a login program (specifically telnet) then it hangs there forever since it doesn't know what to do and eventually the server closes the connection.
The simple solution would be to create a bunch of cases. If telnet, do this. If SSH, do that. If something else,…