The following are the IP utilities available in Windows that help in finding out the information about IP Hosts and domains. These are the basic IP commands that every beginner in the field of hacking must know!
Please note that the the term Host used in this article may also be assumed as a Website for simple understanding purpose.
1. PING
PING is a simple application (command) used to determine whether a host is online and available. PING command sends one or more ICMP “Echo message” to a specified host requesting a reply. The receiver (Target Host) responds to this ICMP “Echo message” and returns it back to the sender. This confirms that the host is online and available. Otherwise the host is said to be unavailable.
Syntax: C:\>ping gohacking.com
2. TELNET
Telnet command is used to connect to a desired host on a specified port number. Just like a house having several doors, a host or a server has different ports running different services. For example port 80 runs HTTP, port 23 runs TELNET while port 25 SMTP. Like this there are several ports on a server through which it is possible for a remote client to establish a connection.
For a connection to be established, the port has to be open. For example, in the following command, we are trying to establish a connection with the Yahoo server on port 25.:
Syntax: C:\>telnet yahoo.com 25 C:\>telnet yahoo.com
3. NSLOOKUP
Many times, we think about finding out the IP address of a given site. Say for example google.com, yahoo.com, microsoft.com etc. But how to do this? There are several websites out there that can be used to find out the IP address of any given website. However, in the Windows operating itself, we have an inbuilt tool to do this job for us. It is called “nslookup”.
This tool can be used for resolving a given domain name into its IP address (determine the IP of a given site name). Not only this, it can also be used for reverse IP lookup. That is, if the IP address is given it determines the corresponding domain name for that IP address.
Syntax: C:\>nslookup google.com
4. NETSTAT
The netstat command can be used to display the current TCP/IP network connections. For example, the following “netstat” command displays all the currently established connections and their corresponding listening port numbers on your computer.
Syntax: C:\>netstat -a Type "Ctrl+Z" to exit.
This command can be used to determine the IP address/Host names of all the applications connected to your computer. If a hacker is connected to your system even the hacker’s IP is displayed. So, the “netstat” command can be used to get an idea of all the active connections of a given system.
hi srikanth ..
pls tell me where these syntax i have to use & how?????
are these to use in command promt or where??/
i m unable to do it in command prompt..
i m not finding any thing
where this nslookup option is in my computer .how can i find it . my os is window xp.
pls tell me every thing.
thanks
@ raj
You have to use these in the command prompt.
Goto start menu,run and type cmd in the run box.You’ll be taken to the command prompt where you’ll be able to enter these commands.
Hello,
you forgot nbtstat.
It’s useful when there is no DNS resolution.
@ Ardeck
Thanks for your feedback. I’ll add it to my post
please discuss the telnet in details.I have some problem.
1.From where i can collect my login name and password?I use LAN connection in my college.I tried to log into my host ip adress.I’m a newbie in hacking .
2.When i tried to connect any site through telnet it alaways show “connection fail.”whats the problem?
please help.
@ ujwal
To connect to a remote system through telnet, the target computer port must be open for which you are attempting. Many firewalls running on the target computer reject incoming connectings.
HELOO
I have typed netstat and its showing many connections(TCP)
and also som foreign address
their status is showing established and others net:http
my question is What is this?
hi, i learn alot from your website. um even able to use ol d comands except the telnet one, i would be very gratefull to you if u’ll discuss it briefly.can you explain a bite more about the terminologies like listening, foreign address, *:*,wwc which are present under active connectons heading while using the netstat command.
thankss man ican do many things now.
could u tell me about backtrack 4 , how can i start.
Yup..!!
These all things we learnt in linux course but you explained it better than our sir…thanx yar…. u made me 2 bcome ur fan….!!!
can you tell me what is ur qualification…
what is the difference between nslookup and tracert?
@ Ikki
“nslookup” is an online web tool to lookup and find IP address information in the DNS (Domain Name System). “tracert” command helps you to trace the route from your computer to the target domain or website. It will show you exactly how the packets travel from your computer to the destination network and also the number of hops.
can you please tell me about foreign address when we use netstat command…………
hey shrikant i’m a regular reader of ur notes published!
U said that ‘nslookup’ command will help u know the IP address of associated website(HOST).
I practically did it in 2 ways:
1)by command(using : nslookup google.com).
Result-“Server:dns1.dwl.co.in
Address:202.148.202.3”
2)thru a website(http://www.selfseo.com/find_ip_address_of_a_website.php)
Result:-“The IP address of http://www.google.com is 74.125.79.99
The IP address 74.125.79.99 is assigned to Great Britain (UK) ”
Now the point to conclude is that IP adress of same HOST is different for each of above two ways.
Kindly note this & let me know the reason!
Thanking You!
wow i love u syntaxes they really work
wow realy amazing man…great work… i like ur way.i surf daily many sites bt i dont even get minimum basics abt it,,, i love ur site man. al d best t ur bright future
But still we are confused because lot of connections are there how to know this with nslookup tool and ping utility and explain other useful command thanks 🙂
i am using windows 8, how can i use all these commands? pls help!!!
These commands don’t work for me in windows 8 command prompt I keep getting C:\ is not recognised as a batch file etc. usually that means I have put it in the wrong command or that it doesn’t exist. However I think my computer is messed up r something because ipconfig doesn’t work either. Other than that I have never tried any other commands. Is there somewhere I can possibly download these commands?
Thank you
you’re really a good webmaster. The web site loading pace is incredible.
It kind of feels that you’re doing any unique trick.
Also, The contents are masterpiece. you have done a fantastic process on this subject!