#!/bin/sh # (c)2003 by Jan Krupa (krupaj@mobilnews.cz) # http://www.mobilnews.cz/honza/ NMAP_PATH=nmap ping_host_all=""; for LINE in `cat $1`; do ping_host=`echo -n $LINE | awk -F\; '{ printf "%s", $2 }'`; ping_host_all="${ping_host_all} ${ping_host}"; done $NMAP_PATH -vnsP $ping_host_all | awk -F\ '{ if ($1=="Host") { if (match($2, /\(/) == 0) { printf "%s;", $2; } else { printf "%s;", substr($2, 2, (length($2)-2)); } if ($6=="up.") printf "1;0;\n"; else printf "0;0;\n"; } }'; WebSVN - netmap - Blame - Rev 27 - /gen_onestat_nmap
  jablonka.czprosek.czf

netmap

Subversion Repositories:
[/] [gen_onestat_nmap] - Blame information for rev 27

 

Line No. Rev Author Line

Powered by WebSVN 2.2.1