Files
ReachableCEO-ShellScriptPor…/generateComprehensiveInventory.sh
2024-12-11 13:03:15 -06:00

9 lines
205 B
Bash

#!/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