Welcome Guest ( Log In | Register )



 
Reply to this topicStart new topic
> Telnet, what is it?
spiritwolf
post Mar 29 2005, 01:31 AM
Post #1


Newbie [ Level 1 ]
Group Icon

Group: Members
Posts: 5
Joined: 29-March 05
Member No.: 3,340



I know telnet is like an ftp but when i connect to a server i dont know what to do with is.


Notice from microscopic^earthling:
Wrong forum. Moved to Networking.
Go to the top of the page
 
+Quote Post
qwijibow
post Mar 29 2005, 02:23 AM
Post #2


Way Out Of Control - You need a life :)
Group Icon

Group: Members
Posts: 1,366
Joined: 14-September 04
From: Nottingham England
Member No.: 570



Telnet used to be used for remote coman line logins. but today we use shh(secure shell) because of its encryption support.

when you run the command "telnet <server> <port>"
a tcp open connection request is sent to the specified port on the specified server. then assuming the server accpts the connection you an now *talk* to the server.

And data that the server sends you, regardless of type will be displayed on the screen in ascii code. And keys that you hit will be sent to the server.

so for eample, if i ran "telnet yahoo.com 80" i would connect to yahoo's web server (port 80 is standard http)

i would then sen HTTP requests like "GET /index.html"
the server woul send the html code of index.html.

if i sent the request "GET /picy.jpg" the binary data of the picture would be dumped to screen (would look like random garbage)

you can use telnet to connect to any server which uses a plain english protocol, like http, pop / smtp mail servers, telnet servers.

but you would have a very hard time using telnet to connect to a counter strike server, or an encrypted protocol like https, ssh, or anything through an OpenSSH tunnel.

Go to the top of the page
 
+Quote Post
techocian
post Mar 29 2005, 12:20 PM
Post #3


'Prentice de-Zighner
Group Icon

Group: Members
Posts: 368
Joined: 23-January 05
From: USA
Member No.: 2,290
myCENTs:93.97



So is telnet still being used for any other uses except MUD games? I see more people using telnet for MUDs than doing some sort of crazy application regarding the interaction between server and yourself?
QUOTE
i would then sen HTTP requests like "GET /index.html"
the server woul send the html code of index.html.

if i sent the request "GET /picy.jpg" the binary data of the picture would be dumped to screen (would look like random garbage)

During your explanation of your version of what telnet is like, i can tell something very suspicous coming out of your text. OK I'm thinking: If you are able to just type GET/ index.html from the yahoo server (Of course i know its protected) then are you able to GET more things out of it? This telnet thing might be a key tool in a hacker's kit.
Do you think so?
Go to the top of the page
 
+Quote Post
qwijibow
post Mar 29 2005, 12:53 PM
Post #4


Way Out Of Control - You need a life :)
Group Icon

Group: Members
Posts: 1,366
Joined: 14-September 04
From: Nottingham England
Member No.: 570



When you point your web browser at yahoo.com/index.html all your web browser is doinf is making a connection to port 80, and sending that same GET command to the web server (apache / IIS)

And yes, telnet can be used to do naughty things.
for example, most web sites prevent image hot linking (linking an image on their server from a different web site) that way this works is by looking at the HTTP command "REFERER" and making sure that the parameter to this command is a web page on the same web server.

you could quite easily use telnet to send a http request with a false referer parameter, and hotlink protection would not work.

but there's nothing hacker like about it. its just great for learning how protocols work.

read the post in the tutorials section about how to communicate wih a mail server, and send and recieve email using telnet.
Go to the top of the page
 
+Quote Post
moonwitch
post Mar 29 2005, 08:46 PM
Post #5


Demonic Enforcer
Group Icon

Group: [HOSTED]
Posts: 597
Joined: 2-March 05
From: Belgium
Member No.: 2,861



I have one question though - how do you send multiple lines at once using telnet?

In my case it's for a cyber war challenge... been sitting here for hours LOL

GET *******/level19.php HTTP/1.1
Referer : http://blahblah.com
User-agent : some name they invented

The issue is, I can connect perfectly ok, the GET works, I get a success, but I need to be able to send the referer and User-agent in ONE line, since after the GET the connection closes.

In case someone doubts my intentions - it is legal LOL.

I am also wondering, I use FireFox and am a member of a few MSN groups, now when you post through the webpage in IE it gives you a nice looking WYSIWYG type of thing. Sadly in any browser othen than IE (blegh) it doesn't display and you are forced to use either plain text or pure hmtl... Maybe changing the User-agent in your browser someway may solve that???
Go to the top of the page
 
+Quote Post
redsox58
post Mar 29 2005, 09:20 PM
Post #6


Advanced Member
Group Icon

Group: Members
Posts: 169
Joined: 19-January 05
Member No.: 2,221



QUOTE(techocian @ Mar 29 2005, 07:20 AM)
So is telnet still being used for any other uses except MUD games? I see more people using telnet for MUDs than doing some sort of crazy application regarding the interaction between server and yourself?

During your explanation of your version of what telnet is like, i can tell something very suspicous coming out of your text. OK I'm thinking: If you are able to just type GET/ index.html from the yahoo server (Of course i know its protected) then are you able to GET more things out of it? This telnet thing might be a key tool in a hacker's kit.
Do you think so?
*



What are MUD games?
Go to the top of the page
 
+Quote Post
qwijibow
post Mar 30 2005, 01:26 AM
Post #7


Way Out Of Control - You need a life :)
Group Icon

Group: Members
Posts: 1,366
Joined: 14-September 04
From: Nottingham England
Member No.: 570



QUOTE
GET *******/level19.php HTTP/1.1
Referer : http://blahblah.com
User-agent : some name they invented


someone's not been reading up on http protocol.
the get command means "send me the goods"

the get command whould be th last command you send.

get a packet sniffer, get it to sniff only outgoing traffic to port 80, then point your browser at a web page...

read the packet data from the first sniffed packet, you can see exactly what http commands firefox or whatever sends.
Go to the top of the page
 
+Quote Post
emersonbrum
post Apr 25 2005, 11:12 PM
Post #8


Newbie [ Level 2 ]
Group Icon

Group: Members
Posts: 10
Joined: 25-April 05
Member No.: 4,355



I have a doubt about it:
when I run Telnet or SSH..
Am I using my processor, I'd say .. does my machine stay busy when I to do something remote ?
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Telnet Abuse (free Streaming Media !)(9)
  2. How Do You Telnet Through Proxy?(3)
  3. Is There Anyway To Get Telnet Access?(3)
  4. Console Required(1)
  5. Putty: A Free Telnet/ssh Client(0)


 



- Lo-Fi Version Time is now: 2nd December 2008 - 05:18 PM