1.windows下ping

for /L %I in (1,1,255) do @ping -w 1 -n 1 10.0.0.%I | find /i "ttl="

2.Linux下ping

for i in 192.168.1.{1..254}; do if ping -c 3 -w 3 $i &>/dev/null; then echo $i is alived; fi; done

3.Nbtscan

https://github.com/charlesroelli/nbtscan

http://www.unixwiz.net/tools/nbtscan.html#download

基于netbios协议探测主机

Nbtscan.exe 10.10.10.1/24

4.ptscan

https://github.com/phantom0301/PTscan

pyinstaller -F -w ptscan.py
python PTscan.py -h 10.10.10 -p 80,8080,8888 -m 50 -t 10 -n -b

5.fscan

https://github.com/shadow1ng/fscan

fscan.exe -h 10.0.0.0/24 -o 10_0_0_0.txt