Created
May 28, 2020 07:27
-
-
Save royvandam/e261c22c63328ea1885d114939f1dc49 to your computer and use it in GitHub Desktop.
Pure SH ping host network scan
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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