Network hacking is generally means gathering information about domain by using tools like telnet, nslookup, ping, tracert, netstat etc. It also includes OS fingerprinting, port scanning and port surfing using various tool.
Ping: Ping is part of ICMP (Internet Control Message Protocol) which is used to troubleshoot TCP/IP networks. So ping is basically a command that allows you to check whether the host is alive or not.
To ping a particular host the syntax (at command prompt)-
C :/> ping hostname.com

Various attributes used with ‘ping’ command and their usage can be viewed by jest typing c :/> ping at the command prompt.
Netstat: It displays protocol statistics and current TCP/IP network connection. I.e. local address, remote address, port number etc.
Its syntax is (at command prompt)-
C :/> netstat-n

Telnet: Telnet is a program which runs on TCP/IP. Using it we can connect to the remote computer on particular port. When connected it grabs the daemon running on that port.
The basic syntax of telnet is (at command prompt)
C :/> telnet hostname.com
By default telnet connects to port 23 of remote computer.
So the complete syntax is-
C :/> telnet www.hostname.com port
Tracert: It is used to trace out the route taken by the certain information i.e. data packets from source to destination.
Its syntax is (at command prompt)-
C :/> tracert www.hostname.com


No comments:
Post a Comment