Hello Friends. Today i am going to tell you about some amazing cmd commands which is used in hacking. These cmd commands are really useful in hacking to gathering information about the websites such as IP Address and other important details about the website. So let’s start :-
This command will allow you to know if the host you pinging is alive or not. You just need to type command ‘ping’ and website_url or IP Address that you want to check.
Ping Syntax :
ping x.x.x.x (x is the IP Address)
ping website_url (such as www.bing.com)
This command has many functionalities. In that functionalities one is for resolving DNS(Domain Name Server) into IP. Lets suppose you know the website URL (Uniform Resource Locator) but you don’t know its IP. You want to find it out. You just need to type the command ‘nslookup’ and website url.
nslookup Syntax :
nslookup website_url( such as www.yahoo.com)
This command will give you the hops that a packet will travel to reach its final destination. This command is really helpful if you know the route a packet takes before it goes to the target box. For doing this you need type command ‘tracert’ and website_url or IP Address.
tracert Syntax :
tracert x.x.x.x ( x is the IP address )
tracert website_url (such as www.google.com )
This command will show you the arp table. You can find out if anyone has done arp poisoning in your LAN ( Local Area Network ). This command is really helpful in LAN for performing different tasks.
arp Syntax :
Arp syntax :
ARP -s inet_addr eth_adr [if_addr]
ARP -d inet_addr [if_addr]
ARP -a [inet_addr] [-N if_addr]
-s -> Adds the host and associates the Internet address inet_addr with the physical address eth_addr.
-d -> Deletes the host specified by inet_addr.
-a -> Displays current ARP entries by interrogating the current protocol data.
inet_addr -> Specifies an Internet address.
eth_adr -> Specifies a physical address
-N if_addr -> Displays the ARP entries for the network interface specified by if_addr.
if_addr -> If present, this specifies the Internet address of the interface whose address translation
table should be modified. If not present, the first applicable interface will be used.
This command will show you the routing table, metric, interface and gateway. You just simply need to type the command ‘route’ and print.
route Syntax :
This command will show you a lot of useful things like your DNS (Domain Name Server) , IP, Gateway in use etc. It will give all that information but for all networks you might have it.
ipconfig Syntax :
–> net view
This command will show you all the IP Addresses of the LAN (Local Area Network). You just need to type the command ‘net view’.
net view Syntax :