Thread: hostnames with Nmap for Conky?
i'm not sure if right forum this, seeing how beginner awk, nmap , conky, think might place.
i'm trying setup basic security system our open wireless channel. i've decided try use nmap detect new hosts , conky report it. i've got simple works ok:
${execi 100 nmap -sn 192.168.1.0/24 | awk -f " |/" '/report/ {print $5;}'}
however, tested firing windows 7 machine doesn't have more exotic windows security essentials, not show in host list. read suggestion perhaps it's rejecting pings, able find nmap -pn, doesn't work subnet scan- never reports back.
can ip report hosts, i'd rather grab hostname because system relies on me identifying hostnames sight.
considering dumping periodically table, if did that, @ minimum want both ip , hostname, whole other kettle of fish.
else doing this, or point me in right direction more comprehensive scan results? don't need told exact thing, pointing out obvious missed appreciated.
in advance.
i like
code:sudo arp-scan -i wlan0 192.168.1.0/24|grep -o $'^[0-9.]*\t'|xargs -d\\n -i@ sh -c 'echo "$0\c"; host -i $0|awk "{print \$nf}"' @
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support New to Ubuntu [all variants] hostnames with Nmap for Conky?
Ubuntu
Comments
Post a Comment