Beruflich Dokumente
Kultur Dokumente
/bin/bash
#This will ask the user for start and end for IP range
echo "Enter start:"
read ipstart
#This will run NMAP for range and output results to a text file
while [ $ipstart -le $ipend ];
do
echo "Starting scan of 10.10.160.$ipstart"
nmap 10.10.160.$ipstart >> nmaprslts.txt
ipstart=$(( $ipstart +1 ))
done