Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How to Read data from the Telnet session?

Data read session telnet
0
Posted

How to Read data from the Telnet session?

0

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.

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123