Tagged Questions
-1
votes
1answer
255 views
How to “grep -v” private/broadcast IPv4 addresses?
time nmap -n -iR 0 -sL | cut -d " " -f 5 | egrep -v "^10.*|^172.[16\-32].*|^192.168.*|^[224\-255].*" > RANDOM-IPS.txt
so the important part is:
egrep -v ...