Pentest Book
Search…
Network Scanning

Netdiscover

1
netdiscover -i eth0
2
netdiscover -r 10.11.1.1/24
Copied!

Nmap

1
nmap -sn 10.11.1.1/24
2
nmap -sn 10.11.1.1-253
3
nmap -sn 10.11.1.*
Copied!

NetBios

1
nbtscan -r 10.11.1.1/24
Copied!

Ping Sweep - Bash

1
for i in {1..254} ;do (ping -c 1 172.21.10.$i | grep "bytes from" &) ;done
Copied!

Ping Sweep - Windows

1
for /L %i in (1,1,255) do @ping -n 1 -w 200 172.21.10.%i > nul && echo 192.168.1.%i is up.
Copied!
Last modified 1yr ago