mirror of
https://github.com/shazow/ssh-chat.git
synced 2025-04-14 16:17:17 +03:00
More evil inputs.
This commit is contained in:
parent
d30d971ea2
commit
cecf00874f
@ -9,8 +9,6 @@ import (
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
"code.google.com/p/rog-go/new9p/client"
|
||||
|
||||
"golang.org/x/crypto/ssh"
|
||||
)
|
||||
|
||||
@ -242,7 +240,7 @@ func (s *Server) Start(laddr string) error {
|
||||
return
|
||||
}
|
||||
|
||||
version := client.Conn.ClientVersion()
|
||||
version := sshConn.ClientVersion()
|
||||
if len(version) > 100 {
|
||||
version = []byte("Evil Jerk with a superlong string")
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user