fscan icon indicating copy to clipboard operation
fscan copied to clipboard

fix Plugins/ssh.go

Open xxddpac opened this issue 1 year ago • 0 comments

修复项: ssh连接爆破时在某些场景会出现 dial hang状态,即使设置了timeout也不起作用,官方issue https://github.com/golang/go/issues/21941 通过上下文监控连接状态,防止死连接导致主程序收不到wg.done()一直阻塞

优化项: 优化ssh爆破并发速度 优化前测试 go run main.go -h 192.168.1.0/28 -m ssh ---- > 耗时4m 优化后测试 go run main.go -h 192.168.1.0/28 -m ssh ---- > 耗时18s

xxddpac avatar Sep 13 '22 06:09 xxddpac