| 1. |
Solve : telnet script? |
|
Answer» Hi It is just to provide a validationlike i said, windows telnet lack scripting components.you can either USE vbscript or programming LANGUAGES that have telnet scripting libraries, eg perl,python. Anyother way is to get those telnet clients that provide scripting components... simple example of using perl telnet module Code: [Select] use Net::Telnet (); $t = new Net::Telnet (Timeout => 10, Prompt => '/bash\$ $/'); $t->open("remoteserver"); $t->login($username, $passwd) or DIE "Cannot login. Check login and password"; |
|