Skip to content

Instantly share code, notes, and snippets.

@avarx
Created August 15, 2016 05:05
Show Gist options
  • Save avarx/bb46cd161322b1c7833dfca536f98fbd to your computer and use it in GitHub Desktop.
Save avarx/bb46cd161322b1c7833dfca536f98fbd to your computer and use it in GitHub Desktop.
sudo nmap -sP 192.168.2.0/24 | awk '/^Nmap/{ip=$NF}/00:00:00/{print ip}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment