nmap [raspberry pi]

simply install nmap:
sudo apt-get install nmap

install nmap with gui:
sudo apt-get install zenmap

check the ip address of a device in your network if you know the MAC address:
sudo nmap -sP 192.168.1.0-60 | awk ' /^Nmap/{ ip=$NF }/80:1F/ { print ip }' #80:1F are the first things from the mac-address of my edimax wifi adapter 0-60 means it only searchs the first 60 ips, thats a lot faster than all with 0/24

some other tests for nmap:
sudo nmap -oS -sP NMAP 192.168.1.0-254
sudo nmap -sP 192.168.1.0/24
nmap -sn 192.168.1.0/24
sudo nmap -O 192.168.1.1

nmap scripts folder:
/usr/share/nmap/scripts/

some more infos:
https://nmap.org/docs/nmap-mindmap.pdf

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s