Skip to content

Instantly share code, notes, and snippets.

@JburkeRSAC
Created December 26, 2018 23:38
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 JburkeRSAC/5370ab27be72b7d5f3170b294741fca8 to your computer and use it in GitHub Desktop.
Save JburkeRSAC/5370ab27be72b7d5f3170b294741fca8 to your computer and use it in GitHub Desktop.
#!/bin/bash
#argv[1] = port
while read p; do
echo "$p"
nmap $p -p $1
done <ips.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment