Ti0oik
Results
1
issues of
Ti0oik
我直接用示例的代码,对单个端口,比如说22进行端口探测,探测不出来是否存活,但是用了top1000去探测就能探测出来22是存活的,大佬帮忙看看这是什么原因造成的,以下是我的代码: ``` import ( "log" "net" "sync" "testing" "time" "github.com/XinRoom/go-portScan/core/port" "github.com/XinRoom/go-portScan/core/port/syn" "github.com/XinRoom/iprange" "github.com/panjf2000/ants/v2" ) func TestMain(t *testing.T) { //single := make(chan struct{}) retChan := make(chan port.OpenIpPort, 65535) // go func()...