Skip to content

虚拟机仅主机模式情况无法使用 #544

@little-2pig

Description

@little-2pig

VMware虚拟机使用仅主机模式(192.168.13.128),通过宿主机(192.168.13.1)socks5或者http代理访问互联网,代理正常

在pcap模式下使用goby后选择网卡192.168.13.128,扫描后报错

服务中断。

发生错误。程序遇到了意外的错误终止了,请重启程序。我们深表歉意给您带来的不便。如果您有任何疑问,请联系我们。

panic: could not find any network interface. 

goroutine 520 [running]:
git.gobies.org/goby/portscanner.(*PortScanner).startPcapScan(0xc002915500, {0x7ff7fce4a880?, 0xc00d2b1090}, 0xa6e50000a6a0?, 0xc0085fba40, 0xc0085fbaa0)
	git.gobies.org/goby/portscanner@v0.0.7/portscanner.go:207 +0x40f
created by git.gobies.org/goby/portscanner.(*PortScanner).Start in goroutine 124
	git.gobies.org/goby/portscanner@v0.0.7/portsca

但是插件库能正常访问,倘若网卡选择auto,则均无法访问,扫描日志如下报错:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions