Search the Community
Showing results for tags 'telnet'.
Hi guys/girls! I'm gonna share this UDF I made today. It allows you to easily create TCP servers and set actions depending on three events: OnConnect, OnDisconnect and OnReceive. It is also multi client (you can set the clients limit) and you can also bind a Console-based executable to the socket (similar to -e parameter in NetCat). This feature is useful if you want to use some Console UDF to create your TCP server and don't want to mix it with the TCP functions. Also, as it runs on background just firing events, it won't pause your script while listening/receiving, so you can do anything els
So I have been looking into this for some time and I have not found any good answers... I would like to connect to some switches at work via telnet. I need to connect to them then check if any are err-disabled if so I then need to send the commands to enable them. Normal way we connect to do this manually In a command prompt telnet <switchname> <username> <password> show int status to clear a locked port clear port-security all config t int <port> shut no shut end show int status wr mem now I am fine if I have to make many co