Skip to content

Instantly share code, notes, and snippets.

@li-ch
Created October 19, 2016 04:52
Show Gist options
  • Save li-ch/e46dd95379a9d2ef7739b5a575c23e1f to your computer and use it in GitHub Desktop.
Save li-ch/e46dd95379a9d2ef7739b5a575c23e1f to your computer and use it in GitHub Desktop.
#!/bin/bash
nmap 192.168.2.0/24 -n -sP | grep report | awk '{print $5}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment