|All requests||>||What is the best PHP telnet class?||>||Request new recommendation||>||Featured requests||>||No recommendations|
by Ali - 5 years ago (2015-01-21)
I want telnet to a device but my application needs to login using first username and then password.
I want a class to solve this problem automatically.
It seems you need a solution to wait for the login prompt, enter the user name, wait for the password prompt, enter the password and then execute some custom commands.
In that case this class seems to be exactly for that purpose. It uses finite state machines to let you build a robot that can automatically login for you.