Full Version: Telnet
virus
Hey there techies tongue.gif
I've been reading the posts here and I must say that I really like this forum, from an aesthetic point of view and also from the technical point of view. I find the members here very co-operative and concerned, which is very nice. And as per my analysis, we have a good lot of experienced people here. That makes this forum standout in a class of its own. I've been to other forums, but this one is very 'open' and mature, I may say. I hope to get good support from the techies here .. rolleyes.gif
Got a question upfront .... its regarding telnet. I've tried get some tutorial on telnet but they aren't what I want. The thing is that my network security scanner shows that there are open ports on the target machine. When I double click on an port, it opens up a telnet connection on that port. It brings up the command prompt window and says 'Connecting to Telnet 21*.1**.**1.**1' but when I press any key, the windows closes. What's going on?
waitin for replies ...
wei
hi :-)
telnet service opens port 23, and you can connect it with DOS prompt, type:
telnet [destination]
if you want to know how to use telnet command, type telnet /? and you'll see some instructions.
w00dy
Most likely, double clicking on the port or computer or watever just opens up a telnet session so u can see the banner which, when poorly configured states the name and version of the service running on that port. When it cant connect, it will close the window because the telnet session is over. Whereas if u open a DOS prompt and then manually telnet, when the session ends, it returns to the command prompt.
GSecur
Woody is right on this one. If you actually want to open a port on a machine beside the usual telnet service you should configure your line as follows.

telnet xxx.xxx.xxx.xxx 80

In this case you would be connecting on port 80.
virus
^Right ... the above works for a server, as in your example but I'm connecting to a workstation running XP. Anywayz ... I tried what woody and the others suggested but failed to establish a session.
The command: telnet -l username ipaddress 23
I get 'Could not open connection to the host, on port 23. A socket operation was attempted to an unreachable network" Am I going wrong somewhere.
I tried to schedule the telnet service using the 'at' command but I get an error message saying 'Access Denied' sad.gif Now, What I want to know is how do I start a service remotely? If I have to provide a user name to enable a service, how do I do that? (I have a username and password)
Man I feel like a complete amateur huh.gif , I should have posted this in the newbie section. *Smack, man I get excited at times.
P.S: The mods can move this thread to the Newbie section is they like smile.gif
Jay
Hi Digger Hope this tutorial help's you out.Telnet -The number one Hacker's tool
GSecur
By the sounds of your error it means that the machine is not accepting telnet connections. There is a post on this board that discusses remote starting of telnet but you must already have a certain level of control on the machine. I will look for it.
ComSec
have you tried different terminals.. list as follows..

vt100
vt220
vt230
ansi
xterm
qnx

try a different string vt220 or 230

check also you have the latest winsock installed...and check firewall settings.... switch it off.. then try.

Rigpa
An oldtimer (just like me ) but still worth reading since the basics never changed may be found here
Telnet (Mining the Net, part I) and following sites thereafter wink.gif

EDIT: doh! werenīt awake , brainlagged and badly missing caffeine input when i first read your post, digger, sorry, i missed the XP part .
Itīs not necessarily so that your telnet skills are lackin anything, it might as well be the case itīs the XP workstation ya try to connect to. XP got some weird behavior regarding ICS and NAT settings internally. Actually i only got aware of that when i fell over
QUOTE
'Could not open connection to the host, on port 23. A socket operation was attempted to an unreachable network"

If this XP box ya mention, has been setup using itīs Network Config Wizzard or how thatīs called, chances are :

WARNING #1: When you enable ICS, the network adapter connected to the local area network is assigned a static IP address of 192.168.0.1. The client computers are assigned other IP addresses in the 192.168.0.x range. These addresses may not be compatible with an existing network

hence it doesnīt find it and throws : unreachable network when you use the ip:port you got from the external (outward) scanning, at least thatīs my thoughts on that....

So i suggest you check the ICS settings on that XP box first, some hints on that maybe found here and here
you may also want to check M$īs support sites on such error msg on the following URLīs :
Top 25 articles on XP throwing: cannot connect..
Something is not a socket
telnet to any ip on port ...
HTH rolleyes.gif
GAN_GR33N
first of all it can't be xp home because it does'nt have telnet server on it only pro
second u need 2 map an admin share with an admin user pass combo
all windows telnet servers require NTLM authentication by default meaning u must be logged in locally with a user /pass that will work on the remote computer so you may be better of uploading netcat. the "net start tlntsvr" is really just showing off. if i was really cracking a system i would not start opening services for the admin 2 notice. it is only to illistrate the point that any command will work and that if u know your way around ms-dos you can pull off just about anything on a windows box

good luck and if i can help with anything else just ask
hks-3207
telnet is coool, if you want some tips u can visit here
=k3Rn=
sorry - wrong windows / post sad.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.

 
Invision Power Board © 2001-2005 Invision Power Services, Inc.