mirror of https://github.com/schollz/croc.git
Turn off decryption
This commit is contained in:
parent
109fef84d0
commit
09bcda2705
|
@ -87,7 +87,9 @@ func runClient(connectionType string, codePhrase string) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
ioutil.WriteFile(fileName, decrypted, 0644)
|
ioutil.WriteFile(fileName, decrypted, 0644)
|
||||||
os.Remove(fileName + ".encrypted")
|
if !debugFlag {
|
||||||
|
os.Remove(fileName + ".encrypted")
|
||||||
|
}
|
||||||
log.Debugf("\n\n\ndownloaded hash: [%s]", HashBytes(decrypted))
|
log.Debugf("\n\n\ndownloaded hash: [%s]", HashBytes(decrypted))
|
||||||
log.Debugf("\n\n\nrelayed hash: [%s]", fileHash)
|
log.Debugf("\n\n\nrelayed hash: [%s]", fileHash)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue