From 46fda327cc63b39e3f4c08f8cf8313b1e9c70766 Mon Sep 17 00:00:00 2001 From: Sourav Bagh <58340694+souravbaghz@users.noreply.github.com> Date: Sat, 1 Oct 2022 02:20:13 +0530 Subject: [PATCH] Create nmap-loop.sh --- nmap-loop.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 nmap-loop.sh diff --git a/nmap-loop.sh b/nmap-loop.sh new file mode 100644 index 0000000..efbd760 --- /dev/null +++ b/nmap-loop.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +#Usage of Script: ./nmap-loop.sh ip-list.txt +#By souravbaghz + +#Loopfunction +cat $1 | while read line; do + echo "---------------------------------" + echo "Nmap Started for $line" + nmap -sV $line +done