Goscan is a network scanner using ICMP to detect hosts. The CLI tool scans network interfaces, and the server provides a web interface for enumerating alive hosts.
- CLI tool:
go build ./cmd/goscan.go
- Server:
go build ./web/goscan-server.go
CLI Tool:
goscan --interface eth0 --timeout 1000 --measure
goscan -i eth0 -t 1000 -m
If no interface is specified, it scans all available interfaces.
Server:
./goscan-server --listen-address "192.168.1.1" --listen-port "8080" --timeout 500
./goscan-server -l "192.168.1.1" -p "8080" -t 500
CLI Tool:
--interface, -i: Specify network interface (optional).
--timeout, -t: Timeout in milliseconds (default: 500).
--measure, -m: Enable execution time measurement.
Server:
--listen-address, -l: IP address for the server (default: "0.0.0.0").
--listen-port, -p: Port number (default: "8080").
--timeout, -t: Timeout in milliseconds (default: 500).
Administrator privileges are required for network scanning operations.