nmap fun

home | blog | Terrible people and places | Covid-19 links | Teh Internet | guest blog |rants | placeholder | political | projects | Gwen and Liam | Citadel patched | Tools | Scouts

Need a ping sweep, but don't have fping?
Try nmap:
nmap -sP > whadaya-think-about-that.out

For ipv6, (if you have all day):

nmap -6 --script=targets-ipv6-multicast-*

- or - 

ping6 -c2 -I wlan0 ff02::1

Scan top 10,000 ports:
nmap -6 --script=targets-ipv6-multicast-* --script-args=newtargets -PS --top-ports=10000

Thanks https://blog.philippklaus.de/2012/01/ipv6-tools-on-the-command-line/ for the ping6 -c2 -I iface ff02::1 trick!

Need to check out a dhcp server to gather info, but don't want to obtain a lease?
Nmap to the rescue:
Info from here: https://nmap.org/nsedoc/scripts/dhcp-discover.html
nmap -sU -p 67 --script=dhcp-discover <target>