I will be creating a telnet application in C++ to be deployed in Linux. I created POC about it if it is possible in C++. The reason why I needed to create a telnet application is because I will be connecting to a server, run some commands there and get all the files generated by the commands.
I tried running it using system() to no avail. For some reason I could not read/get the output of the telnet so that I can input my username and password. If anyone has any idea on how to do this please help.