Update dependencies and fix some linter warnings
This commit is contained in:
@@ -124,7 +124,7 @@ func (s *HoneypotServer) connCallback(ctx sshlib.Context, conn net.Conn) net.Con
|
||||
|
||||
func handler(session sshlib.Session) {
|
||||
_, _ = io.WriteString(session, "[root@hostname ~]#")
|
||||
session.Exit(1)
|
||||
_ = session.Exit(1)
|
||||
}
|
||||
|
||||
func ipFromAddr(addr string) net.IP {
|
||||
|
Reference in New Issue
Block a user