1
0
mirror of https://github.com/schollz/croc.git synced 2024-12-27 15:55:41 +03:00
Easily and securely send things from one computer to another 🐊 📦
Go to file
2017-10-17 20:19:09 -06:00
vendor Vendoring 2017-10-17 18:58:16 -06:00
connect.go Send hash instead of code phrase Fixes #3 2017-10-17 20:19:09 -06:00
crypto_test.go Send hash instead of code phrase Fixes #3 2017-10-17 20:19:09 -06:00
crypto.go Send hash instead of code phrase Fixes #3 2017-10-17 20:19:09 -06:00
Gopkg.lock Vendoring 2017-10-17 18:58:16 -06:00
Gopkg.toml Vendoring 2017-10-17 18:58:16 -06:00
main.go Update flags 2017-10-17 19:22:51 -06:00
README.md Update README.md 2017-10-17 19:36:11 -06:00
relay.go Rewrite 2017-10-17 18:43:12 -06:00

croc

File transfer over parallel TCP with a rendezvous server.

This is more or less a Golang port of magic-wormhole except it probably isn't secure.

Install

go get github.com/schollz/croc

Basic usage

Send a file

On computer 1 do:

$ croc -send somefile
Your code phrase is now limbo-rocket-gibson
waiting for other to connect

Receive a file

Just type croc and you'll be prompted for the code phrase. Use the code phrase to get the file.

$ croc 
What is your code phrase? limbo-rocket-gibson
   0s [====================================================] 100%

Downloaded somefile!

Advanced usage

Make your own rendezvous server

On some server you have, your-server.com, just run

$ croc -relay

Now, when you use croc to send and receive you can add -server your-server.com to use your rendezvous server.