143

GitHub - timest/goscan: goscan is a simple and efficient IPv4 network scanner th...

 6 years ago
source link: https://github.com/timest/goscan
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

goscan

image

特点:

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

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

Features:

  • 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

Usage:

# 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


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK