Skip to content

Instantly share code, notes, and snippets.

@sayantanHack
Created May 23, 2021 04:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sayantanHack/16132179d56365bba88681e0f3724b18 to your computer and use it in GitHub Desktop.
Save sayantanHack/16132179d56365bba88681e0f3724b18 to your computer and use it in GitHub Desktop.
#!/bin/bash
file="ip.txt"
i=1
while read line ; do
echo "[+] Scan Started $line ... ";
nmap -sS -p- -v -A -T3 -sC -sU -O -oN /home/kali/Desktop/nmap_output/$line $line -oA $line
echo "Scan Finished $line"
i=$((i+1));
done < $file
@sayantanHack
Copy link
Author

An automated script which run Nmap command , IP will be taken from a text file . It will create output against each IP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment