fast-scanner can make it easy for you to develop scanners
- Support CONNECT & SYN method
- SYN scanning method is similar to masscan stateless scanning
- Support IPv4 & IPv6
- Support Windows & Linux
- Scan result is a string channal
windows:
Winpcap or Npcap
linux:
apt-get libpcap-dev
yum install libpcap-devel
wget https://github.com/For-ACGN/fast-scanner/install.sh
chmod +x install.sh && ./install.sh
targets:
"1.1.1.1, 1.1.1.2-1.1.1.3, 1.1.1.1/24"
"2606:4700:4700::1001, 2606:4700:4700::1002-2606:4700:4700::1003"
ports:
"80, 81-82"
Options:
see options.go
s, err := scanner.New("1.1.1.1-1.1.1.2, 2606:4700:4700::1001", "53-54", nil)
if err != nil {
log.Fatalln(err)
}
err = s.Start()
if err != nil {
log.Fatalln(err)
}
for address := range s.Result {
log.Print(address + "\r\n")
}
1.1.1.1:53
[2606:4700:4700::1001]:53
1. target support IPv6 CIDR
2. BPFFilter for IPv6
_ = handle.SetBPFFilter("tcp[13] = 0x12")
is not support IPv6
3. PF_RING