sudo nmap -n -sn 10.62.226.159/24 | awk '/Nmap scan report/{printf $5;printf " ";getline;getline;print $3;}'
Created
August 21, 2018 11:26
-
-
Save sysarcher/6a22dea72c5b9fbae975f5e0277eb6ff to your computer and use it in GitHub Desktop.
Get MAC addr using nmap
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment