#!/bin/bash #A script to generate a comprehensive list of responsive hosts OUTPUT_FILE="/tmp/network-scan" for subnet in $(cat ../input/SubnetList); do zmap -M icmp_echoscan -o $OUTPUT_FILE $subnet done