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