Anyone can help me to do the following?
Im new to php as i had did it using python but i not sure how to write it in php as it does not have any telnet module.
Write a PHP code using proc_open()
the commands are
1. telnet 10.247.5.3
2. when login prompt, type xxx
3. when password prompt, type zzz.
4. run the command sh run.
thanks!
Im new to php as i had did it using python but i not sure how to write it in php as it does not have any telnet module.
Write a PHP code using proc_open()
the commands are
1. telnet 10.247.5.3
2. when login prompt, type xxx
3. when password prompt, type zzz.
4. run the command sh run.
thanks!
Comment