Skip to content

Instantly share code, notes, and snippets.

@bdpuk
Created January 21, 2013 17:01
Show Gist options
  • Select an option

  • Save bdpuk/4587464 to your computer and use it in GitHub Desktop.

Select an option

Save bdpuk/4587464 to your computer and use it in GitHub Desktop.
pingsweep to full portscan
nmap -sP 192.168.0.1/24 -vv -n | grep -v "host down" | grep "scan report" | cut -f 5 -d " " | xargs nmap -p- -sSVC -vv -n --exclude <ownip> -oA filename
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment