blob: c764f011b73bc218108e75d755124306b7356dc1 (
plain)
1
2
3
4
5
|
#!/bin/bash
net="$(ip r | grep -v default | awk '{print $1}' | dmenu -p a)"
echo -e "Please wait while scanning $net\n"
nmap -sn "$net" | grep "Nmap scan report for" | sed 's/(\|)//g' | awk '{print $5 " " $6}' | column -t
|