cmd: nmap
July 13, 2020 —
cmcipriano
calculate all the ips on a cidr using nmap
$: nmap -sL {*} | grep 'Nmap scan report' | awk '{print \$NF}' | cut -d '(' -f 2 | cut -d ')' -f 1
where {*} is the CIDR
Tags: terminal-commands
calculate all the ips on a cidr using nmap
$: nmap -sL {*} | grep 'Nmap scan report' | awk '{print \$NF}' | cut -d '(' -f 2 | cut -d ')' -f 1
where {*} is the CIDR
Tags: terminal-commands