Skip to content

Instantly share code, notes, and snippets.

@carlosrabelo
Created June 23, 2023 14:58
Show Gist options
  • Save carlosrabelo/831e7c86e0333625033e353515f2cec2 to your computer and use it in GitHub Desktop.
Save carlosrabelo/831e7c86e0333625033e353515f2cec2 to your computer and use it in GitHub Desktop.
ping scanner
#!/bin/bash
nmap -n -sn 192.168.0.0/24 -oG - | awk '/Up$/{print $2}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment