Created
August 7, 2018 11:32
-
-
Save danielreiser/c71b40fe84cd9a5461c4dd797e3630a4 to your computer and use it in GitHub Desktop.
Scan subnet for connected client, output IP & MAC-Address
This file contains 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
nmap -n -sP 172.16.57.0/24 | awk '{printf $5;printf " ";getline;getline;print $3;}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment