Sign in to follow this  
Followers 0

Computer Info Telnet Server

5 posts in this topic

Posted (edited)

Just some fun from the other day, when I wanted to learn a little more about Telnet servers...

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 it:

Download includes main script, and CompInfo.au3.

Telnet Computer Info Server.zip

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.

Step 1)

Start the server. You may compile and run, or just run it directly from SciTe.

Step 2)

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.

Step 3)

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.

Step 3)

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

Software

Hardware command can be:

Drives

Printers

Processors

BIOS

SoundCards

VideoCards

Keyboard

Mouse

SystemProduct

NetworkCards

System

Monitors

Motherboard

Battery

Memory

Software Commands can be:

Startup

Software

Users

Groups

Services

Threads

Processes

OSs

Shares

EventLogs

BootConfig

Extensions

Desktops

DependentServices

PrintJobs

LoggedOnUsers

Known Bugs:

Backspace issues, password being shown etc...

Enjoy!

Brett

Edited by BrettF

Share this post


Link to post
Share on other sites



Posted

Nice piece of code mate :(

Haven't tested it, just looked over the code. In the event that I'll need it sometime the thread earned a bookmark :(

Keep up the good work. >_<

Share this post


Link to post
Share on other sites

Posted

Thanks!

Cheers,

Brett

>_<

Share this post


Link to post
Share on other sites

Posted

looks soooo good !!!! i will try now

Share this post


Link to post
Share on other sites

Posted

After sending the data to the telnet client, you forget to send the CompInfo> string again, so it looks like it's pausing.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.