mirror of
https://github.com/schollz/croc.git
synced 2025-10-11 13:21:00 +02:00
Turn off decryption
This commit is contained in:
parent
109fef84d0
commit
09bcda2705
1 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue