Skip to content

Instantly share code, notes, and snippets.

@gounthar
Last active January 29, 2019 18:30
Show Gist options
  • Save gounthar/2b4372abd7a623f7cf670575a76026d1 to your computer and use it in GitHub Desktop.
Save gounthar/2b4372abd7a623f7cf670575a76026d1 to your computer and use it in GitHub Desktop.
for i in $(seq $ip_start $ip_end);do sudo nmap -sP 10.XX.$i.0/24 | awk '/^Nmap/{ip=$NF}/B8/{print ip}';done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment