goscan is a simple and efficient IPv4 network scanner that discovers all active devices on local subnet.
Switch branches/tags
Nothing to show
Clone or download
Failed to load latest commit information.
src/main allow nnon root user to execute by compare with euid Nov 21, 2017
.gitignore Initial commit Oct 28, 2017
LICENSE Initial commit Oct 28, 2017
README.md add github.com/google/gopacket Nov 14, 2017





  • 扫描整个内网IPv4空间
  • 向整个内网发送ARP包
  • 显示IP/MAC地址/主机名/设备厂商名
  • 利用SMB(Windows)和mDNS(Mac OS)嗅探内网主机名(hostname)
  • 利用MAC地址计算设备的厂商信息

更多细节可以查看 用Go开发可以内网活跃主机嗅探器


  • Scan the whole IPv4 address space
  • Scan your local network with ARP packets
  • Display the IP address, MAC address, hostname and vendor associated
  • Using SMB(Windows devices) and mDNS(Apple devices) to detect hostname


# install dependencies
$ go get github.com/Sirupsen/logrus
$ go get github.com/timest/gomanuf
$ go get github.com/google/gopacket

# build
$ go build

# execute
$ sudo ./main  
# or
$ sudo ./main -I en0

Goscan must run as root.

Goscan work in Linux/Mac using libpcap and on Windows with WinPcap.

If you need English comments, check this fork: https://github.com/skoky/goscan/tree/english