panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x30 pc=0x7f3e82]
goroutine 33974 [running]:
golang.org/x/crypto/ssh.(*Session).Close(0x0, 0x0, 0x0)
/Users/lan/go/pkg/mod/golang.org/x/[email protected]/ssh/session.go:156 +0x22
panic(0x8af120, 0xdb1690)
/usr/local/go/src/runtime/panic.go:967 +0x15d
golang.org/x/crypto/ssh.(*Session).Start(0x0, 0x9348b7, 0x9, 0x9de4c0, 0xc0fcedb9f0)
/Users/lan/go/pkg/mod/golang.org/x/[email protected]/ssh/session.go:279 +0x26
golang.org/x/crypto/ssh.(*Session).Run(0x0, 0x9348b7, 0x9, 0xc0fcedb9f0, 0xc085babd70)
/Users/lan/go/pkg/mod/golang.org/x/[email protected]/ssh/session.go:310 +0x3f
PortBrute/plugins.ScanSsh(0xc0004150c0, 0xc, 0x94f89c, 0x2, 0x932188, 0x0, 0x932188, 0x0, 0x0, 0x0, ...)
/Users/lan/tools/git_tools/awake1t/PortBrute/plugins/ssh.go:27 +0x2eb
PortBrute/brute.runBrute(0xc00005c300, 0xc017f346c0)
/Users/lan/tools/git_tools/awake1t/PortBrute/brute/brute.go:57 +0x3a7
created by PortBrute/brute.RunTask
/Users/lan/tools/git_tools/awake1t/PortBrute/brute/brute.go:79 +0xe0