Created
July 9, 2026 04:28
-
-
Save stephenlauck/3de2f1f05253fcaf7de0b99b88db64c8 to your computer and use it in GitHub Desktop.
example nmap
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
| sudo nmap -n -sn -T5 --min-rate 5000 --host-timeout 500ms --min-parallelism 100 192.168.20.0/24 | grep -E "Nmap scan report|MAC Address" | awk '/scan report/{ip=$NF} /MAC/{print ip, $3}' | grep "$(virsh domiflist n5-wandr | awk '/br0/{print toupper($5)}')" | awk '{print $1}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment