Other method

Bash Ping Sweeper

1
#!/bin/bash
2
for lastOctet in {1..254}; do
3
ping -c 1 10.0.0.$lastOctet | grep "bytes from" | cut -d " " -f 4 | cut -d ":" -f 1 &
4
done
Copied!

Port Scanning with NetCat

1
nc -nvv -w 1 -z host 1000-2000
2
nc -nv -u -z -w 1 host 160-162
Copied!

Port Scanning with Masscan

1
masscan -p1-65535,U:1-65535 10.10.10.x --rate=1000 -e tun0
Copied!
Last modified 1yr ago