UGN Security
Posted By: AlienTerror Telnet??? - 11/21/02 07:04 PM
hi there everyone....

i am interested in Telnet and will do some "research" about it and wonder i anyone knows a good webpage that explains Telnet and the properties of it??? And how to use it ofcourse <img border="0" alt="[[censored]]" title="" src="graemlins/[censored].gif" />
Posted By: SilentRage Re: Telnet??? - 11/21/02 11:32 PM
Fortunately for you, telnet is really quite simple. I'll explain why anybody who knows anything about servers and protocols swears by telnet.

But first, I'll explain it's originally intended use. Telnet servers developed into well developed remote shells. In other words, by firing up telnet, and connecting to a telnet server, you can tell that server to execute various commands kind of like you do in a DOS window. Since most telnet servers are/were on linux/unix systems, the commands were exactly what you'd find on a linux/unix system. So if you want to learn how to navigate around on a telnet server, then learn about linux commands. Usually however, you don't need to for the server will tell you what to type to accomplish whatever services they're making available to you.

Now, how does telnet work? Well, a connection is established between you and the server you chose. Everything the server sends back on that connection is displayed on your telnet screen. Everything you type on the telnet screen is sent to the server. In other words, it's a RAW communication between you and a server. Such a simplistic and low-level functionality makes it very useful and powerful. For example...

Internet Explorer is a browser as you know. It's designed to connect to web servers and request files off of that server so that it may display them for you. The web server and Internet Explorer talks to each other in a very specific way called the HTTP protocol. You probably knew all that too. Well, you don't get to see what all the browser and the server is sending back and forth. Makes ya kind of curious doesn't it? What ARE they saying anyway?

So you pop out the ole telnet window. You connect to www.yahoo.com on port 80. Great, now we're staring at a blank screen with a blinking cursor - nothing is happening. The webserver is waiting for you to request a file. No more internet explorer to do it for you - you gotta type it AAAAAAAAALL out yourself. So here we go:

GET /index.html HTTP/1.1
Host: www.yahoo.com
Connection: Closed

After typing the above and pressing enter a couple of times, suddenly the server spews out this huge mumbo jumbo of HTML. You've just successfully requested a file from a webserver.

So that's all there is to it really. Many people seem to think there are special "commands" that you need to memorize to use telnet. But that isn't true. Telnet is only a RAW connection between you and a server. The "commands" are based upon what kind of server you're talking to.

So finally, here's the answer to your question. To effectively use telnet, you need to learn as many protocols as you think are interesting or useful. Secondly, if you have any desire to communicate with telnet servers, it may be worth learning how to get around linux.

Finding learning resources should be a cinch. Just search - for example - the following things:

HTTP Protocol tutorial
SMTP Protocol tutorial
POP3 Protocol tutorial
FTP Protocol tutorial
IRC Protocol tutorial
Posted By: Asteos Re: Telnet??? - 11/22/02 02:21 AM
Good answer SR
Posted By: AlienTerror Re: Telnet??? - 11/22/02 05:23 PM
Thx=), i notice i've got some reading in front of me.
Posted By: Sevareth Re: Telnet??? - 03/11/03 01:05 AM
ok... after learning all this... I want to know, is telnet good for anything other than looking at HTML? Wouldn't it just be easier to go to yahoo with your web browser?
Posted By: Gremelin Re: Telnet??? - 03/11/03 01:11 AM
Shells, eggdrop bots, connecting to servers, it has a large application.
Posted By: SilentRage Re: Telnet??? - 03/11/03 05:22 AM
yeah, if you don't understand my previous post to know better, all telnet is good for is viewing HTML. It's worthless, use IE. Now you know all those telnet junkies are a bunch of idiots.
Posted By: Gremelin Re: Telnet??? - 03/11/03 02:24 PM
Rage, all of us "telnet junkies" are linux kids... I however prefer SSH.
Posted By: SilentRage Re: Telnet??? - 03/11/03 02:30 PM
please tell me you caught the sarcasm. Why'd you even bother to correct such an obviously wrong statement... I was talking to Savereth who asked if telnet was only good for HTML when in the same damn post I mentioned other protocols you could use with it.
Posted By: Gremelin Re: Telnet??? - 03/11/03 02:34 PM
wink I figured he's too stupid to understand the sarcasm!
Posted By: Sevareth Re: Telnet??? - 03/11/03 11:43 PM
Thanks...
© UGN Security Forum