How to Read data from the Telnet session?
Declared [+] window DialogBox Putty [ ] tag “* – PuTTY” [ ] [ ] // Capture the screen contents and return as a list of strings [+] LIST OF STRING getScreenContents() [ ] [ ] LIST OF STRING ClipboardContents [ ] [ ] // open the system menu and select copy all to clipboard menu command [ ] this.TypeKeys(“o”) [ ] [ ] // get the clipboard contents [ ] [ ] ClipboardContents = Clipboard.getText() [ ] return ClipboardContents I then created a function that searches the screen contents for the required data to validate. This works fine for me. Here it is to study.