What it does:
This code allows you to retrieve information from the computer running the server, through the telnet interface. Only users with access can be allowed to access the information, which is hard coded into the script. The computer's information is retrieved by using CompInfo.au3.
Download includes main script, and CompInfo.au3.
Telnet Computer Info Server.zip 26.07KB 692 downloads
How do I use it?
First off, the easiest way is probably to test it in your local network... So that is how I shall do these steps.
Start the server. You may compile and run, or just run it directly from SciTe.
Take note of the local IP that the server is running on. In my case, it is 192.168.0.100, so I will use this as an example.
Go to another computer (or the same) and go to run. Type in "telnet 192.168.0.100" without the quotes, replacing my IP with the one you noted in step 2.
Now you can use the server. To log in, the default is "Username" and "pass" (case sensitive) which you must enter without pressing backspace... It doesn't like backspace. Once logged in successfully, you can run commands in the GET <TYPE> <COMMAND>.
Type can be any one of the following:
Hardware command can be:
Software Commands can be:
Backspace issues, password being shown etc...
Edited by BrettF, 11 August 2009 - 10:11 PM.