{% extends "core/layout.html" %} {% block custom_head %} {% endblock %} {% block main %}
Visualize nmap verbose message and take that information to build a graph. In this example the nmap verbose output will be parsed for open ports and invididual graph will be built for that host.
You'll need some data to visualize. Open a shell and paste this into it (make sure you adapt the command line to your system, e.g. change the NIC interface name):
$ stdbuf -oL nmap -v scanme.nmap.org | stdbuf -oL egrep "open port" | stdbuf -oL awk -f web/mod_nmap/scripts/open_ports.awk | stdbuf -oL sed 's/"/\\"/g' | xargs -n 1 -I % sh -c "echo '%' | nc localhost 8081"