Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

发生未知错误,Goby 将尝试重启解决。 #483

Open
hkt1998 opened this issue Feb 11, 2024 · 2 comments
Open

发生未知错误,Goby 将尝试重启解决。 #483

hkt1998 opened this issue Feb 11, 2024 · 2 comments

Comments

@hkt1998
Copy link

hkt1998 commented Feb 11, 2024

开始扫描后出现错误,重启问题依旧存在。

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

@hkt1998
Copy link
Author

hkt1998 commented Feb 11, 2024

经过测试发现,开了clash代理才会有这个错误,不清楚什么原因?

@gobysec
Copy link
Owner

gobysec commented Feb 19, 2024

出现此报错是未选择相应的网卡,建议使用Socket模式~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants