Skip to content

Instantly share code, notes, and snippets.

@vmwsree
Created March 5, 2018 07:16
Show Gist options
  • Save vmwsree/55642dea6e3e513935cffa9c7afde01b to your computer and use it in GitHub Desktop.
Save vmwsree/55642dea6e3e513935cffa9c7afde01b to your computer and use it in GitHub Desktop.
sudo nmap -sP 172.168.0-255.0-255 |awk '/^Nmap/{ipaddress=$NF}/B8:27:EB/{print ipaddress}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment