Skip to content

Instantly share code, notes, and snippets.

@royvandam
Created May 28, 2020 07:27
Show Gist options
  • Save royvandam/e261c22c63328ea1885d114939f1dc49 to your computer and use it in GitHub Desktop.
Save royvandam/e261c22c63328ea1885d114939f1dc49 to your computer and use it in GitHub Desktop.
Pure SH ping host network scan
for i in $(seq 1 254); do ping -w1 -c1 10.0.0.$i > /dev/null; if test $? -eq 0; then echo $i; fi done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment