Ludo blog

en
Sep 2010
Mo Tu We Th Fr Sa Su
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30

nmap

Nmap 3.70 released -> http://www.insecure.org/

this simple command allows to know which local hosts are up:

nmap -sP <masked IP network>   (ex: nmap -sP 192.168.1.0/24 )

This friendly scanning can be added to the crontab, allowing a daily report of the open ports:

nmap -sT -P0 -sV <host> 2>&1 | mail -b <your mail> \
 -s "[nmap] `date -I` scan report" <host_owner_mail>

For IPv6:

nmap -sT -6 -P0 -sV <host|ipv6>
by ludovic Bellier on Thu Sep 23 12:17:29 2004 (Viewed: 987 / 0 comments )
  |   RSS  |   RSS2  |   Atom  |   Source  |   Edit
Comments not allowed anymore on this post