Skip to content

Instantly share code, notes, and snippets.

@JburkeRSAC
Created December 26, 2018 23:38
Show Gist options
  • Select an option

  • Save JburkeRSAC/5370ab27be72b7d5f3170b294741fca8 to your computer and use it in GitHub Desktop.

Select an option

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