Attack Map

"Absorb what is useful, discard what is useless and add what is specifically your own."
– Bruce Lee

Friday, September 17, 2021

Network Discovery using nmap

 nmap is a powerful tool, there are so many options using this swiss army knife. One of my favorite things to do is setup sending a daily report for all online machines on my local network.

The first part requires running nmap with privileged access using the sudo command this way nmap can leverage the ARP scanning aside from just doing ICMP:

    sudo nmap -sn 192.168.100.0/24 -oX out.xml 

The next step is simply converting the out.xml file into an html file. I use the saxon tool which allows the conversion from xml to html     

    saxon -a out.xml -o:out.html

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Threatpost

Dark Reading:

Lifehacker

The Register - Security

Malware Must Die!

Help Net Security

The State of Security

Security Affairs