1
0
mirror of https://github.com/schollz/croc.git synced 2024-11-28 09:35:14 +03:00

Adding sleep time of 1 second if not waiting and code not present

This commit is contained in:
Brad Lunsford 2017-10-20 15:11:29 -07:00
parent eb3af56ccf
commit 798a0d2c52

View File

@ -210,6 +210,7 @@ func (c *Connection) runClient() error {
encryptedData, salt, iv, sendersAddress := m[0], m[1], m[2], m[3]
if sendersAddress == "0.0.0.0" {
notPresent = true
time.Sleep(1 * time.Second)
return
}
encryptedBytes, err := hex.DecodeString(encryptedData)