www.flickr.com
This is a Flickr badge showing items in a set called Gadgets and stuff. Make your own badge here.

Basics of NMAP basics

NMAP is probably best port scanner and network exploration/security auditing tool what you can find for free.
So here is some really basic things how to use it.

There is many ways to scan with nmap:

Using wildcard mask: nmap 192.168.0.*
Scan’s 192.168.0.0 – 192.168.0.255

With range: nmap 192.168.0.1-100
Scan’s 192.168.0.1 – 192.168.0.100

Using notation: nmap 192.168.0.1/24
Scan’s 192.168.0.1- 192.168.0.255

Find out what operating systems this computer/devices are using:
sudo nmap 192.168.0.* -O

Do ping scan: sudo nmap 192.168.0.* -sP
TCP connect scan: sudo nmap 192.168.0.* -sT
SYN Stealh scan: sudo nmap 192.168.0.* -sS
UDP Scan: sudo nmap 192.168.0.* -sU

Verbose Mode: sudo nmap 192.168.0.* -sP -v
Verbose mode will give you more information about what NMAP is doing.

So if you example want to find DHCP servers from 192.168.0.1 – 192.168.0.255 ip range you can use nmap like this:

nmap -sU 192.168.0.1/24 -p 67-68

It goes thru all IP’s from 192.168.0.1 – 192.168.0.255 and check ports 67 and 68 from every client.

  • Twitter
  • Digg
  • Facebook
  • del.icio.us
  • LinkedIn
  • Slashdot
  • Google Bookmarks
  • HackerNews
  • Reddit
  • StumbleUpon
  • FriendFeed
  • PDF
  • email
  • Haohao
  • Identi.ca
  • Live
  • MSN Reporter
  • 豆瓣
  • 豆瓣九点
  • MySpace
  • Netvibes

1 comment to Basics of NMAP basics

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

CommentLuv Enabled