Created
December 22, 2020 20:40
-
-
Save K-Francis-H/d4a3291c89c88bed158d167156848f42 to your computer and use it in GitHub Desktop.
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
| #!/bin/sh | |
| IPs=$(sudo arp-scan -l -q | awk '{print $1}' | grep -E [0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\} ) | |
| for ip in $IPs | |
| do | |
| #nmap -O $ip | |
| echo $ip | |
| done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment