Jump to content

Recommended Posts

Posted

Ostensibly, most open ports are services, so you should connect to the remote PC's open ports with the client that utilizes them. Port 21 is usually FTP. 22 is usually SSH. 80 is usually HTTP (web server) and so on and so forth. THIS may help you out.

You can try to use a command line tool to see if the port responds. I usually choose netcat (nc.exe on windows, nc on Linux/BSD/OS X).

In the case of both telnet and netcat, just use the following syntax:

telnet (or nc) hostname port

Here, I'll use nc to connect to the SSH port on my DMZ box:

chimaera:~ axon$ nc bouncer.labs.h-i-r.net 22

SSH-2.0-OpenSSH_5.1

Protocol mismatch.

Telnet is not only "noisier" (displaying a lot of extra stuff to you) but it doesn't always generate a clean TCP session that contains ONLY what you type. It tries to perform a telnet handshake, which can throw some results off. Regardless, this is the same thing done with telnet.

chimaera:~ axon$ telnet bouncer.labs.h-i-r.net 22

Trying 192.168.0.10...

Connected to bouncer.labs.h-i-r.net.

Escape character is '^]'.

SSH-2.0-OpenSSH_5.1

Protocol mismatch.

Connection closed by foreign host.

Hope this helps.

Posted
I want to know can we connect remote pc's open port.

What are the different ways . . and what is the command used in telnet to conect.

Besides the tools listed above, using a simple Python script (or any language that supports sockets), you can just create a socket and have it connect to the port on the remote machine.

Posted

... if you are able to telnet ie your in the remote box, how do you send and receive file's\folders with out installing any programs, using standard "xp" also note: they are on different networks

Posted
... if you are able to telnet ie your in the remote box, how do you send and receive file's\folders with out installing any programs, using standard "xp" also note: they are on different networks

Could you please translate this into English?

I think you're asking for how to transfer files using Telnet. It's my understanding that it depends on the version of Telnet you're using. If it's simply text, just cat the file. If there's a lot of files, it'd probably be easier to just install FTP on the remote system or something.

Posted

Depending what port you connect to, you will have to specify the appropriate commands. For example, if you connect to port 80 of a web server you would type the following:

cmd > telnet www.google.com 80

cmd > GET /

press return, you will get the whole index page of Google.

I recommend you use Netcat as it works better.

The same is valid for other ports, just know what protocol you are using. Good Luck!

Posted
If there's a lot of files, it'd probably be easier to just install FTP on the remote system or something.

well............. if lets say i have two box's (newly installed operating system i.e XP no extra software nothing, but telnet services are enabled) i have physical to only one box, but throught it can access/ telnet the other box

how am i gonna install FTP on the remote box?

Posted

Sorry guys don't want to look like and idiot, I am new to all this, but I

still didn't get is there a chance to connect to someons machine if I

can see he's got open ports and what kind of sofware I need.

Thanx

Posted
For linux, SSH FTW. Encryption and speed all in one package.

An SSH client won't connect to any open port and allow you to interact with it, telnet will.

Posted
An SSH client won't connect to any open port and allow you to interact with it, telnet will.

Good point. That was supposed to in reply to the earlier post. I was thinking in a more narrow spectrum, as in remoting in to another computer. And in my opinion, SSH is a perfect utility for that.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...