Open hkt1998 opened 4 months ago
开始扫描后出现错误,重启问题依旧存在。
error最后几行
2024/02/11 22:32:11 start first round ARP 2024/02/11 22:32:11 routine-send out panic: mismatched hardware address sizes
goroutine 6239 [running]: git.gobies.org/goby/portscanner/pcapsend.(PcapSender).SendARP(0xc00e90e1b0, {0xc0066be24c, 0x4, 0x4}) git.gobies.org/goby/portscanner@v0.0.7/pcapsend/send.go:1412 +0x3e7 git.gobies.org/goby/portscanner/pcapsend.(PcapSender).sendArpIfNeed(0xc00e90e1b0, {0x7ff6b4f2a420, 0xc00bd74640}, 0xc00c7fbee8?) git.gobies.org/goby/portscanner@v0.0.7/pcapsend/send.go:1551 +0x3db git.gobies.org/goby/portscanner/pcapsend.(PcapSender).SendPackets(0xc00e90e1b0, {0x7ff6b4f2a420, 0xc00bd74640}, 0xc00c7fbfd0?, 0x7ff6b31c55e7?, 0xc0080e97b0?) git.gobies.org/goby/portscanner@v0.0.7/pcapsend/send.go:1580 +0x138 created by git.gobies.org/goby/portscanner.(PortScanner).startPcapScan in goroutine 1698 git.gobies.org/goby/portscanner@v0.0.7/portscanner.go:219 +0x268
log文件
scan_error.log
经过测试发现,开了clash代理才会有这个错误,不清楚什么原因?
出现此报错是未选择相应的网卡,建议使用Socket模式~
开始扫描后出现错误,重启问题依旧存在。
error最后几行
2024/02/11 22:32:11 start first round ARP 2024/02/11 22:32:11 routine-send out panic: mismatched hardware address sizes
goroutine 6239 [running]: git.gobies.org/goby/portscanner/pcapsend.(PcapSender).SendARP(0xc00e90e1b0, {0xc0066be24c, 0x4, 0x4}) git.gobies.org/goby/portscanner@v0.0.7/pcapsend/send.go:1412 +0x3e7 git.gobies.org/goby/portscanner/pcapsend.(PcapSender).sendArpIfNeed(0xc00e90e1b0, {0x7ff6b4f2a420, 0xc00bd74640}, 0xc00c7fbee8?) git.gobies.org/goby/portscanner@v0.0.7/pcapsend/send.go:1551 +0x3db git.gobies.org/goby/portscanner/pcapsend.(PcapSender).SendPackets(0xc00e90e1b0, {0x7ff6b4f2a420, 0xc00bd74640}, 0xc00c7fbfd0?, 0x7ff6b31c55e7?, 0xc0080e97b0?) git.gobies.org/goby/portscanner@v0.0.7/pcapsend/send.go:1580 +0x138 created by git.gobies.org/goby/portscanner.(PortScanner).startPcapScan in goroutine 1698 git.gobies.org/goby/portscanner@v0.0.7/portscanner.go:219 +0x268
log文件
scan_error.log