Skip to content

Instantly share code, notes, and snippets.

@yassinagx
Created April 21, 2016 13:00
Show Gist options
  • Save yassinagx/f77d77d69f5ff87e2bbdb15a171d5c86 to your computer and use it in GitHub Desktop.
Save yassinagx/f77d77d69f5ff87e2bbdb15a171d5c86 to your computer and use it in GitHub Desktop.
sudo nmap -sP 192.168.1.0/24 | awk 'BEGIN{ORS=" "}/^Nmap/{ip=$NF}/B8:27:EB/{print "pi@"""ip}' | pbcopy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment