How to convert CIDR to IP Range using nmap command
nmap -sL 10.0.0.12/28 | grep "Nmap scan report"
Nmap scan report for 10.0.0.0
Nmap scan report for 10.0.0.1
Nmap scan report for 10.0.0.2
Nmap scan report for 10.0.0.3
Nmap scan report for 10.0.0.4
Nmap scan report for 10.0.0.5
Nmap scan report for 10.0.0.6
Nmap scan report for 10.0.0.7
Nmap scan report for 10.0.0.8
Nmap scan report for 10.0.0.9
Nmap scan report for 10.0.0.10
Nmap scan report for 10.0.0.11
Nmap scan report for 10.0.0.12
Nmap scan report for 10.0.0.13
Nmap scan report for 10.0.0.14
Nmap scan report for 10.0.0.15
nmap -sL 10.0.0.12/28 | grep "Nmap scan report" |grep -Eo '[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}'… Read the rest