Quick lan scan

Sometimes, you just loose track of what’s on the network. If you want to scan you lan, here’s a quick and dirty way (from a host with netcat installed. I’m using ubuntu’s BSD version )

(NOTE: Only do this on networks you own/are authorized to. You can get in trouble with this one)

https://nmap.org/book/legal-issues.html

https://www.isecom.org/research.html

Assumptions

  • network is 10.0.100.0/24
  • your host is on the same network
  • you have ports you know should be open.
    • in the example I’m looking for port 80

$> for i in {1..254}; do nc -w 1 -zv 10.0.100.$i 80; done