HFX Forum

General Discussion => General Discussion => Topic started by: Dean on September 25, 2004, 08:45:40 PM

Title: Can you hack with telnet
Post by: Dean on September 25, 2004, 08:45:40 PM
i dont understand telnet want can you do with it?
Title: Re:Can you hack with telnet
Post by: Metgod on September 25, 2004, 11:13:32 PM
depends.. I'm really tired and about to go to bed but will try to answer...

it's really old for these days but it still has its uses. It's basically remote terminal emulation.

Some systems still have the telnetd (telnet daemon) running, and so you can remotely log in with that. Others (those who understand the risks of plain text) run sshd (secure shell daemon). To make it easier to understand, ssh is basically telnet but has a lot more features (like secure copy.. and such) and is more secure (encrypted). And to make it easy (and too tired to explain anyway), a shell is an interface to the operating system (say, unix or linux or windows even).

It really depends.. many other programs can use 'telnet-like' interfaces...

It basically opens a connection to the computer specified (by the ip address or hostname) and allows you to either view what's there or remotely execute commands (usually requires logging in.. i.e., with a login and password).

In short... it's just a way to connect to another computer, remotely (not local) or locally (the same computer)...

So you can do a lot with it. If you want to read all the info on it, either look at the manual for telnet (if you can get a hold of it. not sure if you would have a unix system.. guessing not).. or read the RFC (request for comment, which iwll be in more detail and longer)..

Here :

ftp://ftp.rfc-editor.org/in-notes/rfc854.txt

Hope that helps.

I'm off for now.. feel free to respond and I'll get back to you.

Met

Title: Re:Can you hack with telnet
Post by: Dean on September 28, 2004, 07:31:31 AM
Thanks a lot.
But would i be able to like get there computer screen up?
i g2g bi!
Title: Re:Can you hack with telnet
Post by: Cobra on September 28, 2004, 08:01:06 AM
Nope, You would be remotely connecting to a shell.

If you wanted to get a visual screen up, you would need to use something line VNC or something. But you wouldn't be doing any hacking with that. It just allows you to remotely admin a system by displaying the remote pc display onto your local display.

Telnet just allows you to login to a shell that would look something like a DOS prompt box or a Unix Shell.

I find telnet still usefull for Banner Grabbing and the like.
Title: Re:Can you hack with telnet
Post by: Dean on September 28, 2004, 03:47:30 PM
Quote from: Cobra on September 28, 2004, 08:01:06 AM
Nope, You would be remotely connecting to a shell.

If you wanted to get a visual screen up, you would need to use something line VNC or something. But you wouldn't be doing any hacking with that. It just allows you to remotely admin a system by displaying the remote pc display onto your local display.

Telnet just allows you to login to a shell that would look something like a DOS prompt box or a Unix Shell.

I find telnet still usefull for Banner Grabbing and the like.
Oh i understand now. But what's VNC and where could I get it?
Title: Re:Can you hack with telnet
Post by: Metgod on September 28, 2004, 06:06:49 PM
I can't remember what it stands for off the top of my head, but if I remember right, it's Virtual Network Computer. Anyway, it has two parts (like most things on the Internet) :

a client (the program connecting to it)
a server (the program feeding/serving/whatever it is to the client).

Telnet is another example.. telnet client and telnet server (you'll often hear daemon instead of server in the unix world though).

It's basically another way to connect to machines, only it's also possible to do it (at least semi) graphically. You can use a mouse and the like. I guess you could relate it to a 'visual server' in a way.

That's it in a nutshell.

http://www.realvnc.com

should also be of some help.

Met
Title: Re:Can you hack with telnet
Post by: Dean on September 28, 2004, 08:14:12 PM
Quote from: Metgod on September 28, 2004, 06:06:49 PM
I can't remember what it stands for off the top of my head, but if I remember right, it's Virtual Network Computer. Anyway, it has two parts (like most things on the Internet) :

a client (the program connecting to it)
a server (the program feeding/serving/whatever it is to the client).

Telnet is another example.. telnet client and telnet server (you'll often hear daemon instead of server in the unix world though).

It's basically another way to connect to machines, only it's also possible to do it (at least semi) graphically. You can use a mouse and the like. I guess you could relate it to a 'visual server' in a way.

That's it in a nutshell.

http://www.realvnc.com

should also be of some help.

Met

THANKS you guys are the man!
Title: Re:Can you hack with telnet
Post by: Dean on September 28, 2004, 08:20:37 PM
A sever is like 198.369.249 right?



sorry for all the questions!
Title: Re:Can you hack with telnet
Post by: Metgod on September 28, 2004, 09:08:12 PM
That would be the IP Address, but as long as it's serving 'something' (on the Internet for example), then I suppose you could call it a 'server'.

There are two different 'types' of servers that I can think of...

1. the actual hardware. There are certain systems that are called servers. Often they are mounted on racks (rack mounted systems against a wall with all the cables feeding from/to one place.. just as an example).

2. the actual process on a system (whether its a hardware server or just a PC really doesn't matter).

So let's say you have apache running on your PC. Then you could basically say you are running a web server (because apache is an http/web process that serves it).

Although I don't have 'a hardware server' (technically it's just a PC), it is a server in that I do serve some things off of it.

Some Operating systems are better for running these types of applications, just like some are better for networking.

Example is DOS is pretty .... bad for networking. But Unix is a native network operating system and is quite good for it and servers.

That type of thing.. so it just depends on how you look at it.

I answered that in a hurry as I have little time before I have to go to a doctor appt. And I'm sure some others here would have more to add.

Feel free to ask more questions either way and I'll get back to you.

Take care,
Met

Title: Re:Can you hack with telnet
Post by: Dean on September 28, 2004, 09:22:09 PM
Can you just give me an ex.?  ??? :-\ please
and where could i find the sever (im going to look on the internet for that now)
Title: Re:Can you hack with telnet
Post by: Cobra on September 29, 2004, 05:46:05 AM
Okay another example of a server would be:

A server is something that serves (Hence being called a server). So for now just look at it as anything that provides a service. Be it a shell account, web hosting, ftp, e-mail. That is a server.

Now most companies would build & design systems specifically to deal with this tasks. Like take for example a company called IE Internet.. They are an Irish web hosting company. They would have a Web Farm of servers, just loads of servers built to do nothing else but provide a service.

That would be the basic uses of a server.

Another way of explaining a server would be the software that the average "joe show" can run on his home XP or 98 machine.

The VNC software is a good example. It needs a server and a client. The server you can install on your machine and it provides a service. That service can then be used by any machine connecting to it using a compatible client.

Does that make sense?
----------------------

The IP address that you typed " 198.369.249" wouldn't be correct. The IPv4 standard is 4 blocks like 192.168.0.1. This is currently what is in use on the internet today. This is a public address for a specified machine. When you connect a PC to the internet it is given a unique public IP address.

You may want to read up on IPv4 and IPv6. I'm sure Metty or someone would have links to the RFC's.
---------------------------------------

As for finding a server. I'm not sure what you mean? Are you referring to finding the VNC server online? Any server in general? Or are you trying to find a specific server?

Anyway.. Hope that helps.. If not .. Just ask away.


Title: Re:Can you hack with telnet
Post by: Dean on September 29, 2004, 07:23:52 AM
So like aol is a sever?
Title: Re:Can you hack with telnet
Post by: Metgod on September 29, 2004, 09:20:48 AM
Yeah, it's important to know that the IPs don't have that high numbers. It's from 0 - 255 on each of the four octets.

And 255 is a broadcast address (meaning everything on that subnet). So 192.168.1.255 would basically go to everything on that subnet. (192.168.x.x, is one of the IP ranges reserved for internal networks; i.e., NO computer on the Internet will have it [at least not officially.. spoofing is another story]).

Now, AOL is not a server per se.. it is an internet service provider.

But it runs servers. That's the key. In fact, the machines you connect to to log in to the Internet (using aol for example) are servers, but the ISP itself is not a server...

Hope that helps..

And yes, as Cobra said, if you want, I have ample documentation for all of this ... It is kind of dry though ...

Cheers,
Metty
Title: Re:Can you hack with telnet
Post by: Dean on September 29, 2004, 03:10:45 PM
Im starting to get this stuff but do you know of any websites that name severs?
Title: Re:Can you hack with telnet
Post by: Metgod on September 29, 2004, 06:33:04 PM
do you mean a web site that lets you do hostname/ip lookups ?

Try for example ...

http://www.networksolutions.com (that's a major registrar -- i.e., a place you register domains)

another one that I just found by google is :

http://www.dnsstuff.com/

Not sure if that's what you're after though ...

Met


Title: Re:Can you hack with telnet
Post by: Dean on September 29, 2004, 09:32:34 PM
It KEEPS ON SAYING "Not A Sever"


........is there anything like IP hacking because i know sooo much more about that (sorry for all of this)
Title: Re:Can you hack with telnet
Post by: Metgod on September 30, 2004, 12:08:34 AM
Err.. what says it isn't a server and when does it say it ?

Gotta go.. will answer tomorrow.. it's rather late

Met
Title: Re:Can you hack with telnet
Post by: Dean on September 30, 2004, 03:22:55 PM
Well sometimes "conectsion timed out"
Title: Re:Can you hack with telnet
Post by: Cobra on September 30, 2004, 06:44:41 PM
I'm a bit lost here. Dean man.. give us as much info as you can on what you are trying to do.
Title: Re:Can you hack with telnet
Post by: Dean on September 30, 2004, 06:55:09 PM
ok well i still don't think i got this sever down  :-\  but is a sever like a.......i down know a website?
if you could like instead of examples can you give me a REAL sever name like the thing i would type in when i click on that program?



....
Title: Re:Can you hack with telnet
Post by: Dean on September 30, 2004, 06:57:18 PM
or like tell me what you would do step by step

......or what do you hack with?
like what stuff!!
Title: Re:Can you hack with telnet
Post by: Cobra on October 01, 2004, 08:05:35 AM
Haha...

Okay .. lets take google.com for example.

if you go to a DOS prompt and do

ping www.google.com

You will see an IP address getting returned. That is the Public address for the webserver that holds that part of the google.com website.

google.com = 64.233.167.99

So then if you were to do a port scan on that IP address you will probably find loads of services open that will confirm it is a Web Server.

Ya with me now?
Title: Re:Can you hack with telnet
Post by: Dean on October 01, 2004, 03:28:37 PM
yea i get it now but can you tell me where i could get a port scanner?
Title: Re:Can you hack with telnet
Post by: Metgod on October 01, 2004, 04:38:36 PM
Try nmap for example ...

http://www.insecure.org/nmap

Title: Re:Can you hack with telnet
Post by: Dean on October 01, 2004, 04:42:56 PM
ok look like can you tell me what to type in for the website (like what YOU would type in for the viewer program)
Title: Re:Can you hack with telnet
Post by: Dean on October 01, 2004, 04:43:59 PM
im really sorry im making you  >:( mad
Title: Re:Can you hack with telnet
Post by: Cobra on October 01, 2004, 04:44:54 PM
Come on man.. We have been helping ya out quite a bit. You'll need to put some effort in yourself.
Title: Re:Can you hack with telnet
Post by: Dean on October 01, 2004, 04:47:04 PM
Quote from: Cobra on October 01, 2004, 04:44:54 PM
Come on man.. We have been helping ya out quite a bit. You'll need to put some effort in yourself.
i know! but i still dont know what a sever name is like is it a website something like that. it might just be my computer thats not working. but what would you guys type in!
Title: Re:Can you hack with telnet
Post by: Dean on October 01, 2004, 04:49:20 PM
i guess i really dont understand this! just forget it i guess
Title: Re:Can you hack with telnet
Post by: Metgod on October 01, 2004, 05:02:25 PM
That question was already answered ... you know, the first answer to this question ...

One more time :

a server name is an intangable thing. It's notlike "well this name looks like a server name so it must be a server"

It's not the name that makes a server, it's the actual machine/software!

Some advice... and dont' take this the wrong way.. not trying to be mean or anything... but this is how you learn in this world.. so...

Show you've done research! And show that you're really trying. I mean _really_ trying. You might actually get a lot more out of it, not only from others but yourself. If you look at the other posts, you'll see people have, for example, shown code they're working on and we help them redesign it to do something.. etc..

It seems to me you just want a step by step guide of how to hack a server ... the reality is, as I pointed out earlier on : it's not a magic trick! It depends on each server and there is no such thing as a step by step 'tutorial'.

You MUST do a lot of research. And I mean a _LOT_.
And you MUST take time. A _LOT_ of time. Etc.

As The Mentor once said .. you can read all the files you want .. but until you actually do something ... you'll be a neophyte.

That's good advice for anything in this world. Learning is a long process that looks like this :

1. Read and study.
2. Experiment.
3. Start over

Oh well.. hopefully you get the idea ...

Met



Title: Re:Can you hack with telnet
Post by: Dean on October 09, 2004, 11:23:55 AM
ok well i tried hacking with telnet and i got to the step with the login name and password.........well i tried like you said.........and i got rid of the worm/virus on my computer i did what you said to go on safe mode.
But how would i find out the login name and password.

and no i did not send myself a virus i just have the download on my computer so i can send it to people....
Title: Re:Can you hack with telnet
Post by: Metgod on October 09, 2004, 03:02:05 PM
Ok.. I think I've had enough of you .... do you really think I'm so thick as to help you any more after what you said -- in the last week -- and now ?  I already told you that's not what we're about.

Now... give me one GOOD reason I should not remove all your posts and ban you ... maybe even more ...