Sie sind auf Seite 1von 7

8/27/2014 LAN hacking tips using CMD command prompt.

| Hamro Paathshala ( )
http://hamropathshala.wordpress.com/2011/01/08/lan-hacking-tips-using-cmd-command-prompt/ 1/7
Hamro Paathshala ( )
helping students to eliminate 'Digital Divide' from the world.
LAN hacking tips using CMD command prompt.
JANUARY 8, 2011 BY AFNOKATHA
(HTTP://HAMROPATHSHALA.WORDPRESS.COM/AUTHOR/AFNOKATHA/) 10 COMMENTS
(HTTP://HAMROPATHSHALA.WORDPRESS.COM/2011/01/08/LAN-HACKING-TIPS-USING-
CMD-COMMAND-PROMPT/#COMMENTS)

I am Sure u guys Know All these commands. I want to Help The Beginners.. So i am Posting This.
Useful Things to do on CMD!
First, open your Network Connection and right click and select Properties. Then Select TCP/IP and
click on Properties again. Now Click on Advanced and WINS tab. Select Default for NeBIOS.
Now back to the main Local Area Connection window, select File and Print Sharing for Mic****ft
Networks and hit enter.
This is just to make sure you have NetBIOS enabled. We will have some fun with NetBIOS on CMD.
First thing you need to know is some very helpfull commands to use on CMD(Command Prompt).
In case you dont know how to get CMD open in your box, then click on Start, then Run, then type
cmd (no quotes, off course you know the drill).
Back to commands:
CODE
nslookup
net view
net use
net user
ping
tracert
arp
route
8/27/2014 LAN hacking tips using CMD command prompt. | Hamro Paathshala ( )
http://hamropathshala.wordpress.com/2011/01/08/lan-hacking-tips-using-cmd-command-prompt/ 2/7
nbtstat
netstat
ipconfig
In case you dont know some of them, then just type the command on CMD and hit enter. A little help
will show up in your screen. Read it and understand what the command does.
Lets start easy
1) ping : This command will allow you to know if the host you pinging is alive, which means if it is up
at the time of executing the ping command.
CODE
ping x.x.x.x (x is the IP address)
or
ping http://www.whatever.com (http://www.whatever.com) (www.whatever.com is the website you
want to ping, but you dont know the IP)
OBS: Keep in mind that if the host you pinging is blocking ICMP packets, then the result will be host
down.
2) nslookup : This command has many functionalities.
One is for resolving DNS into IP.
Lets say you know the website URL but you dont know its IP(and you want to find out).
nslookup http://www.whatever.com (http://www.whatever.com) (www.whatever.com is the website
you want to find out the IP)
Now, another really nice function of nslookup is to find out IP of specific Mail Severs.
QUOTE
nslookup (enter)
set type=mx (enter)
yahoo.com
This command will give you the mail server IP of yahoo.com. You can use whatever server you want
and if it is listed on DNS, then you get the IP. Simple, isnt it?
OK, now why would you want to have an IP of a mail server?
To send spoofed mail to your friends or even for SE.
In case you looking for How to spoof email, then look for my How to spoof email tutorial
http://www.infowar.com/forums/showthread.pp;threadid=2360
(http://www.infowar.com/forums/showthread.pp;threadid=2360)
3) tracert : This command will give you the hops that a packet will travel to reach its final destination.
8/27/2014 LAN hacking tips using CMD command prompt. | Hamro Paathshala ( )
http://hamropathshala.wordpress.com/2011/01/08/lan-hacking-tips-using-cmd-command-prompt/ 3/7
OBS: This command is good to know the route a packet takes before it goes to the target box.
CODE
tracert x.x.x.x (x is the IP address)
or
tracert http://www.whatever.com (http://www.whatever.com) (www.whatever.com is the website you
dont know the IP)
4) arp : This command will show you the arp table. This is good to know if someone is doing arp
poisoning in your LAN.
QUOTE
arp -a
5) route : This command will show you the routing table, gateway, interface and metric.
CODE
route print
6) ipconfig : This command will show tons of very helpful things.
Your IP, gateway, dns in use.
CODE
ipconfig
or
CODE
ipconfig /all
this command will give all that info but for all networks you might have it.
Also, in case you have a dynamic IP and want to change it, then type
CODE
ipconfig /release (this will release your IP)
ipconfig /renew (this will renew your iP)
OBS: Keep in mind that those commands will change your IP, but the new IP will still be tighed up to
you. So dont do anything stupid.
7) netstat : This command will show you connection to your box.
CODE
netstat
8/27/2014 LAN hacking tips using CMD command prompt. | Hamro Paathshala ( )
http://hamropathshala.wordpress.com/2011/01/08/lan-hacking-tips-using-cmd-command-prompt/ 4/7
or
CODE
netstat -a (this will show you all the listening ports and connection with DNS names)
netstat -n (this will show you all the open connection with IP addresses)
netstat -an (this will combined both of the above)
8)nbtstat : This command will show you the netbios name of the target box.
CODE
nbtstat -A x.x.x.x (x is the IP address)
nbtstat -a computername
net view x.x.x.x or computername (will list the available sharing folders on the target box)
Now some hints:
CODE
net use \ipaddressipc$ /user:administrator
(this command will allow you to connect to the target box as administrator)
Now if you want to connect to the target box and browse the entire C drive, then use this command:
CODE
net use K: \computernameC$
(this will create a virtual drive on your my computer folder)
OBS: Keep in mind that this will only works if the target box doesnt have an administrator password
set.
And least but not last, the help command.
CODE
whatevercommand /help
CODE
whatevercommand /?
This command will help you to understand what it does and all the switchs available for each
command.
Very useful if you know the command, but forgot the right switch.
FILED UNDER IT NEWS TAGGED WITH HACKING, LAN, NETWORK About these ads (http://en.wordpress.com/about-
these-ads/)
8/27/2014 LAN hacking tips using CMD command prompt. | Hamro Paathshala ( )
http://hamropathshala.wordpress.com/2011/01/08/lan-hacking-tips-using-cmd-command-prompt/ 5/7
10 Responses to LAN hacking tips using CMD command prompt.
fat camps says:
November 8, 2011 at 3:33 am
Probably this blogs greatest post on the web

4

5

i
Rate This
Reply
database support says:
May 23, 2012 at 12:38 am
This is very nice article, it has given good detail of networking commands. As many of site has the
details information of these commands, but never explained about how to use it.
And here it is, seems you have worked very hard to write this article, thank you

5

5

i
Rate This
Reply
database services says:
May 23, 2012 at 12:39 am
Nice article

5

5

i
Rate This
Reply
ndeya says:
8/27/2014 LAN hacking tips using CMD command prompt. | Hamro Paathshala ( )
http://hamropathshala.wordpress.com/2011/01/08/lan-hacking-tips-using-cmd-command-prompt/ 6/7
June 28, 2012 at 4:27 pm
this is marvelous nice stuff

2

0

i
Rate This
Reply
ali says:
June 29, 2012 at 8:45 pm
cant understand

1

0

i
Rate This
Reply
Thiyagesh says:
July 12, 2012 at 11:31 pm
it was amazing i got many information from this please post more to admire us

1

1

i
Rate This
Reply
Mehwish says:
September 12, 2012 at 11:11 pm
thanks

0

3

8/27/2014 LAN hacking tips using CMD command prompt. | Hamro Paathshala ( )
http://hamropathshala.wordpress.com/2011/01/08/lan-hacking-tips-using-cmd-command-prompt/ 7/7
i
Rate This
Reply
Durgarao says:
September 17, 2012 at 2:19 pm
Thanks a lot
Its very helpful to me

2

1

i
Rate This
Reply
mmm says:
October 1, 2012 at 9:03 pm
thanks for sharing knowledge

2

1

i
Rate This
Reply
Pingback: BUKUKU
Create a free website or blog at WordPress.com.
The Enterprise Theme.
Follow
Follow Hamro Paathshala ( )
Powered by WordPress.com

Das könnte Ihnen auch gefallen