Guide Intro to Telnet And Hacking

Well I have written alot of papers on Hacking and now feel the time is right to publish them. This was my first paper i wrote when i got into hacking. And it has been on my computer for a long time but it is being published now. If you find the tools are old you may look for new ones or im me.

TELNET

Telnet is the basic hacking tool, which every hacker must know how to
use before he can even think about Hacking. It can be used to connect
to remote computers and to run commands by simply typing them in it's
window.Telnet does not use the resources of the client's computer but
uses the resources of the server to which the client has connected.
Basically it is a program that you will be using to connect to your
victim's computer. It just requires that you and your victim are both
conneced to the internet.
How can I connect to a remote computers using telnet?

Telnet can be started by going to start -> run and typing telnet Once
the Telnet windows pops up click on Connect->RemoteSystem then in the
host name type the host i.e. the IP address of the remote computer or
the website you want to connect to . Then in the Port select the port
you want to connect to . You can only connect to ports which are open
on the host computer.Almost always leave the TermType to vt100.We use
vt100 as it is compatible with most monitors . Then click connect and
you will be connected to the remote machine in some time.
The syntax of the telnet command from DOS prompt is
C:\>telnet <hostname.com or IP> <port>
By default port is taken as 23. Scroll down and read more about ports

What is an IP Address?

Like in this world , everyone has a Home Address so that he can be
contacted on that address , similarly all computers connected to the
Internet are assigned a unique Internet Protocol or IP address which
can be used to contact that particular computer. An IP is simply the
address of a particular computer . Every computer connected to the
internet has a differnet IP address.
An IP address is of the form: xxx.xxx.xxx.xxx .You can find your own
IP by going to start->run and typing winipcfg.If you need to connect
to a your friend's computer then you need the IP address of his
computer . There are many ways of finding out the IP address of a
person's computer without letting him know.
What exactly is a Port

There are two kinds of ports-Physical(HardWare) and Virtual(Software)
You may be thinking of ports to be the slots behind your CPU to which
you connect your Mouse or Keyboard or your monitor. These sockets are
called physical ports . We are here interested in only virtual ports.
It is nothing physical but it is kind of a virtual pipe through which
information can go in and out of the computer. A particular computer
can have a large number of ports. All ports are numbered .Now at each
port a particular service is running. A software which runs on a port
is called service . For interchanging different kinds of information
different ports are used. A typical list shows the various ports

Ping : 7
Systat : 11
Time : 13
NetStat : 15
SSH : 22
Telnet : 23
SMTP : 25
Whois : 43
Finger : 79
HTTP : 80
POP : 110

You can connect to a remote computer at a particular port. When you are
connected to that port then you can interchange information related to
that particular port only. Ports can be open or closed. If a particular
port of a computer is closed then you can not connect to that computer
on that port. Generally most of the computers have atleast 5 or 6 ports
open.

Whats a Daemon?

A daemon is a program that runs at ports. You can consider it to be a
software that manages the flow of information through the port . All
the ports can have different daemon / services running on them

Port Scanning??

It is the first step in finding a hackable server running a daemon.
Like softwares can have bugs , similarly daemons can have a hole
or a vulnerability .A hacker can utilize this hole for his purpose.
Say you want to hack into someone's server , what do you do ? You
need the IP address of the computer you want to connect to . This
is the first basic step . Once you have the IP , you need to know
which port is open so that you can connect to it . Every port may
not be open so you need to find out a list of open ports which are
running a daemon.Once you have the list of open ports on the victims
computer then you can connect to any one of those ports .For this
purpose we have port scanners. You just need to feed the IP address
into the port scanner and it will give you the list of all the open
ports of that IP.Some port scanners,alongwith the list of open ports
also gives the service running on each port and its vulnerabilities.
Once you have got the list of open ports then connect to each of them
one by one and see what daemon or service they are running.

But one thing you need to be careful about before port scanning is
that most port scanners are very easily detected and can easily be
traced and you have no excuse if you are caught doing a port scan.
It a sure sign of Hacker Activity and if the host is running the
right kind of Sniffer software maybe Etherpeek then the Port scan
can be easily detected and the IP of the user logged . Once your
IP is logged then you can be easily traced thru you internet
service provider, so be careful with port scanning.

THANKS TO HACKERZ FROM WARINDUSTRIES FOR HELP
 
@IR.Zeo - Most linux distros come with nmap preinstalled. So just fire up the terminal and type nmap and see what it does :)

off topic

@Bosky - I hear ModX got better with a few extra challenges and stuff. Check it out :)

EDIT : If you want a basic probe to see what OS a webserver is running, you can use netcraft.com. It provides very basic information on what OS a webserver is running, along with a couple of other systems in the network. The main use for netcraft is to check for uptime and stuff.
 
Last edited by a moderator:
I admit I have no experience in hacking or much anything else, but I'm planning to start. Anyway, whenever i use cd to get into the directory of nmap and say "nmap -a -t4 xx.xxx.xxx" it says nmap is invalid. What am I doing wrong?
 
where can i get something to get other peoples ip addresses. since i havent been able to find ane1s ip address ive just been trying to hacking my own computer but i havnt really figured it out. i go to
Microsoft Telnet> open (i put in my ip address her)
then i press enter
then it says coul not open connection to host on port 23
how do i do it
if u can explain this please post a reply or email me
 
nmap works flawlessly for me used to use it some 8 months back :P.
version 3.70 i think.
curra u want a tut hmm well tell first what actually u want to do nmap has numerous abilities and options.. for easy start u can try nesus too.
EDIT : sry but tht article seems really useless IMHO.
 
inzider said:
@techmaster -

Closed port
When you portscan a system, and you are scanning a port which is closed, you're port scanner is sent a packet indicating just that, i.e "This port is closed"

Filtered port
Filtered ports do not respond to a portscan at all. It is like the stealth option that most firewalls have. This way, if you try probing some IP at a particular port, the system won't respond, and you (the attacker) will think that the system does not exist. :hap5:

Go through the nmap documentation at Nmap Documentation - Free Security Scanner For Network Exploration & Security Audits.
for more information

Also, for information on deciphering the enormous amount of information that an nmap probe produces, n00bs visit
Nmap: The Art of Port Scanning

Regards
Inzider

I tried to telnet an IP address, nothing happened, the cmd screen was blank ?
what could be the reason ?
 
Hehe, good you did. I was wondering if anybody could tell me how network and system aministrators in India typically react to port scans. Do they even take notice of the fact? I mean is it considered important enough to pursue further with say law enforcement authorities? My guess would negative but I'm sure someone here can provide first hand experience. Afaik under the present IT Act, port scanning itself cannot be charged as an offence. Under the proposed amendments this might be debatable, but then, they are just that, proposed :ohyeah: Almost forgot...what are the chances of my ISP (mtnl) dumping me if the 'scanned' admins take it up with them?
 
Ok i'm a bit new to this i was reading up on it though. But when i go Start>Run>telnet it brings up a box saying Welcome To Microsoft Telnet Client. I have to hit: o then enter the IP and what do i get?

ERROR:
Could not open connection to the host, on port 23: Connect Faild.

Whys this does anyone know?
Thanks sseeker :clap:
 
Hi, i read the tut on Telnet Hacking and i get this error when i go to Run>cmd>telnet and try to connect to a IP

The Error:
Could not open connection to the host, on port 23: Connect Faild

Could anyone help?
 
ok
im new too,but im running xp
and when i open telnet and then im left there whit no commands to write
can somebody tell me what to write ohhhh
and by the way im not using it for hacking but im just testing it on my lockal network!!!!!!!!!!!!!!!!!!!!
so please help !!!!!!!!!!
 
ok
i typed in o <ip> but i dont know how to set what port to use cuz default is not opend !!!!!!!!!!!!!!!!!!
sow can anyone tel me what tyhe command is to set what port to use \
please!!!!!!
 
Back
Top